vue-cli-template
vue-cli-template copied to clipboard
Fix action bar color according to the theme selected.
Fixes #98.
Even if in the future you remove the nativescript-theme-core (replacing with ns-tailwind? ;) ), right now it is pretty confusing. I just lost an embarrassing amount of time because I picked the theme 'forest' and just assumed that the action bar color was coming from the theme...
Anyway, this is a small fix that I think improves the current template.
This is something I wanted to do, but haven't gotten around to doing yet. Ideally I'd like to make the theme optional, as for most projects I work on, I don't need it, and there is no easy way to opt-out currently.
What I'm thinking is adding conditions to only add the page and action-bar classes when there is a theme selected. Would you mind working on this, or should I give it a bit more thought and come up with something that should work better?
I can do that. But then we also need to add a none option to the theme, right?
I can do that. But then we also need to add a
noneoption to the theme, right?
Yes, that would be the plan to be able to select "none" and then no extra classes are added