Inspired by Soma's Colorpicker module I'm trying to implement some custom styles for links, backgrounds etc.
Martijn said it was possible to add a php file with css in it and echo out the variables in that.
I've tried but can't seem to get it going. I've added a custom_styles.php file outside of templates because I believe you cannot have PHP scripts running in there and I've added
<?php header("Content-type: text/css"); ?> to the top of the file as advised by Martijn but none of the variables are getting parsed.
Has anyone got anything similar working.
Currently I'm using Diogo's suggestion of inline styles in the head tags but it just feels a bit wrong (but it is working)