]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/help/tips/tips.factor
Replaced hard-coded colors with constants
[factor.git] / basis / help / tips / tips.factor
index 29612941a8029517b6546f9caffbb102c05adec6..8fa876a96c5c1dfc3cbc0bfc569123d069b06732 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors arrays colors.constants definitions help.markup
-help.stylesheet io io.styles kernel literals namespaces parser random
-sequences ;
+help.stylesheet io io.styles kernel literals namespaces parser
+random sequences ui.gadgets.theme ;
 IN: help.tips
 
 SYMBOL: tips
@@ -30,7 +30,7 @@ SYNTAX: TIP:
 SYMBOL: tip-of-the-day-style
 
 H{
-    { page-color COLOR: lavender }
+    { page-color $ tip-background-color }
     { inset { 5 5 } }
     { wrap-margin $ wrap-margin-full }
 } tip-of-the-day-style set-global