Theming: add support for class specific palettes
WIP: theming