Skip to content

Commit 26ec83a

Browse files
committed
chore: update styled kit global.css template
1 parent ed17f17 commit 26ec83a

File tree

1 file changed

+46
-56
lines changed

1 file changed

+46
-56
lines changed

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

Lines changed: 46 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -191,27 +191,27 @@
191191
--card-foreground: 222.2 47.4% 11.2%;
192192
--border: 214.3 31.8% 91.4%;
193193
--input: 214.3 31.8% 91.4%;
194-
--secondary: 212.7 26.8% 83.9%;
195-
--secondary-foreground: 222.2 47.4% 11.2%;
194+
--secondary: 222.2 47.4% 11.2%;
195+
--secondary-foreground: 0 0% 100%;
196196
--accent: 210 40% 96.1%;
197197
--accent-foreground: 222.2 47.4% 11.2%;
198198
--alert: 0 84.2% 60.2%;
199199
--alert-foreground: 210 40% 98%;
200200
--ring: 222.2 47.4% 11.2%;
201201
}
202202
.dark.base-slate {
203-
--background: 222.2 47.4% 11.2%;
203+
--background: 222.2 84% 4.9%;
204204
--foreground: 210 40% 98%;
205205
--muted: 217.2 32.6% 17.5%;
206206
--muted-foreground: 215 20.2% 65.1%;
207-
--popover: 222.2 47.4% 11.2%;
207+
--popover: 222.2 84% 4.9%;
208208
--popover-foreground: 210 40% 98%;
209-
--card: 222.2 47.4% 11.2%;
209+
--card: 222.2 84% 4.9%;
210210
--card-foreground: 210 40% 98%;
211211
--border: 217.2 32.6% 17.5%;
212212
--input: 217.2 32.6% 17.5%;
213-
--secondary: 215.3 25% 26.7%;
214-
--secondary-foreground: 210 40% 98%;
213+
--secondary: 210 40% 96.1%;
214+
--secondary-foreground: 0 0% 0%;
215215
--accent: 217.2 32.6% 17.5%;
216216
--accent-foreground: 210 40% 98%;
217217
--alert: 0 84.2% 60.2%;
@@ -230,27 +230,27 @@
230230
--card-foreground: 220.9 39.3% 11%;
231231
--border: 220 13% 91%;
232232
--input: 220 13% 91%;
233-
--secondary: 216 12.2% 83.9%;
234-
--secondary-foreground: 220.9 39.3% 11%;
233+
--secondary: 220.9 39.3% 11%;
234+
--secondary-foreground: 0 0% 100%;
235235
--accent: 220 14.3% 95.9%;
236236
--accent-foreground: 220.9 39.3% 11%;
237237
--alert: 0 84.2% 60.2%;
238238
--alert-foreground: 210 20% 98%;
239239
--ring: 220.9 39.3% 11%;
240240
}
241241
.dark.base-gray {
242-
--background: 220.9 39.3% 11%;
242+
--background: 224 71.4% 4.1%;
243243
--foreground: 210 20% 98%;
244244
--muted: 215 27.9% 16.9%;
245245
--muted-foreground: 217.9 10.6% 64.9%;
246-
--popover: 220.9 39.3% 11%;
246+
--popover: 224 71.4% 4.1%;
247247
--popover-foreground: 210 20% 98%;
248-
--card: 220.9 39.3% 11%;
248+
--card: 224 71.4% 4.1%;
249249
--card-foreground: 210 20% 98%;
250250
--border: 215 27.9% 16.9%;
251251
--input: 215 27.9% 16.9%;
252-
--secondary: 216.9 19.1% 26.7%;
253-
--secondary-foreground: 210 20% 98%;
252+
--secondary: 220 14.3% 95.9%;
253+
--secondary-foreground: 0 0% 0%;
254254
--accent: 215 27.9% 16.9%;
255255
--accent-foreground: 210 20% 98%;
256256
--alert: 0 84.2% 60.2%;
@@ -269,27 +269,27 @@
269269
--card-foreground: 240 5.9% 10%;
270270
--border: 240 5.9% 90%;
271271
--input: 240 5.9% 90%;
272-
--secondary: 240 4.9% 83.9%;
273-
--secondary-foreground: 240 5.9% 10%;
272+
--secondary: 240 5.9% 10%;
273+
--secondary-foreground: 0 0% 100%;
274274
--accent: 240 4.8% 95.9%;
275275
--accent-foreground: 240 5.9% 10%;
276276
--alert: 0 84.2% 60.2%;
277277
--alert-foreground: 0 0% 98%;
278278
--ring: 240 5.9% 10%;
279279
}
280280
.dark.base-zinc {
281-
--background: 240 5.9% 10%;
281+
--background: 240 10% 3.9%;
282282
--foreground: 0 0% 98%;
283283
--muted: 240 3.7% 15.9%;
284284
--muted-foreground: 240 5% 64.9%;
285-
--popover: 240 5.9% 10%;
285+
--popover: 240 10% 3.9%;
286286
--popover-foreground: 0 0% 98%;
287-
--card: 240 5.9% 10%;
287+
--card: 240 10% 3.9%;
288288
--card-foreground: 0 0% 98%;
289289
--border: 240 3.7% 15.9%;
290290
--input: 240 3.7% 15.9%;
291-
--secondary: 240 5.3% 26.1%;
292-
--secondary-foreground: 0 0% 98%;
291+
--secondary: 240 4.8% 95.9%;
292+
--secondary-foreground: 0 0% 0%;
293293
--accent: 240 3.7% 15.9%;
294294
--accent-foreground: 0 0% 98%;
295295
--alert: 0 84.2% 60.2%;
@@ -308,27 +308,27 @@
308308
--card-foreground: 0 0% 9%;
309309
--border: 0 0% 89.8%;
310310
--input: 0 0% 89.8%;
311-
--secondary: 0 0% 83.1%;
312-
--secondary-foreground: 0 0% 9%;
311+
--secondary: 0 0% 9%;
312+
--secondary-foreground: 0 0% 100%;
313313
--accent: 0 0% 96.1%;
314314
--accent-foreground: 0 0% 9%;
315315
--alert: 0 84.2% 60.2%;
316316
--alert-foreground: 0 0% 98%;
317317
--ring: 0 0% 9%;
318318
}
319319
.dark.base-neutral {
320-
--background: 0 0% 9%;
320+
--background: 0 0% 3.9%;
321321
--foreground: 0 0% 98%;
322322
--muted: 0 0% 14.9%;
323323
--muted-foreground: 0 0% 63.9%;
324-
--popover: 0 0% 9%;
324+
--popover: 0 0% 3.9%;
325325
--popover-foreground: 0 0% 98%;
326-
--card: 0 0% 9%;
326+
--card: 0 0% 3.9%;
327327
--card-foreground: 0 0% 98%;
328328
--border: 0 0% 14.9%;
329329
--input: 0 0% 14.9%;
330-
--secondary: 0 0% 25.1%;
331-
--secondary-foreground: 0 0% 98%;
330+
--secondary: 0 0% 96.1%;
331+
--secondary-foreground: 0 0% 0%;
332332
--accent: 0 0% 14.9%;
333333
--accent-foreground: 0 0% 98%;
334334
--alert: 0 84.2% 60.2%;
@@ -347,41 +347,39 @@
347347
--card-foreground: 24 9.8% 10%;
348348
--border: 20 5.9% 90%;
349349
--input: 20 5.9% 90%;
350-
--secondary: 24 5.7% 82.9%;
351-
--secondary-foreground: 24 9.8% 10%;
350+
--secondary: 24 9.8% 10%;
351+
--secondary-foreground: 0 0% 100%;
352352
--accent: 60 4.8% 95.9%;
353353
--accent-foreground: 24 9.8% 10%;
354354
--alert: 0 84.2% 60.2%;
355355
--alert-foreground: 60 9.1% 97.8%;
356356
--ring: 24 9.8% 10%;
357357
}
358358
.dark.base-stone {
359-
--background: 24 9.8% 10%;
359+
--background: 20 14.3% 4.1%;
360360
--foreground: 60 9.1% 97.8%;
361361
--muted: 12 6.5% 15.1%;
362362
--muted-foreground: 24 5.4% 63.9%;
363-
--popover: 24 9.8% 10%;
363+
--popover: 20 14.3% 4.1%;
364364
--popover-foreground: 60 9.1% 97.8%;
365-
--card: 24 9.8% 10%;
365+
--card: 20 14.3% 4.1%;
366366
--card-foreground: 60 9.1% 97.8%;
367367
--border: 12 6.5% 15.1%;
368368
--input: 12 6.5% 15.1%;
369-
--secondary: 30 6.3% 25.1%;
370-
--secondary-foreground: 60 9.1% 97.8%;
369+
--secondary: 60 4.8% 95.9%;
370+
--secondary-foreground: 0 0% 0%;
371371
--accent: 12 6.5% 15.1%;
372372
--accent-foreground: 60 9.1% 97.8%;
373373
--alert: 0 84.2% 60.2%;
374374
--alert-foreground: 0 0% 98%;
375375
--ring: 24 5.7% 82.9%;
376376
}
377377

378-
.primary-slate-100,
379-
.dark.primary-slate-900 {
378+
.primary-slate-100 {
380379
--primary: 210 40% 96.1%;
381380
--primary-foreground: 0 0% 0%;
382381
}
383-
.primary-slate-200,
384-
.dark.primary-slate-800 {
382+
.primary-slate-200 {
385383
--primary: 214.3 31.8% 91.4%;
386384
--primary-foreground: 0 0% 0%;
387385
}
@@ -414,13 +412,11 @@
414412
--primary-foreground: 0 0% 100%;
415413
}
416414

417-
.primary-gray-100,
418-
.dark.primary-gray-900 {
415+
.primary-gray-100 {
419416
--primary: 220 14.3% 95.9%;
420417
--primary-foreground: 0 0% 0%;
421418
}
422-
.primary-gray-200,
423-
.dark.primary-gray-800 {
419+
.primary-gray-200 {
424420
--primary: 220 13% 91%;
425421
--primary-foreground: 0 0% 0%;
426422
}
@@ -453,13 +449,11 @@
453449
--primary-foreground: 0 0% 100%;
454450
}
455451

456-
.primary-zinc-100,
457-
.dark.primary-zinc-900 {
452+
.primary-zinc-100 {
458453
--primary: 240 4.8% 95.9%;
459454
--primary-foreground: 0 0% 0%;
460455
}
461-
.primary-zinc-200,
462-
.dark.primary-zinc-800 {
456+
.primary-zinc-200 {
463457
--primary: 240 5.9% 90%;
464458
--primary-foreground: 0 0% 0%;
465459
}
@@ -492,13 +486,11 @@
492486
--primary-foreground: 0 0% 100%;
493487
}
494488

495-
.primary-neutral-100,
496-
.dark.primary-neutral-900 {
489+
.primary-neutral-100 {
497490
--primary: 0 0% 96.1%;
498491
--primary-foreground: 0 0% 0%;
499492
}
500-
.primary-neutral-200,
501-
.dark.primary-neutral-800 {
493+
.primary-neutral-200 {
502494
--primary: 0 0% 89.8%;
503495
--primary-foreground: 0 0% 0%;
504496
}
@@ -531,13 +523,11 @@
531523
--primary-foreground: 0 0% 100%;
532524
}
533525

534-
.primary-stone-100,
535-
.dark.primary-stone-900 {
526+
.primary-stone-100 {
536527
--primary: 60 4.8% 95.9%;
537528
--primary-foreground: 0 0% 0%;
538529
}
539-
.primary-stone-200,
540-
.dark.primary-stone-800 {
530+
.primary-stone-200 {
541531
--primary: 20 5.9% 90%;
542532
--primary-foreground: 0 0% 0%;
543533
}
@@ -1336,6 +1326,6 @@ body {
13361326
/* 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 */
13371327
@layer components {
13381328
.text-outlined {
1339-
@apply [text-shadow:-1px_0_black,_0_1px_black,_1px_0_black,_0_-1px_black] dark:[text-shadow:-1px_0_white,_0_1px_white,_1px_0_white,_0_-1px_white];
1329+
@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];
13401330
}
13411331
}

0 commit comments

Comments
 (0)