]> gitweb.factorcode.org Git - factor.git/commitdiff
Move vivid colour in Browser header
authornicolas-p <z.nicolas@gmail.com>
Tue, 21 Jul 2015 17:35:51 +0000 (19:35 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 16 Aug 2015 14:53:27 +0000 (07:53 -0700)
To go with the green header in the Walker.

basis/help/stylesheet/stylesheet.factor
basis/ui/tools/browser/browser.factor

index eb252bd1ce03a34fa6c43b0ba82dbfea8de3b22d..0393b3cf112cf43ced443f486fc39401b31333d8 100644 (file)
@@ -35,7 +35,6 @@ H{
     { font-style bold }
     { wrap-margin 500 }
     { foreground COLOR: gray20 }
-    { page-color COLOR: FactorLightTan }
     { inset { 5 5 } }
 } title-style set-global
 
index 72ddf3c12fecc72e51a0f4df705d5a0dd2541ea7..bcd787a6a8a5ce06f47209020c9b9e3460a87b4b 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2006, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays classes colors.constants combinators
+USING: accessors arrays classes colors colors.constants combinators
 combinators.short-circuit compiler.units debugger fry help
 help.apropos help.crossref help.home help.stylesheet help.topics
 kernel models sequences sets ui ui.commands ui.gadgets
@@ -37,7 +37,8 @@ M: browser-gadget set-history-value
 : <help-header> ( browser-gadget -- gadget )
     model>> [ '[ _ $title ] try ] <pane-control> ;
 
-CONSTANT: help-header-background COLOR: FactorLightTan
+CONSTANT: help-header-background
+T{ rgba { red 0.9568 } { green 0.9450 } { blue 0.8509 } { alpha 1.0 } } inline
 
 : add-help-header ( track -- track )
     dup <help-header> { 3 3 } <border>