From 7287d58e01d380c935f96d8e45ffa8a69bd8e575 Mon Sep 17 00:00:00 2001 From: tszhong0411 Date: Tue, 20 Aug 2024 23:13:06 +0800 Subject: [PATCH] feat(tailwind-config): update destructive color in dark mode --- .changeset/red-glasses-sort.md | 5 +++++ packages/tailwind-config/src/plugin.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/red-glasses-sort.md diff --git a/.changeset/red-glasses-sort.md b/.changeset/red-glasses-sort.md new file mode 100644 index 00000000..184060c1 --- /dev/null +++ b/.changeset/red-glasses-sort.md @@ -0,0 +1,5 @@ +--- +'@tszhong0411/tailwind-config': patch +--- + +update destructive color in dark mode diff --git a/packages/tailwind-config/src/plugin.ts b/packages/tailwind-config/src/plugin.ts index e2b4258c..71cd05da 100644 --- a/packages/tailwind-config/src/plugin.ts +++ b/packages/tailwind-config/src/plugin.ts @@ -55,7 +55,7 @@ export const ui = plugin(({ addBase, addComponents }) => { '--accent': '0 0% 15%', '--accent-foreground': '0 0% 100%', - '--destructive': '0 62.8% 30.6%', + '--destructive': '6 84% 48%', '--destructive-foreground': '0 0% 98%', '--border': '0 0% 14%',