1- # root {
2- max-width : 1280px ;
3- margin : 0 auto;
4- padding : 2rem ;
5- text-align : center;
6- }
7-
8- .logo {
9- height : 6em ;
10- padding : 1.5em ;
11- will-change : filter;
12- transition : filter 300ms ;
13- }
14- .logo : hover {
15- filter : drop-shadow (0 0 2em # 646cffaa );
16- }
17- .logo .react : hover {
18- filter : drop-shadow (0 0 2em # 61dafbaa );
19- }
1+ @tailwind base;
2+ @tailwind components;
3+ @tailwind utilities;
204
21- @keyframes logo-spin {
22- from {
23- transform : rotate (0deg );
24- }
25- to {
26- transform : rotate (360deg );
5+ @layer base {
6+ : root {
7+ --background : 0 0% 100% ;
8+ --foreground : 240 10% 3.9% ;
9+ --card : 0 0% 100% ;
10+ --card-foreground : 240 10% 3.9% ;
11+ --popover : 0 0% 100% ;
12+ --popover-foreground : 240 10% 3.9% ;
13+ --primary : 240 5.9% 10% ;
14+ --primary-foreground : 0 0% 98% ;
15+ --secondary : 240 4.8% 95.9% ;
16+ --secondary-foreground : 240 5.9% 10% ;
17+ --muted : 240 4.8% 95.9% ;
18+ --muted-foreground : 240 3.8% 46.1% ;
19+ --accent : 240 4.8% 95.9% ;
20+ --accent-foreground : 240 5.9% 10% ;
21+ --destructive : 0 84.2% 60.2% ;
22+ --destructive-foreground : 0 0% 98% ;
23+ --border : 240 5.9% 90% ;
24+ --input : 240 5.9% 90% ;
25+ --ring : 240 10% 3.9% ;
26+ --radius : 0.5rem ;
27+ --chart-1 : 12 76% 61% ;
28+ --chart-2 : 173 58% 39% ;
29+ --chart-3 : 197 37% 24% ;
30+ --chart-4 : 43 74% 66% ;
31+ --chart-5 : 27 87% 67% ;
2732 }
28- }
2933
30- @media (prefers-reduced-motion : no-preference) {
31- a : nth-of-type (2 ) .logo {
32- animation : logo-spin infinite 20s linear;
34+ .dark {
35+ --background : 240 10% 3.9% ;
36+ --foreground : 0 0% 98% ;
37+ --card : 240 10% 3.9% ;
38+ --card-foreground : 0 0% 98% ;
39+ --popover : 240 10% 3.9% ;
40+ --popover-foreground : 0 0% 98% ;
41+ --primary : 0 0% 98% ;
42+ --primary-foreground : 240 5.9% 10% ;
43+ --secondary : 240 3.7% 15.9% ;
44+ --secondary-foreground : 0 0% 98% ;
45+ --muted : 240 3.7% 15.9% ;
46+ --muted-foreground : 240 5% 64.9% ;
47+ --accent : 240 3.7% 15.9% ;
48+ --accent-foreground : 0 0% 98% ;
49+ --destructive : 0 62.8% 30.6% ;
50+ --destructive-foreground : 0 0% 98% ;
51+ --border : 240 3.7% 15.9% ;
52+ --input : 240 3.7% 15.9% ;
53+ --ring : 240 4.9% 83.9% ;
54+ --chart-1 : 220 70% 50% ;
55+ --chart-2 : 160 60% 45% ;
56+ --chart-3 : 30 80% 55% ;
57+ --chart-4 : 280 65% 60% ;
58+ --chart-5 : 340 75% 55% ;
3359 }
3460}
3561
36- .card {
37- padding : 2em ;
38- }
39-
40- .read-the-docs {
41- color : # 888 ;
42- }
62+ @layer base {
63+ * {
64+ @apply border-border;
65+ }
66+ body {
67+ @apply bg-background text-foreground;
68+ }
69+ }
0 commit comments