From bab79fe04c30d4196b254af8b4854597084c72ae Mon Sep 17 00:00:00 2001 From: nicolas-p Date: Fri, 7 Aug 2015 17:29:10 +0200 Subject: [PATCH] ui.theme.light: using HEXCOLOR --- basis/ui/gadgets/theme/light/light.factor | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/basis/ui/gadgets/theme/light/light.factor b/basis/ui/gadgets/theme/light/light.factor index 537986f3c3..e747229e0e 100644 --- a/basis/ui/gadgets/theme/light/light.factor +++ b/basis/ui/gadgets/theme/light/light.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2015 Nicolas Pénet. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors colors colors.constants ui.pens.solid ; +USING: accessors colors colors.constants colors.hex ui.pens.solid ; IN: ui.gadgets.theme CONSTANT: toolbar-background COLOR: grey95 @@ -40,18 +40,13 @@ CONSTANT: popup-color COLOR: yellow2 CONSTANT: object-color COLOR: aquamarine2 CONSTANT: contents-color COLOR: orchid2 -CONSTANT: help-header-background -T{ rgba { red 0.9568 } { green 0.9450 } { blue 0.8509 } { alpha 1.0 } } inline +CONSTANT: help-header-background HEXCOLOR: F4EFD9 -CONSTANT: thread-status-stopped-background -T{ rgba { red 0.9569 } { green 0.8510 } { blue 0.8510 } { alpha 1.0 } } inline -CONSTANT: thread-status-suspended-background -T{ rgba { red 0.9569 } { green 0.9177 } { blue 0.8510 } { alpha 1.0 } } inline -CONSTANT: thread-status-running-background -T{ rgba { red 0.9294 } { green 0.9569 } { blue 0.8510 } { alpha 1.0 } } inline +CONSTANT: thread-status-stopped-background HEXCOLOR: F4D9D9 +CONSTANT: thread-status-suspended-background HEXCOLOR: F4EAD9 +CONSTANT: thread-status-running-background HEXCOLOR: EDF4D9 -CONSTANT: error-summary-background -T{ rgba { red 0.9569 } { green 0.9177 } { blue 0.8510 } { alpha 1.0 } } inline +CONSTANT: error-summary-background HEXCOLOR: F4EAD9 CONSTANT: content-background COLOR: white CONSTANT: text-color COLOR: black