You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am rendering components in .vp-doc and my component's h2 gets style of VitePress which I don't want.
Describe the solution you'd like
Add class not-vp-doc to omit applying styles
Describe alternatives you've considered
none
Additional context
I checked the source and found that all styles are written in CSS and it isn't quick to apply the :not() selector because there's list of vp-doc class usage and I might break something in hurry.
I am in hurry hence creating this issue instead of PR.
Will the team going to use SCSS in favor or refactor?
Is your feature request related to a problem? Please describe.
I am rendering components in
.vp-doc
and my component's h2 gets style of VitePress which I don't want.Describe the solution you'd like
Add class
not-vp-doc
to omit applying stylesDescribe alternatives you've considered
none
Additional context
I checked the source and found that all styles are written in CSS and it isn't quick to apply the
:not()
selector because there's list ofvp-doc
class usage and I might break something in hurry.I am in hurry hence creating this issue instead of PR.
Will the team going to use SCSS in favor or refactor?
Validations
The text was updated successfully, but these errors were encountered: