We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using theme css files in postcss with autoprefixer enabled, like following:
body:not(.dark) { @nested-import "../../submodules/prism-themes/themes/prism-one-light.css"; } body.dark { @nested-import "../../submodules/prism-themes/themes/prism-one-dark.css"; }
It produces duplicate selector like following:
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"] ::-moz-selection { background: #e5e5e6; color: inherit; } code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"] ::-moz-selection { background: #e5e5e6; color: inherit; } code[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"] ::selection { background: #e5e5e6; color: inherit; }
Edit file: remove prefixed selectors manually
themes/prism-one-dark-unprefixed.css
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
I'm using theme css files in postcss with autoprefixer enabled, like following:
It produces duplicate selector like following:
Current workaround
Edit file: remove prefixed selectors manually
Possible solutions?
themes/prism-one-dark-unprefixed.css
)The text was updated successfully, but these errors were encountered: