|
1 | | -@tailwind base; |
2 | | -@tailwind components; |
3 | | -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
| 2 | + |
| 3 | +@config "../../tailwind.config.ts"; |
| 4 | + |
| 5 | +@custom-variant dark (&:where(.dark, .dark *)); |
| 6 | + |
| 7 | +/* |
| 8 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, |
| 9 | + so we've added these compatibility styles to make sure everything still |
| 10 | + looks the same as it did with Tailwind CSS v3. |
| 11 | +
|
| 12 | + If we ever want to remove these styles, we need to add an explicit border |
| 13 | + color utility to any element that depends on these defaults. |
| 14 | +*/ |
| 15 | +@layer base { |
| 16 | + *, |
| 17 | + ::after, |
| 18 | + ::before, |
| 19 | + ::backdrop, |
| 20 | + ::file-selector-button { |
| 21 | + border-color: var(--color-gray-200, currentcolor); |
| 22 | + } |
| 23 | +} |
| 24 | + |
| 25 | +@utility text-shadow-border { |
| 26 | + text-shadow: |
| 27 | + 1px 1px 0 rgb(var(--text-color)), |
| 28 | + 1px -1px 0 rgb(var(--text-color)), |
| 29 | + -1px 1px 0 rgb(var(--text-color)), |
| 30 | + -1px -1px 0 rgb(var(--text-color)), |
| 31 | + 1px 0px 0 rgb(var(--text-color)), |
| 32 | + 0px 1px 0 rgb(var(--text-color)), |
| 33 | + -1px 0px 0 rgb(var(--text-color)), |
| 34 | + 0px -1px 0 rgb(var(--text-color)), |
| 35 | + 4px 4px rgb(var(--text-color)); |
| 36 | +} |
| 37 | + |
| 38 | +@utility container-fluid { |
| 39 | + @apply grow relative w-full max-w-none mx-auto my-0 md:px-10 px-5; |
| 40 | +} |
4 | 41 |
|
5 | 42 | @layer base { |
6 | 43 | :root { |
|
10 | 47 | --steps-active-color: 97 136 231; |
11 | 48 | } |
12 | 49 |
|
13 | | - // global variables |
14 | 50 | :root { |
15 | | - --navbar-desktop: 80px; // $navbar-desktop-min-height |
16 | | - --navbar-mobile: 64px; // $navbar-mobile-min-height |
| 51 | + /* $navbar-desktop-min-height */ |
| 52 | + --navbar-desktop: 80px; |
| 53 | + /* $navbar-mobile-min-height */ |
| 54 | + --navbar-mobile: 64px; |
17 | 55 | } |
18 | 56 |
|
19 | 57 | :root, |
|
70 | 108 | --green-border-color: #04af00; |
71 | 109 | --blue-accent-bg-color: #b6cbff; |
72 | 110 | --blue-light-hover-color: #e8edfb; |
73 | | - --blue-light-cards: #e9eefc; |
74 | 111 | --card-hover-opacity: 0.85; |
75 | 112 | --separator-line-color: #cccccc; |
76 | 113 | --toggle-primary: #ff7ac3; |
|
140 | 177 | border: 0 solid currentColor; |
141 | 178 | } |
142 | 179 | } |
143 | | - |
144 | | -@layer utilities { |
145 | | - .text-shadow-border { |
146 | | - text-shadow: 1px 1px 0 rgb(var(--text-color)), |
147 | | - 1px -1px 0 rgb(var(--text-color)), |
148 | | - -1px 1px 0 rgb(var(--text-color)), |
149 | | - -1px -1px 0 rgb(var(--text-color)), |
150 | | - 1px 0px 0 rgb(var(--text-color)), |
151 | | - 0px 1px 0 rgb(var(--text-color)), |
152 | | - -1px 0px 0 rgb(var(--text-color)), |
153 | | - 0px -1px 0 rgb(var(--text-color)), |
154 | | - 4px 4px rgb(var(--text-color)); |
155 | | - } |
156 | | - |
157 | | - .container-fluid { |
158 | | - @apply grow relative w-full max-w-none mx-auto my-0 md:px-10 px-5; |
159 | | - } |
160 | | -} |
|
0 commit comments