-
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
RC0 - Impossible to work semantically? #8533
Comments
This is also an issue for the built-in utility attributes ionic provides. For instance, placing I would expect that the utility attributes have priority over the other styles, right? |
hey folks! any update on this? has it been identified as a bug, or is there something we should do on our end to resolve this? Thanks! |
@dgroh @joshgarwood Hey, we're aware of the issue and we plan on fixing it. :) I opened a similar issue for this here: #8765 We're trying to find a good balance between providing styles for the components and making them easy to override. Card header is a special case because the current styling for it is too specific. In the case of toolbar, if you were to move the following css to the end of the css file:
It would take precedence over the Each component has to have a class specific to the mode because when they all get combined together all of the styles are in one file. The alternative would be wrapping each component in the mode's class and you would have two levels of specificity, e.g. |
The original issue will be fixed in the |
Short description of the problem:
We work very component based (reactive) and we try to follow css semantics - we almost don't use css classes. This has worked well untill the beta 11. Now, every componet has its own class, i.e ion-card with the classes
card-md
,card-ios
andcard-wp
.What behavior are you expecting?
I want to write the following css:
This does not work, as the
card-md
class overrides it.Steps to reproduce:
Which Ionic Version? 2 RC0
Run
ionic info
from terminal/cmd prompt: (paste output below)Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Node Version: v4.6.0
The text was updated successfully, but these errors were encountered: