Replies: 1 comment 6 replies
-
+1 for using an alternative style. I guess the Some components have stable class names (https://docusaurus.io/docs/next/styling-layout#theme-class-names) but |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, it seems very out-of-place for this component to be using the alert styles (ie.
alert alert--info
) simply because the semantics of the native element don't suggest such attention. Practically, I do not want details to look like my admonitions. Can't imagine I'm the only one.Furthermore, I'm having a lot of difficulty styling
@theme
components that use*.module.css
stylesheets. Without swizzing, I have restored to selecting the component withdetails[class|='details_']
just to gain specificity. Is there a better way?Beta Was this translation helpful? Give feedback.
All reactions