@import in CSS
tbee at tbee.org
Wed Apr 8 21:12:36 UTC 2015
I'm currently porting and reworking some gauges from Enzo to JFXtras. One of things that gets reworked involves that all gauges will have custom colored segments. These segments can be preset using colorschemes (e.g. green to red in 10 steps), so the CSS for these colors are shared over all gauges. I tried using @import, but since it is required to be the first lines in a CSS, I'm suspecting that is the reason it is not working as expected.
Is there any intention to allow these imports to occur half way in a file? Placeholder-and-replace alike (#include), so to speak.
More information about the openjfx-dev