From a35924d1a881e53b3f0c4851e916298acca84239 Mon Sep 17 00:00:00 2001 From: nicolas-p Date: Tue, 21 Jul 2015 19:35:51 +0200 Subject: [PATCH] Move vivid colour in Browser header To go with the green header in the Walker. --- basis/help/stylesheet/stylesheet.factor | 1 - basis/ui/tools/browser/browser.factor | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/help/stylesheet/stylesheet.factor b/basis/help/stylesheet/stylesheet.factor index eb252bd1ce..0393b3cf11 100644 --- a/basis/help/stylesheet/stylesheet.factor +++ b/basis/help/stylesheet/stylesheet.factor @@ -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 diff --git a/basis/ui/tools/browser/browser.factor b/basis/ui/tools/browser/browser.factor index 72ddf3c12f..bcd787a6a8 100644 --- a/basis/ui/tools/browser/browser.factor +++ b/basis/ui/tools/browser/browser.factor @@ -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 : ( browser-gadget -- gadget ) model>> [ '[ _ $title ] try ] ; -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 { 3 3 }