Wednesday, November 6, 2024

Re: CSS Variables and GSS

Reviving an old thread ... 

I need to use CSS variables to override some styling in bootstrap in one of my screens. 
But it seems that the CSS variable support in closure stylesheets was never finished (and closure stylesheets seems dead)

Should we assume that CssResources and GSS are deprecated and stop using them? Many JS UI components start using CSS variables to allow for customisations.

What are my options? Go for something external to style my GWT application? But then I lose the benefits of the obfuscation and optimisations that are done by GWT.


On Monday, September 11, 2017 at 4:49:15 PM UTC+2 max.d...@corussoft.de wrote:
Thx for the reply. https://github.com/google/closure-stylesheets/pull/121/commits/7c99519b6726a2bcdb9458d4dc352e8722f50178 

It seems there are at least some contribution in this regard :)


Am Montag, 11. September 2017 15:29:19 UTC+2 schrieb Jens:
GWT itself uses a version of Google Closure Stylesheets library internally to support CSS 3 features. GWT updates this library from time to time to support more CSS 3 features and it looks like CSS variables are not yet available in Google Closure Stylesheets: https://github.com/google/closure-stylesheets/pull/121

For now you have to stick with closure stylesheets variables: https://github.com/google/closure-stylesheets#variables

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/111978d4-5dc3-4966-adcf-e379bcba6b78n%40googlegroups.com.

No comments:

Post a Comment