Skip to content

Commit

Permalink
fix: add secondary and destructive colors to tailwind plugin (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 14, 2024
1 parent 3e027b3 commit 7ec279f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/react/src/tailwindcss/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ const auiPlugin = plugin.withOptions<AssisstantTailwindPluginOptions>(
DEFAULT: `hsl(var(${prefix}primary))`,
foreground: `hsl(var(${prefix}primary-foreground))`,
},
// secondary: {
// DEFAULT: "hsl(var(--aui-secondary))",
// foreground: "hsl(var(--aui-secondary-foreground))",
// },
// destructive: {
// DEFAULT: "hsl(var(--aui-destructive))",
// foreground: "hsl(var(--aui-destructive-foreground))",
// },
secondary: {
DEFAULT: `hsl(var(${prefix}secondary))`,
foreground: `hsl(var(${prefix}secondary-foreground))`,
},
destructive: {
DEFAULT: `hsl(var(${prefix}destructive))`,
foreground: `hsl(var(${prefix}destructive-foreground))`,
},
muted: {
DEFAULT: `hsl(var(${prefix}muted))`,
foreground: `hsl(var(${prefix}muted-foreground))`,
Expand Down

0 comments on commit 7ec279f

Please sign in to comment.