Nice start there :) Here's some feedback: I was expecting generic styling possibilities by adding classes in the DOM that can be manipulated by using plain CSS. Second I would try to build a functionality where Webkit-filters do the work for you instead of having to style everything yourself in JS. (Take a look at a prototype i build a while back ago and try the filter in the topright corner: http://pixely.nl/klant/pixely/website_prototype6/ - I only wrote CSS for default black/white then I have classes that switch per hour that set colors and there is an diapositive filter that i added through css.)
So you'd rather have the ability to add classes and then have the CSS defined in a separate CSS file? I can see that being a viable option. I was also thinking about trying to make it possible to just specify a specific .css file to be loaded at night.
Cool prototype! I am not sure how it can be done with Webkit-filters? Most of the time, simply inverting the colours won't be enough or won't provide a low contrast enough version.
Edit: Thanks for the feedback :-) This is exactly the kind of discussion I'd love to have. Everything to improve this functionality is a step in the right direction.
Nice start there :) Here's some feedback: I was expecting generic styling possibilities by adding classes in the DOM that can be manipulated by using plain CSS. Second I would try to build a functionality where Webkit-filters do the work for you instead of having to style everything yourself in JS. (Take a look at a prototype i build a while back ago and try the filter in the topright corner: http://pixely.nl/klant/pixely/website_prototype6/ - I only wrote CSS for default black/white then I have classes that switch per hour that set colors and there is an diapositive filter that i added through css.)
So you'd rather have the ability to add classes and then have the CSS defined in a separate CSS file? I can see that being a viable option. I was also thinking about trying to make it possible to just specify a specific .css file to be loaded at night.
Cool prototype! I am not sure how it can be done with Webkit-filters? Most of the time, simply inverting the colours won't be enough or won't provide a low contrast enough version.
Edit: Thanks for the feedback :-) This is exactly the kind of discussion I'd love to have. Everything to improve this functionality is a step in the right direction.