CSS Media Queries
Michael Strauß
michaelstrau2 at gmail.com
Tue Dec 3 00:08:16 UTC 2024
> I wish there was a simpler way to introduce variables - I think the variables might be a better solution from the stylesheet maintainability point of view, and to help with supporting light/dark, compact/roomy variants and simple things like updating the base font size. Doing a different CSS parser is definitely a much larger project than we can afford, probably. On the other hand, if it enables programmatic creation of style sheets...
Custom variables would undoubtedly be a great feature. This is
orthogonal to media queries, though: at some point, even when using
custom variables, you have to ask "the medium" about things like the
color scheme or user preferences.
More information about the openjfx-dev
mailing list