-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
enhancement: stop overriding ion-color variables #14808
Comments
So, you meant we should start using:
Note, most of the time we don't need CSS vars for text, we can just inherit these from light dom, we can just use color. |
Agreed that |
i think scoping CSS vars with the component name is a different topic thought, what's the problem with the current CSS var naming? |
Remaining components with these overrides:
|
removes use of `--ion-color-*` variables references ionic-team#14808 documents custom properties references ionic-team#14850 uses `—background` vars to prevent overriding the color css references ionic-team#14853
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
We should stop overriding the
ion-color-*
variables in our components such as:This caused conflicts with tabs and probably others. We should instead have some consistent naming that makes it easy for users to know what the property is affecting such as:
Up for discussion but we should get this done sooner rather than later to avoid another API change. cc @manucorporat @camwiegert
The text was updated successfully, but these errors were encountered: