Skip to content

Commit 57fdec1

Browse files
committed
fix(): Match popover and card to background.
1 parent cf8a55b commit 57fdec1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/tokens.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
:root {
22
color-scheme: light;
33
--background: 0 0% 100%;
4-
--foreground: 240 10% 3.9%;
4+
--foreground: var(--background);
55

6-
--card: 0 0% 100%;
7-
--card-foreground: 240 10% 3.9%;
6+
--card: var(--background);
7+
--card-foreground: var(--background);
88

9-
--popover: 0 0% 100%;
10-
--popover-foreground: 240 10% 3.9%;
9+
--popover: var(--background);
10+
--popover-foreground: var(--background);
1111

1212
--primary: 240 5.9% 10%;
1313
--primary-foreground: 0 0% 98%;
@@ -26,7 +26,7 @@
2626

2727
--border: 240 5.9% 88%;
2828
--input: 240 5.9% 88%;
29-
--ring: 240 10% 3.9%;
29+
--ring: var(--background);
3030

3131
--radius: 0.5rem;
3232

@@ -45,10 +45,10 @@
4545
--background: 240 10% 7.9%;
4646
--foreground: 0 0% 98%;
4747

48-
--card: 240 10% 3.9%;
48+
--card: var(--background);
4949
--card-foreground: 0 0% 98%;
5050

51-
--popover: 240 10% 3.9%;
51+
--popover: var(--background);
5252
--popover-foreground: 0 0% 98%;
5353

5454
--primary: 0 0% 98%;
@@ -64,7 +64,7 @@
6464
--accent-foreground: 0 0% 98%;
6565

6666
--destructive: 0 84% 60%;
67-
--destructive-foreground: 240 10% 3.9%;
67+
--destructive-foreground: var(--background);
6868

6969
--border: 240 3.7% 16.9%;
7070
--input: 240 3.7% 26.9%;

0 commit comments

Comments
 (0)