winjs/winstrap

Can I easily change the theme from 'alt' to 'dark' in one place

benlaan opened this issue · 1 comments

The default theme (when converting from vanilla bootstrap to winstrap) is 'alt', which is a bit too much for me. I'd like to use the 'blue' them, which you call dark..

Can I do this in one place, or do I need to change every bootstrap component's classes throughout?

@benlaan I'm not sure why you are getting the 'alt' theme as the default. The default theme should be the lighter theme. Other themes should only be applied when the theme- classes are added.

Unfortunately there is no one place where you can change the color palette for a specific theme. The quickest way to achieve what you want is probably to change the color variables in src/scss/win/_colors.scss but there is a risk that you will break other themes.