|
|
|
|
|
|
| Re: theming full eclipse? [message #981631 is a reply to message #980301] |
Mon, 12 November 2012 10:19  |
Brian de Alwis Messages: 122 Registered: January 2012 |
Senior Member |

|
|
Tom,
CSS 2.1 has a way to expose system colours to CSS using specific named constants, and I'm sure I prototyped a way to expose those from the SWT OS-specified colours. But I can't find my patch nor the message about it, though it was pretty straightforward to implement.
Unfortunately CSS 2.1 system colours won't be adequate to implement your exampe code -- your example uses SWT.COLOR_TITLE_BACKGROUND to generate a gradient. CSS 2.1 doesn't have a concept of functions that operate on data, and even if we could find a CSS3 implementation, there don't seem to be any such functions there either. I'm loathe to extend our CSS engine to be non-compliant, especially since the underlying Batik implementation doesn't seem to be maintained.
Brian.
http://www.w3.org/TR/CSS21/ui.html#system-colors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278498
[Updated on: Mon, 12 November 2012 10:20] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01825 seconds