quentier
quentier copied to clipboard
Theme engine: helper class to simplify dealing with the runtime style of the application/widgets
Important aspect: need to think of something to prevent the poor co-existence of certain colors when certain UI themes are used. It seems there's a need for a helper class which could somehow programmatically measure the "visual compatibility" of a pair of given colors and suggest a reasonable replacement for one of them if the visual compatibility is poor.
http://stackoverflow.com/questions/301869/how-to-find-good-looking-font-color-if-background-color-is-known - here's the link one can probably get started with for picking a compatible font color for a given background one.