|
1 | | -@tailwind base; |
2 | | -@tailwind components; |
3 | | -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
| 2 | + |
| 3 | +@config '../../tailwind.config.js'; |
| 4 | +/* If you are using shadcn-docs-nuxt in a monorepo, change the amount of .. to match the node_modules directory */ |
| 5 | +@source '../../node_modules/shadcn-docs-nuxt'; |
| 6 | + |
| 7 | +@layer base { |
| 8 | + *, |
| 9 | + ::after, |
| 10 | + ::before, |
| 11 | + ::backdrop, |
| 12 | + ::file-selector-button { |
| 13 | + border-color: var(--color-gray-200, currentcolor); |
| 14 | + } |
| 15 | +} |
| 16 | + |
| 17 | +@utility step { |
| 18 | + counter-increment: step; |
| 19 | + |
| 20 | + &:before { |
| 21 | + @apply absolute w-9 h-9 bg-muted rounded-full font-mono font-medium text-center text-base inline-flex items-center justify-center -indent-px border-4 border-background; |
| 22 | + @apply -ml-[50px] -mt-1; |
| 23 | + content: counter(step); |
| 24 | + } |
| 25 | +} |
4 | 26 |
|
5 | 27 | @layer base { |
6 | 28 | :root { |
7 | 29 | --background: 0 0% 100%; |
8 | 30 | --foreground: 222.2 84% 4.9%; |
9 | | - |
| 31 | + |
10 | 32 | --card: 0 0% 100%; |
11 | 33 | --card-foreground: 222.2 84% 4.9%; |
12 | | - |
| 34 | + |
13 | 35 | --popover: 0 0% 100%; |
14 | 36 | --popover-foreground: 222.2 84% 4.9%; |
15 | | - |
| 37 | + |
16 | 38 | --primary: 221.2 83.2% 53.3%; |
17 | 39 | --primary-foreground: 210 40% 98%; |
18 | | - |
| 40 | + |
19 | 41 | --secondary: 210 40% 96.1%; |
20 | 42 | --secondary-foreground: 222.2 47.4% 11.2%; |
21 | | - |
| 43 | + |
22 | 44 | --muted: 210 40% 96.1%; |
23 | 45 | --muted-foreground: 215.4 16.3% 46.9%; |
24 | | - |
| 46 | + |
25 | 47 | --accent: 210 40% 96.1%; |
26 | 48 | --accent-foreground: 222.2 47.4% 11.2%; |
27 | | - |
| 49 | + |
28 | 50 | --destructive: 0 84.2% 60.2%; |
29 | 51 | --destructive-foreground: 210 40% 98%; |
30 | | - |
31 | | - --border:214.3 31.8% 91.4%; |
32 | | - --input:214.3 31.8% 91.4%; |
33 | | - --ring:221.2 83.2% 53.3%; |
| 52 | + |
| 53 | + --border: 214.3 31.8% 91.4%; |
| 54 | + --input: 214.3 31.8% 91.4%; |
| 55 | + --ring: 221.2 83.2% 53.3%; |
34 | 56 | --radius: 0.5rem; |
35 | 57 | } |
36 | | - |
| 58 | + |
37 | 59 | .dark { |
38 | | - --background:222.2 84% 4.9%; |
39 | | - --foreground:210 40% 98%; |
40 | | - |
41 | | - --card:222.2 84% 4.9%; |
42 | | - --card-foreground:210 40% 98%; |
43 | | - |
44 | | - --popover:222.2 84% 4.9%; |
45 | | - --popover-foreground:210 40% 98%; |
46 | | - |
47 | | - --primary:217.2 91.2% 59.8%; |
48 | | - --primary-foreground:222.2 47.4% 11.2%; |
49 | | - |
50 | | - --secondary:217.2 32.6% 17.5%; |
51 | | - --secondary-foreground:210 40% 98%; |
52 | | - |
53 | | - --muted:217.2 32.6% 17.5%; |
54 | | - --muted-foreground:215 20.2% 65.1%; |
55 | | - |
56 | | - --accent:217.2 32.6% 17.5%; |
57 | | - --accent-foreground:210 40% 98%; |
58 | | - |
59 | | - --destructive:0 62.8% 30.6%; |
60 | | - --destructive-foreground:210 40% 98%; |
61 | | - |
62 | | - --border:217.2 32.6% 17.5%; |
63 | | - --input:217.2 32.6% 17.5%; |
64 | | - --ring:224.3 76.3% 48%; |
65 | | - } |
66 | | -} |
| 60 | + --background: 222.2 84% 4.9%; |
| 61 | + --foreground: 210 40% 98%; |
67 | 62 |
|
68 | | -@layer utilities { |
69 | | - .step { |
70 | | - counter-increment: step; |
71 | | - } |
| 63 | + --card: 222.2 84% 4.9%; |
| 64 | + --card-foreground: 210 40% 98%; |
72 | 65 |
|
73 | | - .step:before { |
74 | | - @apply absolute w-9 h-9 bg-muted rounded-full font-mono font-medium text-center text-base inline-flex items-center justify-center -indent-px border-4 border-background; |
75 | | - @apply -ml-[50px] -mt-1; |
76 | | - content: counter(step); |
| 66 | + --popover: 222.2 84% 4.9%; |
| 67 | + --popover-foreground: 210 40% 98%; |
| 68 | + |
| 69 | + --primary: 217.2 91.2% 59.8%; |
| 70 | + --primary-foreground: 222.2 47.4% 11.2%; |
| 71 | + |
| 72 | + --secondary: 217.2 32.6% 17.5%; |
| 73 | + --secondary-foreground: 210 40% 98%; |
| 74 | + |
| 75 | + --muted: 217.2 32.6% 17.5%; |
| 76 | + --muted-foreground: 215 20.2% 65.1%; |
| 77 | + |
| 78 | + --accent: 217.2 32.6% 17.5%; |
| 79 | + --accent-foreground: 210 40% 98%; |
| 80 | + |
| 81 | + --destructive: 0 62.8% 30.6%; |
| 82 | + --destructive-foreground: 210 40% 98%; |
| 83 | + |
| 84 | + --border: 217.2 32.6% 17.5%; |
| 85 | + --input: 217.2 32.6% 17.5%; |
| 86 | + --ring: 224.3 76.3% 48%; |
77 | 87 | } |
78 | 88 | } |
79 | 89 |
|
80 | 90 | @layer base { |
81 | 91 | * { |
82 | | - @apply border-border; |
| 92 | + @apply border-border outline-ring/50; |
83 | 93 | } |
84 | 94 |
|
85 | 95 | body { |
|
0 commit comments