Hello,
Is there any method to pass variables to a css file? Requirements::javascriptTemplate makes it for javascript files. In the API there is nothing like Requirements::CSSTemplate.
My aim is to extend the siteconfig with some basic fields like Color1, Color2, Color3 and using variables in the css file like background:color:$SiteConfig.Color1. So that I can build a basic theme editor in the backend and let users change basic styling without touching css files.
Is there anybody who succeeded this?
Thank you for any feedback, help, idea..