-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Material You themes cannot be overridden #4219
Comments
peitschie
added a commit
to peitschie/framework7
that referenced
this issue
Sep 7, 2023
peitschie
added a commit
to peitschie/framework7
that referenced
this issue
Sep 7, 2023
nolimits4web
added a commit
that referenced
this issue
Sep 7, 2023
Thanks heaps @nolimits4web ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a need for a totally consistent color theme between iOS and Android. I can't achieve this via the Material You computed themes, so I need to manually set up the right variables myself.
However, variables configured by the Material You theme cannot be overridden due to the color-related style sheet being the last stylesheet in the document.
To Reproduce
Steps to reproduce the behavior:
--f7-theme-color
in CSS--f7-theme-color
is overridden by the computed values from https://framework7.io/docs/app#method-app.setColorTheme(color)Expected behavior
I should be able to set theme-related variables in my own CSS.
Actual Behavior
Theme-related variables are always replaced by the computed values from Framework7.
Screenshots
The button here should be
#222222
. However, you can see it's getting replaced by the computedmd
values from the theme.The text was updated successfully, but these errors were encountered: