Skip to content

Commit

Permalink
Revert group theme selector to theme- (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny committed Feb 12, 2024
1 parent 37fc0e7 commit b3d4071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brave-schools-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/tailwind-config": minor
---

Revert group theme selector to `theme-` selector.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const radixColorThemePlugin = plugin(
};

for (const [themeName, themeOptions] of Object.entries(options)) {
const themeSelector = themeName === "DEFAULT" ? "*" : `.group\\/${themeName}`;
const themeSelector = themeName === "DEFAULT" ? "*" : `.theme-${themeName}`;

rootVariables[themeSelector] = {
colors: {},
Expand Down

0 comments on commit b3d4071

Please sign in to comment.