Skip to content

Commit

Permalink
Add back white & black for Tailwind v4
Browse files Browse the repository at this point in the history
  • Loading branch information
vnphanquang committed Nov 25, 2024
1 parent b8ec165 commit 3e20f1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/targets/__snapshots__/tailwind-v4_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ snapshot[`Tailwind v4 palette theme override 1`] = `
@theme {
--color-*: initial;
--color-white: #fff;
--color-black: #000;
--color-red-100:oklch(0.966797 0.0171875 20);
--color-red-500:oklch(0.742188 0.151562 20);
Expand Down
3 changes: 3 additions & 0 deletions scripts/targets/tailwind-v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export const buildTailwindv4Palette: ExportTarget = async (
@theme {
--color-*: initial;
--color-white: #fff;
--color-black: #000;
${vars.join("\n ")}
}`;

Expand Down

0 comments on commit 3e20f1a

Please sign in to comment.