I've been tasked with putting a mechanism in place to change the css colours in a .Net site dynamically. The purpose is to ensure that when our internal application sites are built and deployed to our UAT servers that the UI of the site is identifiably different from the live versions without changing the code base.
One option is to go through each site and create a parallel UAT version of the CSS but I would like to have a handler or something in place to replace colour defintions in the CSS based on a key / value pair as our colours are pretty standard across the apps. Ideally it should simply intercept the css request, replace any standard colour code definitions with the required UAT colours and server the CSS out with the replacements. Does this sound like a realistic solution to the problem or can anyone suggest a better approach which doesn't involve managing multiple css definitions?