Skip to content

Commit

Permalink
fix: typo in theme template causing blank color values. (shadcn-ui#4315)
Browse files Browse the repository at this point in the history
Typo fix to get proper value when pressing copy code in theme customizer section.

Link for Issue: shadcn-ui#4314
  • Loading branch information
spike04 authored and tangtai committed Aug 29, 2024
1 parent 3c9277b commit 9a79873
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/www/components/theme-customizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,11 @@ const BASE_STYLES_WITH_VARIABLES = `
--input: <%- colors.light["input"] %>;
--ring: <%- colors.light["ring"] %>;
--radius: <%- radius %>rem;
--chart-1: <%- colors.light["chart1"] %>;
--chart-2: <%- colors.light["chart2"] %>;
--chart-3: <%- colors.light["chart3"] %>;
--chart-4: <%- colors.light["chart4"] %>;
--chart-5: <%- colors.light["chart5"] %>;
--chart-1: <%- colors.light["chart-1"] %>;
--chart-2: <%- colors.light["chart-2"] %>;
--chart-3: <%- colors.light["chart-3"] %>;
--chart-4: <%- colors.light["chart-4"] %>;
--chart-5: <%- colors.light["chart-5"] %>;
}
.dark {
Expand All @@ -663,11 +663,11 @@ const BASE_STYLES_WITH_VARIABLES = `
--border: <%- colors.dark["border"] %>;
--input: <%- colors.dark["input"] %>;
--ring: <%- colors.dark["ring"] %>;
--chart-1: <%- colors.dark["chart1"] %>;
--chart-2: <%- colors.dark["chart2"] %>;
--chart-3: <%- colors.dark["chart3"] %>;
--chart-4: <%- colors.dark["chart4"] %>;
--chart-5: <%- colors.dark["chart5"] %>;
--chart-1: <%- colors.dark["chart-1"] %>;
--chart-2: <%- colors.dark["chart-2"] %>;
--chart-3: <%- colors.dark["chart-3"] %>;
--chart-4: <%- colors.dark["chart-4"] %>;
--chart-5: <%- colors.dark["chart-5"] %>;
}
}
`

0 comments on commit 9a79873

Please sign in to comment.