-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use the theme-core css #122
Comments
Run this: 'tns --version' |
I restart from scratch
I create a blank project
First execution, without any modification, works and show me this Next, to try a different theme, I do these changes:
Then I tried to remove the css explicit declaration from the component and the re-run
The app runs, but the purple theme is not applied What am I doing wrong? |
Hey @realtebo After some research I found out that the default hello-world app is a bit misleading when applying a color theme because it is not generating many elements apart from the button. app.component.html
and then with the purple theme in your app.css
|
@realtebo see the updated info above ^^^ |
Yes, I can confirm that is working adding explicit action bar and removing the explicit inclusion of app.css, thanks I was expecting that button would be purple in the purple theme, lol. Actually, I'm playing (succesfully) with SASS, so I'll fix every colors. |
You can also refer to this image for how each colored theme will look (actionbar + button): If you have a subscription to egghead.io, this SASS video specifically details working with the core theme: |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I just created a fresh new app, is ALL unchanged from the template
I added to app.component.ts @component this
And now I cannot run the app
My app.css file is the default:
And, of course, I've already executed
What's the right way to use provided css files?
I don't see any differences from what stated here: http://docs.nativescript.org/ui/theme
The text was updated successfully, but these errors were encountered: