-
-
Notifications
You must be signed in to change notification settings - Fork 650
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
Refactor css in shepherd-theme-arrows theme #52
Labels
Comments
+1 |
I've felt the same way for a lot of these |
+1 |
1 similar comment
+1 |
This was definitely an issue for me too. If no one's taken care of this already I'd be more than happy to tackle it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The theme
shepherd-theme-arrows
has a high level of specificity which makes it really difficult to override styles within another project. For example, if one wants to override theheader
in a shepherd step, they have to compete with this:Than means if I want to change the background color, I have to get more specific than that rule above. Then best way might be to add my own class when adding a step:
and then in my css do this:
There's no reason the initial rule declaration needs to have that high of a specificity. The same affect could be achieved with:
The text was updated successfully, but these errors were encountered: