From: Jon M. <jo...@te...> - 2006-03-24 16:11:00
|
Next installment.... Matthew Buckett wrote: >Should the the graphic colours not fallback to the standard foreground >and background colours? > >If someone wants to quickly customize the colours of the site they might >expect to be able to just change the foreground and background colours >and have everything update. If the graphics followed these colours then >this would be possible but at the moment they just continue to use light >and dark grey. > > That is a problem - if a box is left blank it inherits from the property of the same name in the closest anscestor resource. In many cases that won't matter too much but the specific example you give is a case that works badly. I can think of a better scheme but it would increase the complexity of the code even more. For example, for any particular foreground colour property which is set to null; if ( the main page foreground colour is also null ) inherit from ancestor resource else inherit from main page foreground colour. Similarly for the various background colours. Jon |