Jotley / website / src / app / globals.css
| 1 | @tailwind base; |
| 2 | @tailwind components; |
| 3 | @tailwind utilities; |
| 4 | |
| 5 | :root { |
| 6 | --background: 255 255 255; |
| 7 | --foreground: 31 41 55; |
| 8 | --card: 255 255 255; |
| 9 | --card-foreground: 31 41 55; |
| 10 | --popover: 255 255 255; |
| 11 | --popover-foreground: 31 41 55; |
| 12 | --primary: 220 53 69; |
| 13 | --primary-foreground: 255 255 255; |
| 14 | --secondary: 243 244 246; |
| 15 | --secondary-foreground: 31 41 55; |
| 16 | --muted: 243 244 246; |
| 17 | --muted-foreground: 107 114 128; |
| 18 | --accent: 243 244 246; |
| 19 | --accent-foreground: 31 41 55; |
| 20 | --destructive: 239 68 68; |
| 21 | --destructive-foreground: 255 255 255; |
| 22 | --border: 229 231 235; |
| 23 | --input: 229 231 235; |
| 24 | --ring: 220 53 69; |
| 25 | |
| 26 | /* Semantic text colors for light theme */ |
| 27 | --text-primary: 17 24 39; |
| 28 | --text-secondary: 75 85 99; |
| 29 | --text-tertiary: 107 114 128; |
| 30 | --text-muted: 156 163 175; |
| 31 | |
| 32 | /* Semantic surface colors for light theme */ |
| 33 | --surface-elevated: 249 250 251; |
| 34 | --surface-overlay: 243 244 246; |
| 35 | --border-subtle: 229 231 235; |
| 36 | } |
| 37 | |
| 38 | .dark { |
| 39 | --background: 10 10 15; |
| 40 | --foreground: 243 244 246; |
| 41 | --card: 38 38 38; |
| 42 | --card-foreground: 243 244 246; |
| 43 | --popover: 38 38 38; |
| 44 | --popover-foreground: 243 244 246; |
| 45 | --primary: 220 53 69; |
| 46 | --primary-foreground: 255 255 255; |
| 47 | --secondary: 55 65 81; |
| 48 | --secondary-foreground: 243 244 246; |
| 49 | --muted: 55 65 81; |
| 50 | --muted-foreground: 156 163 175; |
| 51 | --accent: 55 65 81; |
| 52 | --accent-foreground: 243 244 246; |
| 53 | --destructive: 239 68 68; |
| 54 | --destructive-foreground: 255 255 255; |
| 55 | --border: 55 65 81; |
| 56 | --input: 55 65 81; |
| 57 | --ring: 220 53 69; |
| 58 | |
| 59 | /* Semantic text colors for dark theme */ |
| 60 | --text-primary: 255 255 255; |
| 61 | --text-secondary: 229 231 235; |
| 62 | --text-tertiary: 209 213 219; |
| 63 | --text-muted: 209 213 219; |
| 64 | |
| 65 | /* Semantic surface colors for dark theme */ |
| 66 | --surface-elevated: 26 26 26; |
| 67 | --surface-overlay: 38 38 38; |
| 68 | --border-subtle: 55 65 81; |
| 69 | } |
| 70 | |
| 71 | body { |
| 72 | color: rgb(var(--foreground)); |
| 73 | background: rgb(var(--background)); |
| 74 | } |
| 75 | |
| 76 | /* Remove gradient animations since we're going for a cleaner look */ |
| 77 | @keyframes gradient-shift { |
| 78 | 0%, 100% { background-position: 0% 50%; } |
| 79 | 50% { background-position: 100% 50%; } |
| 80 | } |
| 81 | |
| 82 | @keyframes terms-jiggle { |
| 83 | 0%, 100% { transform: translateX(0); } |
| 84 | 20% { transform: translateX(-8px); } |
| 85 | 40% { transform: translateX(8px); } |
| 86 | 60% { transform: translateX(-5px); } |
| 87 | 80% { transform: translateX(5px); } |
| 88 | } |
| 89 | |
| 90 | .animate-terms-jiggle { |
| 91 | animation: terms-jiggle 460ms ease-in-out; |
| 92 | } |
| 93 | |
| 94 | /* Monochrome presentation includes images, illustrations, embedded demos, and |
| 95 | CSS artwork. Filter the document root, not a layout wrapper, so fixed/sticky |
| 96 | controls retain their viewport behavior. Original media remain intact. */ |
| 97 | html { filter: grayscale(1); } |