2013-02-28, 08:57:14
yea, I agree, SASS or LESS is exactly the way to go but I don't want to take on learning yet another language right now. This way will work for now.. without the extra extensions needed to make SASS work. For LESS I know there's this PHP compiler: http://leafo.net/lessphp/ and I think there's a PHP port for SASS too... but this str_replace way is the path of least resistance for me atm.