|
1 | | -@tailwind base; |
2 | | -@tailwind components; |
3 | | -@tailwind utilities; |
| 1 | +@import "tailwindcss"; |
| 2 | + |
| 3 | +@theme { |
| 4 | + --background-image-gradient: linear-gradient( |
| 5 | + 145.37deg, |
| 6 | + rgba(255, 255, 255, 0.09) -8.75%, |
| 7 | + rgba(255, 255, 255, 0.027) 83.95% |
| 8 | + ); |
| 9 | + --background-image-gradient-hover: linear-gradient( |
| 10 | + 145.37deg, |
| 11 | + rgba(255, 255, 255, 0.1) -8.75%, |
| 12 | + rgba(255, 255, 255, 0.057) 83.95% |
| 13 | + ); |
| 14 | + --background-image-shine: linear-gradient( |
| 15 | + 45deg, |
| 16 | + rgba(255, 255, 255, 0) 45%, |
| 17 | + rgba(255, 255, 255, 1) 50%, |
| 18 | + rgba(255, 255, 255, 0) 55%, |
| 19 | + rgba(255, 255, 255, 0) 100% |
| 20 | + ); |
| 21 | + |
| 22 | + --color-cyan-1: #0091f70a; |
| 23 | + --color-cyan-2: #02a7f211; |
| 24 | + --color-cyan-3: #00befd28; |
| 25 | + --color-cyan-4: #00baff3b; |
| 26 | + --color-cyan-5: #00befd4d; |
| 27 | + --color-cyan-6: #00c7fd5e; |
| 28 | + --color-cyan-7: #14cdff75; |
| 29 | + --color-cyan-8: #11cfff95; |
| 30 | + --color-cyan-9: #00cfffc3; |
| 31 | + --color-cyan-10: #28d6ffcd; |
| 32 | + --color-cyan-11: #52e1fee5; |
| 33 | + --color-cyan-12: #bbf3fef7; |
| 34 | + |
| 35 | + --color-slate-1: #00000000; |
| 36 | + --color-slate-2: #d8f4f609; |
| 37 | + --color-slate-3: #ddeaf814; |
| 38 | + --color-slate-4: #d3edf81d; |
| 39 | + --color-slate-5: #d9edfe25; |
| 40 | + --color-slate-6: #d6ebfd30; |
| 41 | + --color-slate-7: #d9edff40; |
| 42 | + --color-slate-8: #d9edff5d; |
| 43 | + --color-slate-9: #dfebfd6d; |
| 44 | + --color-slate-10: #e5edfd7b; |
| 45 | + --color-slate-11: #f1f7feb5; |
| 46 | + --color-slate-12: #fcfdffef; |
| 47 | + |
| 48 | + --font-sans: |
| 49 | + var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", |
| 50 | + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 51 | + --font-mono: |
| 52 | + var(--font-sf-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, |
| 53 | + "Liberation Mono", "Courier New", monospace; |
| 54 | + |
| 55 | + --animate-spin-slow: spin 3s linear infinite; |
| 56 | + --animate-spin-fast: spin 1.5s linear infinite; |
| 57 | + |
| 58 | + @keyframes shine { |
| 59 | + 0% { |
| 60 | + background-position: -100%; |
| 61 | + } |
| 62 | + |
| 63 | + 100% { |
| 64 | + background-position: 100%; |
| 65 | + } |
| 66 | + } |
| 67 | + |
| 68 | + @keyframes dash { |
| 69 | + 0% { |
| 70 | + stroke-dashoffset: 1000; |
| 71 | + } |
| 72 | + |
| 73 | + 100% { |
| 74 | + stroke-dashoffset: 0; |
| 75 | + } |
| 76 | + } |
| 77 | + |
| 78 | + @keyframes spin { |
| 79 | + 0% { |
| 80 | + transform: rotate(0deg); |
| 81 | + } |
| 82 | + |
| 83 | + 100% { |
| 84 | + transform: rotate(360deg); |
| 85 | + } |
| 86 | + } |
| 87 | +} |
| 88 | + |
| 89 | +@utility arrow-hide { |
| 90 | + appearance: textfield; |
| 91 | + |
| 92 | + &::-webkit-inner-spin-button { |
| 93 | + appearance: none; |
| 94 | + margin: 0px; |
| 95 | + } |
| 96 | + |
| 97 | + &::-webkit-outer-spin-button { |
| 98 | + appearance: none; |
| 99 | + margin: 0px; |
| 100 | + } |
| 101 | +} |
| 102 | + |
| 103 | +/* |
| 104 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, |
| 105 | + so we've added these compatibility styles to make sure everything still |
| 106 | + looks the same as it did with Tailwind CSS v3. |
| 107 | +
|
| 108 | + If we ever want to remove these styles, we need to add an explicit border |
| 109 | + color utility to any element that depends on these defaults. |
| 110 | +*/ |
| 111 | +@layer base { |
| 112 | + *, |
| 113 | + ::after, |
| 114 | + ::before, |
| 115 | + ::backdrop, |
| 116 | + ::file-selector-button { |
| 117 | + border-color: var(--color-gray-200, currentcolor); |
| 118 | + } |
| 119 | + |
| 120 | + button:not(:disabled), |
| 121 | + [role="button"]:not(:disabled) { |
| 122 | + cursor: pointer; |
| 123 | + } |
| 124 | +} |
4 | 125 |
|
5 | 126 | html { |
6 | 127 | color-scheme: dark; |
|
0 commit comments