|Re: theming full eclipse? [message #981631 is a reply to message #980301]
||Mon, 12 November 2012 15:19
| Brian de Alwis
Registered: January 2012
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.
Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
[Updated on: Mon, 12 November 2012 15:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01798 seconds