Skip to content

Commit

Permalink
improve default value for Tailwind Color Theme plugin (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored Feb 20, 2024
1 parent 2712dc5 commit 292aad6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-frogs-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/tailwind-config": minor
---

Improved default value for Tailwind Color Theme plugin.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ for (const themeColorName of themeColorNameList) {

export const radixColorThemePlugin = plugin(
({ addComponents, config, theme }) => {
const options: RadixColorThemePluginOptions = theme("themes", {});
const options: RadixColorThemePluginOptions = theme("themes", { DEFAULT: {} });
const rootVariables: Record<string, Variables> = {};
const lightVariables: Record<string, Variables> = {};
const darkVariables: Record<string, Variables> = {};
Expand Down

0 comments on commit 292aad6

Please sign in to comment.