返回 presentation-ai
globals.css
根目录 / src / styles / globals.css
1 @import 'tailwindcss';
2
3 @config '../../tailwind.config.ts';
4
5 /*
6 The default border color has changed to `currentcolor` in Tailwind CSS v4,
7 so we've added these compatibility styles to make sure everything still
8 looks the same as it did with Tailwind CSS v3.
9
10 If we ever want to remove these styles, we need to add an explicit border
11 color utility to any element that depends on these defaults.
12 */
13 @layer base {
14 *,
15 ::after,
16 ::before,
17 ::backdrop,
18 ::file-selector-button {
19 border-color: var(--color-gray-200, currentcolor);
20 }
21 }
22
23 @utility text-balance {
24 text-wrap: balance;
25 }
26
27 @layer base {
28 :root {
29 --background: 0 0% 100%;
30 --foreground: 0 0% 3.9%;
31 --card: 0 0% 100%;
32 --card-foreground: 0 0% 3.9%;
33 --popover: 0 0% 100%;
34 --popover-foreground: 0 0% 3.9%;
35 --primary: 0 0% 9%;
36 --primary-foreground: 0 0% 98%;
37 --secondary: 0 0% 96.1%;
38 --secondary-foreground: 0 0% 9%;
39 --muted: 0 0% 96.1%;
40 --muted-foreground: 0 0% 45.1%;
41 --accent: 0 0% 96.1%;
42 --accent-foreground: 0 0% 9%;
43 --destructive: 0 84.2% 60.2%;
44 --destructive-foreground: 0 0% 98%;
45 --border: 0 0% 89.8%;
46 --input: 0 0% 89.8%;
47 --ring: 0 0% 3.9%;
48 --chart-1: 12 76% 61%;
49 --chart-2: 173 58% 39%;
50 --chart-3: 197 37% 24%;
51 --chart-4: 43 74% 66%;
52 --chart-5: 27 87% 67%;
53 --radius: 0.5rem;
54 --sidebar-background: 0 0% 98%;
55 --sidebar-foreground: 240 5.3% 26.1%;
56 --sidebar-primary: 240 5.9% 10%;
57 --sidebar-primary-foreground: 0 0% 98%;
58 --sidebar-accent: 240 4.8% 95.9%;
59 --sidebar-accent-foreground: 240 5.9% 10%;
60 --sidebar-border: 220 13% 91%;
61 --sidebar-ring: 217.2 91.2% 59.8%;
62 }
63 .dark {
64 --background: 0 0% 3.9%;
65 --foreground: 0 0% 98%;
66 --card: 0 0% 3.9%;
67 --card-foreground: 0 0% 98%;
68 --popover: 0 0% 3.9%;
69 --popover-foreground: 0 0% 98%;
70 --primary: 0 0% 98%;
71 --primary-foreground: 0 0% 9%;
72 --secondary: 0 0% 14.9%;
73 --secondary-foreground: 0 0% 98%;
74 --muted: 0 0% 14.9%;
75 --muted-foreground: 0 0% 63.9%;
76 --accent: 0 0% 14.9%;
77 --accent-foreground: 0 0% 98%;
78 --destructive: 0 62.8% 30.6%;
79 --destructive-foreground: 0 0% 98%;
80 --border: 0 0% 14.9%;
81 --input: 0 0% 14.9%;
82 --ring: 0 0% 83.1%;
83 --chart-1: 220 70% 50%;
84 --chart-2: 160 60% 45%;
85 --chart-3: 30 80% 55%;
86 --chart-4: 280 65% 60%;
87 --chart-5: 340 75% 55%;
88 --sidebar-background: 240 5.9% 10%;
89 --sidebar-foreground: 240 4.8% 95.9%;
90 --sidebar-primary: 224.3 76.3% 48%;
91 --sidebar-primary-foreground: 0 0% 100%;
92 --sidebar-accent: 240 3.7% 15.9%;
93 --sidebar-accent-foreground: 240 4.8% 95.9%;
94 --sidebar-border: 240 3.7% 15.9%;
95 --sidebar-ring: 217.2 91.2% 59.8%;
96 }
97 }
98
99 @layer base {
100 * {
101 @apply border-border;
102 }
103 body {
104 @apply bg-background text-foreground;
105 }
106 }
107
107 lines CSS