Skip to content

Commit 4f3c745

Browse files
authored
theme generator
docs: theme generator
2 parents f20ab98 + e58d481 commit 4f3c745

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/docs/src/components/themegenerator/Preview.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@
179179
const colorGroup3 = [
180180
{ name: "Info", class: "bg-info text-info-content", variable: "--color-info" },
181181
{ name: "Success", class: "bg-success text-success-content", variable: "--color-success" },
182-
{ name: "Warning", class: "bg-warning text-warning-content", variable: "--color-success" },
183-
{ name: "Error", class: "bg-error text-error-content", variable: "--color-success" },
182+
{ name: "Warning", class: "bg-warning text-warning-content", variable: "--color-warning" },
183+
{ name: "Error", class: "bg-error text-error-content", variable: "--color-error" },
184184
]
185185
</script>
186186

@@ -1676,7 +1676,7 @@
16761676
>
16771677
{color.name}
16781678
</div>
1679-
<div class="truncate font-mono text-[0.625rem] tabular-nums">
1679+
<div class="font-mono text-[0.625rem] tracking-widest tabular-nums">
16801680
{currentThemeStyle.currentThemeStyle[color.variable]}
16811681
</div>
16821682
</div>
@@ -1694,7 +1694,7 @@
16941694
>
16951695
{color.name}
16961696
</div>
1697-
<div class="truncate font-mono text-[0.625rem] tabular-nums">
1697+
<div class="font-mono text-[0.625rem] tracking-widest tabular-nums">
16981698
{currentThemeStyle.currentThemeStyle[color.variable]}
16991699
</div>
17001700
</div>

0 commit comments

Comments
 (0)