Skip to content

Commit f67a1f1

Browse files
committed
docs(global.css): use base-slate for default dark/light
1 parent f8f4442 commit f67a1f1

File tree

2 files changed

+56
-56
lines changed

2 files changed

+56
-56
lines changed

apps/website/src/global.css

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,46 @@
1717

1818
.light {
1919
--background: 0 0% 100%;
20-
--foreground: 197 84% 0%;
21-
--muted: 187 0% 96%;
22-
--muted-foreground: 190 5% 33%;
20+
--foreground: 222.2 47.4% 11.2%;
21+
--muted: 210 40% 96.1%;
22+
--muted-foreground: 215.4 16.3% 46.9%;
2323
--popover: 0 0% 100%;
24-
--popover-foreground: 197 84% 0%;
25-
--accent: 187 0% 96%;
26-
--accent-foreground: 197 33% 0%;
24+
--popover-foreground: 222.2 47.4% 11.2%;
25+
--card: 0 0% 100%;
26+
--card-foreground: 222.2 47.4% 11.2%;
27+
--border: 214.3 31.8% 91.4%;
28+
--input: 214.3 31.8% 91.4%;
2729
--primary: 197 98% 52%;
2830
--primary-foreground: 187 0% 0%;
2931
--secondary: 266 96% 74%;
3032
--secondary-foreground: 287 0% 0%;
31-
--alert: 0 85% 56%;
32-
--alert-foreground: 0 0% 100%;
33-
--card: 0 0% 100%;
34-
--card-foreground: 197 84% 0%;
35-
--border: 214.3 31.8% 91.4%;
36-
--input: 214.3 31.8% 91.4%;
37-
--ring: 197 100% 43%;
33+
--accent: 210 40% 96.1%;
34+
--accent-foreground: 222.2 47.4% 11.2%;
35+
--alert: 0 84.2% 60.2%;
36+
--alert-foreground: 210 40% 98%;
37+
--ring: 222.2 47.4% 11.2%;
3838
}
3939

4040
.dark {
41-
--background: 222 47% 11%;
42-
--foreground: 263 40% 98%;
43-
--card: 222 47% 11%;
44-
--card-foreground: 210 40% 98%;
45-
--popover: 222 47% 11%;
41+
--background: 222.2 84% 4.9%;
42+
--foreground: 210 40% 98%;
43+
--muted: 217.2 32.6% 17.5%;
44+
--muted-foreground: 215 20.2% 65.1%;
45+
--popover: 222.2 84% 4.9%;
4646
--popover-foreground: 210 40% 98%;
47+
--card: 222.2 84% 4.9%;
48+
--card-foreground: 210 40% 98%;
49+
--border: 217.2 32.6% 17.5%;
50+
--input: 217.2 32.6% 17.5%;
4751
--primary: 197 98% 52%;
4852
--primary-foreground: 196 0% 0%;
4953
--secondary: 266 96% 74%;
5054
--secondary-foreground: 0 0% 0%;
51-
--muted: 222 22% 23%;
52-
--muted-foreground: 255 5% 80%;
53-
--accent: 222 22% 23%;
54-
--accent-foreground: 250 40% 99%;
55-
--alert: 0 64% 44%;
56-
--alert-foreground: 250 40% 98%;
57-
--border: 217.2 32.6% 17.5%;
58-
--input: 217.2 32.6% 17.5%;
59-
--ring: 270 50% 56%;
55+
--accent: 217.2 32.6% 17.5%;
56+
--accent-foreground: 210 40% 98%;
57+
--alert: 0 84.2% 60.2%;
58+
--alert-foreground: 210 40% 98%;
59+
--ring: 212.7 26.8% 83.9;
6060
}
6161

