From 14a91df468fa5591b2c10263b9c34c1f30b02672 Mon Sep 17 00:00:00 2001 From: tszhong0411 Date: Sun, 1 Sep 2024 07:17:22 +0800 Subject: [PATCH] feat(tailwind-config): change dark background color to `0 0% 2%` --- .changeset/odd-crabs-cross.md | 5 +++++ packages/tailwind-config/src/plugin.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/odd-crabs-cross.md diff --git a/.changeset/odd-crabs-cross.md b/.changeset/odd-crabs-cross.md new file mode 100644 index 00000000..75196bd8 --- /dev/null +++ b/.changeset/odd-crabs-cross.md @@ -0,0 +1,5 @@ +--- +'@tszhong0411/tailwind-config': patch +--- + +change dark background color from `0 0% 0%` to `0 0% 2%`. diff --git a/packages/tailwind-config/src/plugin.ts b/packages/tailwind-config/src/plugin.ts index 5c02c95d..bc242184 100644 --- a/packages/tailwind-config/src/plugin.ts +++ b/packages/tailwind-config/src/plugin.ts @@ -35,7 +35,7 @@ export const ui = plugin(({ addBase }) => { '--radius': '0.5rem' }, '.dark': { - '--background': '0 0% 0%', + '--background': '0 0% 2%', '--foreground': '0 0% 100%', '--card': '0 0% 4%',