I want to pass some variables to my css. In my research I come to the same solution in different sources. For example [here on the Joomla forum][1]. Basicly they explain how to use a php file as a stylesheet and incluse the php it like that: <?php $document->addStyleSheet(.../my-custom-file.css.php'); ?> I wonder if this is good practice. Should I do it like that or is there a better way provided by Joomla? Would this be able to cache? Would it be able to be combined and compressed by some other plugings for performance? Any insights are most appreciated. Thanks! [1]: https://forum.joomla.org/viewtopic.php?t=929370