Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Better OS-Themes

Hi,

Bogdan fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=402530 so
people have access to native OS-Color constants.

Still I think this is not good enough as a replacement for the Themes
stuff in 3.x because there one could do calculations based on those colors.

I hacked such custom colors in 4.2 in
https://github.com/tomsontom/e4-e3theme/tree/master/at.bestsolution.e4.theme.css
but I think this should be generalized.

I don't have the time to do this but I think we should:
a) provide a possibility to registering custom colors
b) provide access to functions to CSS to derive colors from a base one
   - as an inspiration take a look at the 2 colors JavaFX is using -
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#typecolor
(search for derive/ladder)

Tom

-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834


Back to the top