We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ef735 commit aa12facCopy full SHA for aa12fac
src/index.js
@@ -129,7 +129,7 @@ const makeRuleForTheme = (className) => {
129
[style, value, theme] = className.split(':');
130
if (theme == 'dark' || theme == 'light') {
131
let rule = '[theme="' + theme + '"] .' + style + '\\:' + value + '\\:' + theme + ' {' + style + ':' + value + ';}';
132
- let reverseRule = ':not([theme="' + themes[1 - themes.indexOf(theme)] + '"] .' + style + '\\:' + value + '\\:' + theme + ' {' + style + ':' + value + ';}';
+ let reverseRule = ':not([theme="' + themes[1 - themes.indexOf(theme)] + '"]) .' + style + '\\:' + value + '\\:' + theme + ' {' + style + ':' + value + ';}';
133
tempStyleList.push(rule);
134
themeCSS[theme].push(reverseRule);
135
return rule;
0 commit comments