6262
/* CSS PARSER: START - DO NOT REMOVE */
@@ -1344,6 +1344,6 @@ body {
13441344
/* Not used yet - could be used for the colored text on the landing page when the make-it-yours color is too bright in light mode or too dim in dark mode */
13451345
@layer components {
13461346
.text-outlined {
1347-
@apply [text-shadow:-1px_0_#aaa,_0_1px_#aaa,_1px_0_#aaa,_0_-1px_#aaa] dark:[text-shadow:-1px_0_#777,_0_1px_#777,_1px_0_#777,_0_-1px_#777];
1347+
@apply [text-shadow:-1px_0_#aaa,_0_1px_#aaa,_1px_0_#aaa,_0_-1px_#aaa] dark:[text-shadow:-1px_0_#888,_0_1px_#888,_1px_0_#888,_0_-1px_#888];
13481348
}
13491349
}

packages/kit-styled/src/templates/global.css

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,46 @@
1717

1818
.light {
1919
--background: 0 0% 100%;
20-
--foreground: 197 84% 0%;
21-
--muted: 187 0% 96%;
22-
--muted-foreground: 190 5% 33%;
20+
--foreground: 222.2 47.4% 11.2%;
21+
--muted: 210 40% 96.1%;
22+
--muted-foreground: 215.4 16.3% 46.9%;
2323
--popover: 0 0% 100%;
24-
--popover-foreground: 197 84% 0%;
25-
--accent: 187 0% 96%;
26-
--accent-foreground: 197 33% 0%;
24+
--popover-foreground: 222.2 47.4% 11.2%;
25+
--card: 0 0% 100%;
26+
--card-foreground: 222.2 47.4% 11.2%;
27+
--border: 214.3 31.8% 91.4%;
28+
--input: 214.3 31.8% 91.4%;
2729
--primary: 197 98% 52%;
2830
--primary-foreground: 187 0% 0%;
2931
--secondary: 266 96% 74%;
3032
--secondary-foreground: 287 0% 0%;
31-
--alert: 0 85% 56%;
32-
--alert-foreground: 0 0% 100%;
33-
--card: 0 0% 100%;
34-
--card-foreground: 197 84% 0%;
35-
--border: 214.3 31.8% 91.4%;
36-
--input: 214.3 31.8% 91.4%;
37-
--ring: 197 100% 43%;
33+
--accent: 210 40% 96.1%;
34+
--accent-foreground: 222.2 47.4% 11.2%;
35+
--alert: 0 84.2% 60.2%;
36+
--alert-foreground: 210 40% 98%;
37+
--ring: 222.2 47.4% 11.2%;
3838
}
3939

4040
.dark {
41-
--background: 222 47% 11%;
42-
--foreground: 263 40% 98%;
43-
--card: 222 47% 11%;
44-
--card-foreground: 210 40% 98%;
45-
--popover: 222 47% 11%;
41+
--background: 222.2 84% 4.9%;
42+
--foreground: 210 40% 98%;
43+
--muted: 217.2 32.6% 17.5%;
44+
--muted-foreground: 215 20.2% 65.1%;
45+
--popover: 222.2 84% 4.9%;
4646
--popover-foreground: 210 40% 98%;
47+
--card: 222.2 84% 4.9%;
48+
--card-foreground: 210 40% 98%;
49+
--border: 217.2 32.6% 17.5%;
50+
--input: 217.2 32.6% 17.5%;
4751
--primary: 197 98% 52%;
4852
--primary-foreground: 196 0% 0%;
4953
--secondary: 266 96% 74%;
5054
--secondary-foreground: 0 0% 0%;
51-
--muted: 222 22% 23%;
52-
--muted-foreground: 255 5% 80%;
53-
--accent: 222 22% 23%;
54-
--accent-foreground: 250 40% 99%;
55-
--alert: 0 64% 44%;
56-
--alert-foreground: 250 40% 98%;
57-
--border: 217.2 32.6% 17.5%;
58-
--input: 217.2 32.6% 17.5%;
59-
--ring: 270 50% 56%;
55+
--accent: 217.2 32.6% 17.5%;
56+
--accent-foreground: 210 40% 98%;
57+
--alert: 0 84.2% 60.2%;
58+
--alert-foreground: 210 40% 98%;
59+
--ring: 212.7 26.8% 83.9;
6060
}
6161

6262
/* CSS PARSER: START - DO NOT REMOVE */
@@ -1344,6 +1344,6 @@ body {
13441344
/* Not used yet - could be used for the colored text on the landing page when the make-it-yours color is too bright in light mode or too dim in dark mode */
13451345
@layer components {
13461346
.text-outlined {
1347-
@apply [text-shadow:-1px_0_#aaa,_0_1px_#aaa,_1px_0_#aaa,_0_-1px_#aaa] dark:[text-shadow:-1px_0_#777,_0_1px_#777,_1px_0_#777,_0_-1px_#777];
1347+
@apply [text-shadow:-1px_0_#aaa,_0_1px_#aaa,_1px_0_#aaa,_0_-1px_#aaa] dark:[text-shadow:-1px_0_#888,_0_1px_#888,_1px_0_#888,_0_-1px_#888];
13481348
}
13491349
}

0 commit comments

Comments
 (0)