Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Fix action bar color according to the theme selected. #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tralves
Copy link
Contributor

@tralves tralves commented Oct 11, 2018

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.

@rigor789
Copy link
Member

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?

@tralves
Copy link
Contributor Author

tralves commented Oct 12, 2018

I can do that. But then we also need to add a none option to the theme, right?

@rigor789
Copy link
Member

I can do that. But then we also need to add a none option to the theme, right?

Yes, that would be the plan to be able to select "none" and then no extra classes are added

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Color Scheme : StatusBar and ActionBar color
2 participants