WIP: CSS Variables Output in Multiple Stylesheets

I’m on the 2.4 RC release and I use the file CSS loading method. Three stylesheets get output…

  • style-manager.min.css
  • global-variables.min.css
  • color-palettes.min.css

All of the variables in color-palettes.min.css appears to already be in style-manager.min.css and a lot of the variables in global-variables.min.css appear to be as well. Seems like this could be optimized a bit?

Hey @thekendog,

you are right, there is some space for improvement here. :slight_smile: I’ve recorded it inside our task tracker.

Thank you,
Matej

An update to this which is related. When I add a global class to an element, the class styling gets output twice. Once in style-manager.min.css and also once in the bricks-frontend-inline-inline-css output.