I quickly prototyped up some code to map the CSS 2.1 system colour markers to
SWT OS styles
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373015
e.g., "HighlightText". Although these colours have been deprecated in CSS 3,
they would be useful for our styling.
Brian.
On 18-Mar-2013, at 4:31 AM, Tom Schindl wrote:
> 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
> _______________________________________________
> e4-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev