|
1 | | -@import "../node_modules/@south-paw/typeface-minecraft/index.css"; |
2 | | -@import "prism-tomorrow.css"; |
3 | | -@tailwind base; |
4 | | -@tailwind components; |
5 | | -@tailwind utilities; |
| 1 | +@import '../node_modules/@south-paw/typeface-minecraft/index.css' layer(base); |
| 2 | +@import './prism-tomorrow.css' layer(base); |
| 3 | +@import 'tailwindcss'; |
6 | 4 |
|
7 | | -@layer utilities { |
| 5 | +@custom-variant dark (&:is(.dark *)); |
| 6 | + |
| 7 | +@theme { |
| 8 | + --font-monospace: |
| 9 | + 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; |
| 10 | + |
| 11 | + --background-image-gradient-radial: radial-gradient(var(--tw-gradient-stops)); |
| 12 | + --background-image-gradient-conic: conic-gradient( |
| 13 | + from 180deg at 50% 50%, |
| 14 | + var(--tw-gradient-stops) |
| 15 | + ); |
| 16 | + |
| 17 | + --color-gray-50: #f7f8fa; |
| 18 | + --color-gray-100: #eef1f5; |
| 19 | + --color-gray-200: #dde2ea; |
| 20 | + --color-gray-300: #c4cdd8; |
| 21 | + --color-gray-400: #8d99a9; |
| 22 | + --color-gray-500: #5d6b7c; |
| 23 | + --color-gray-600: #3e4a59; |
| 24 | + --color-gray-700: #2a3441; |
| 25 | + --color-gray-800: #141a23; |
| 26 | + --color-gray-850: #131720; |
| 27 | + --color-gray-900: #0c1218; |
| 28 | + --color-gray-950: #080c11; |
| 29 | + |
| 30 | + --color-light-gray-50: #ffffff; |
| 31 | + --color-light-gray-100: #fafbfc; |
| 32 | + --color-light-gray-200: #f4f6f8; |
| 33 | + --color-light-gray-300: #e8ecf1; |
| 34 | + --color-light-gray-400: #d3d9e0; |
| 35 | + --color-light-gray-500: #b4bcc8; |
| 36 | + --color-light-gray-600: #8f99a8; |
| 37 | + --color-light-gray-700: #6e7a8c; |
| 38 | + --color-light-gray-800: #4e5b6e; |
| 39 | + --color-light-gray-850: #3a4655; |
| 40 | + --color-light-gray-900: #2a3441; |
| 41 | + --color-light-gray-950: #1a1f27; |
| 42 | + |
| 43 | + --radius-xs: 0.125rem; |
| 44 | + --radius-sm: 0.25rem; |
| 45 | + --radius-md: 0.375rem; |
| 46 | + --radius-lg: 0.5rem; |
| 47 | + --radius-xl: 0.75rem; |
| 48 | + --radius-2xl: 1rem; |
| 49 | + --radius-3xl: 1.5rem; |
| 50 | + --radius-full: 9999px; |
| 51 | +} |
| 52 | + |
| 53 | +/* |
| 54 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, |
| 55 | + so we've added these compatibility styles to make sure everything still |
| 56 | + looks the same as it did with Tailwind CSS v3. |
| 57 | +
|
| 58 | + If we ever want to remove these styles, we need to add an explicit border |
| 59 | + color utility to any element that depends on these defaults. |
| 60 | +*/ |
| 61 | +@layer base { |
| 62 | + *, |
| 63 | + ::after, |
| 64 | + ::before, |
| 65 | + ::backdrop, |
| 66 | + ::file-selector-button { |
| 67 | + border-color: var(--color-gray-200, currentcolor); |
| 68 | + } |
| 69 | +} |
| 70 | + |
| 71 | +@utility scrollbar-hide { |
8 | 72 | /* Hide scrollbar for Chrome, Safari and Opera */ |
9 | | - .scrollbar-hide::-webkit-scrollbar { |
| 73 | + &::-webkit-scrollbar { |
10 | 74 | display: none; |
11 | 75 | } |
12 | 76 |
|
13 | 77 | /* Hide scrollbar for IE, Edge and Firefox */ |
14 | | - .scrollbar-hide { |
15 | | - -ms-overflow-style: none; /* IE and Edge */ |
16 | | - scrollbar-width: none; /* Firefox */ |
17 | | - } |
| 78 | + -ms-overflow-style: none; /* IE and Edge */ |
| 79 | + scrollbar-width: none; /* Firefox */ |
18 | 80 | } |
19 | 81 |
|
20 | 82 | code[class*="language-"], |
|
0 commit comments