From 32b5eae37d2e74c0254428ed90d558b4461eee77 Mon Sep 17 00:00:00 2001 From: voidarc Date: Mon, 16 Nov 2026 11:06:09 +0000 Subject: [PATCH] add light mode variables --- src/routes/layout.css | 317 ++++++++++++++++++++++++++++-------------- 1 file changed, 213 insertions(+), 104 deletions(-) diff --git a/src/routes/layout.css b/src/routes/layout.css index c44acb9..c75a380 100644 --- a/src/routes/layout.css +++ b/src/routes/layout.css @@ -4,110 +4,219 @@ @import '@catppuccin/tailwindcss/mocha.css'; :root { - --ctp-rosewater: #f5e0dc; - --ctp-rosewater-rgb: 245 224 220; - --ctp-rosewater-hsl: 9.6 55.556% 91.176%; - --ctp-rosewater-oklch: 0.9226 0.0238 30.4919; - --ctp-flamingo: #f2cdcd; - --ctp-flamingo-rgb: 242 205 205; - --ctp-flamingo-hsl: 0 58.73% 87.647%; - --ctp-flamingo-oklch: 0.8797 0.0418 17.975; - --ctp-pink: #f5c2e7; - --ctp-pink-rgb: 245 194 231; - --ctp-pink-hsl: 316.471 71.831% 86.078%; - --ctp-pink-oklch: 0.87 0.0752 336.3041; - --ctp-mauve: #cba6f7; - --ctp-mauve-rgb: 203 166 247; - --ctp-mauve-hsl: 267.407 83.505% 80.98%; - --ctp-mauve-oklch: 0.7871 0.1187 304.7693; - --ctp-red: #f38ba8; - --ctp-red-rgb: 243 139 168; - --ctp-red-hsl: 343.269 81.25% 74.902%; - --ctp-red-oklch: 0.7556 0.1297 2.7642; - --ctp-maroon: #eba0ac; - --ctp-maroon-rgb: 235 160 172; - --ctp-maroon-hsl: 350.4 65.217% 77.451%; - --ctp-maroon-oklch: 0.7821 0.0903 8.8482; - --ctp-peach: #fab387; - --ctp-peach-rgb: 250 179 135; - --ctp-peach-hsl: 22.957 92% 75.49%; - --ctp-peach-oklch: 0.8237 0.1015 52.6294; - --ctp-yellow: #f9e2af; - --ctp-yellow-rgb: 249 226 175; - --ctp-yellow-hsl: 41.351 86.047% 83.137%; - --ctp-yellow-oklch: 0.9193 0.0704 86.5281; - --ctp-green: #a6e3a1; - --ctp-green-rgb: 166 227 161; - --ctp-green-hsl: 115.455 54.098% 76.078%; - --ctp-green-oklch: 0.8577 0.1092 142.7153; - --ctp-teal: #94e2d5; - --ctp-teal-rgb: 148 226 213; - --ctp-teal-hsl: 170 57.353% 73.333%; - --ctp-teal-oklch: 0.8585 0.0792 182.7495; - --ctp-sky: #89dceb; - --ctp-sky-rgb: 137 220 235; - --ctp-sky-hsl: 189.184 71.014% 72.941%; - --ctp-sky-oklch: 0.8467 0.0833 210.2545; - --ctp-sapphire: #74c7ec; - --ctp-sapphire-rgb: 116 199 236; - --ctp-sapphire-hsl: 198.5 75.949% 69.02%; - --ctp-sapphire-oklch: 0.7906 0.0965 228.6527; - --ctp-blue: #89b4fa; - --ctp-blue-rgb: 137 180 250; - --ctp-blue-hsl: 217.168 91.87% 75.882%; - --ctp-blue-oklch: 0.7664 0.1113 259.885; - --ctp-lavender: #b4befe; - --ctp-lavender-rgb: 180 190 254; - --ctp-lavender-hsl: 231.892 97.368% 85.098%; - --ctp-lavender-oklch: 0.8166 0.091 277.3092; - --ctp-text: #cdd6f4; - --ctp-text-rgb: 205 214 244; - --ctp-text-hsl: 226.154 63.934% 88.039%; - --ctp-text-oklch: 0.8787 0.0426 272.2767; - --ctp-subtext1: #bac2de; - --ctp-subtext1-rgb: 186 194 222; - --ctp-subtext1-hsl: 226.667 35.294% 80%; - --ctp-subtext1-oklch: 0.8168 0.0403 272.8622; - --ctp-subtext0: #a6adc8; - --ctp-subtext0-rgb: 166 173 200; - --ctp-subtext0-hsl: 227.647 23.611% 71.765%; - --ctp-subtext0-oklch: 0.751 0.0396 273.932; - --ctp-overlay2: #9399b2; - --ctp-overlay2-rgb: 147 153 178; - --ctp-overlay2-hsl: 228.387 16.757% 63.725%; - --ctp-overlay2-oklch: 0.6865 0.0374 274.7253; - --ctp-overlay1: #7f849c; - --ctp-overlay1-rgb: 127 132 156; - --ctp-overlay1-hsl: 229.655 12.775% 55.49%; - --ctp-overlay1-oklch: 0.6176 0.0367 276.0047; - --ctp-overlay0: #6c7086; - --ctp-overlay0-rgb: 108 112 134; - --ctp-overlay0-hsl: 230.769 10.744% 47.451%; - --ctp-overlay0-oklch: 0.5497 0.0345 277.0951; - --ctp-surface2: #585b70; - --ctp-surface2-rgb: 88 91 112; - --ctp-surface2-hsl: 232.5 12% 39.216%; - --ctp-surface2-oklch: 0.4765 0.034 278.643; - --ctp-surface1: #45475a; - --ctp-surface1-rgb: 69 71 90; - --ctp-surface1-hsl: 234.286 13.208% 31.176%; - --ctp-surface1-oklch: 0.4037 0.032 280.152; - --ctp-surface0: #313244; - --ctp-surface0-rgb: 49 50 68; - --ctp-surface0-hsl: 236.842 16.239% 22.941%; - --ctp-surface0-oklch: 0.324 0.0319 281.9784; - --ctp-base: #1e1e2e; - --ctp-base-rgb: 30 30 46; - --ctp-base-hsl: 240 21.053% 14.902%; - --ctp-base-oklch: 0.2429 0.0304 283.911; - --ctp-mantle: #181825; - --ctp-mantle-rgb: 24 24 37; - --ctp-mantle-hsl: 240 21.311% 11.961%; - --ctp-mantle-oklch: 0.2155 0.0254 284.0647; - --ctp-crust: #11111b; - --ctp-crust-rgb: 17 17 27; - --ctp-crust-hsl: 240 22.727% 8.627%; - --ctp-crust-oklch: 0.1828 0.0204 284.2038; + --ctp-rosewater: #dc8a78; + --ctp-rosewater-rgb: 220 138 120; + --ctp-rosewater-hsl: 10.8 58.824% 66.667%; + --ctp-rosewater-oklch: 0.7141 0.1045 33.0967; + --ctp-flamingo: #dd7878; + --ctp-flamingo-rgb: 221 120 120; + --ctp-flamingo-hsl: 0 59.763% 66.863%; + --ctp-flamingo-oklch: 0.6856 0.1259 20.867; + --ctp-pink: #ea76cb; + --ctp-pink-rgb: 234 118 203; + --ctp-pink-hsl: 316.034 73.418% 69.02%; + --ctp-pink-oklch: 0.7256 0.1739 338.4333; + --ctp-mauve: #8839ef; + --ctp-mauve-rgb: 136 57 239; + --ctp-mauve-hsl: 266.044 85.047% 58.039%; + --ctp-mauve-oklch: 0.5547 0.2503 297.0156; + --ctp-red: #d20f39; + --ctp-red-rgb: 210 15 57; + --ctp-red-hsl: 347.077 86.667% 44.118%; + --ctp-red-oklch: 0.5505 0.2155 19.8095; + --ctp-maroon: #e64553; + --ctp-maroon-rgb: 230 69 83; + --ctp-maroon-hsl: 354.783 76.303% 58.627%; + --ctp-maroon-oklch: 0.6252 0.1967 20.2724; + --ctp-peach: #fe640b; + --ctp-peach-rgb: 254 100 11; + --ctp-peach-hsl: 21.975 99.184% 51.961%; + --ctp-peach-oklch: 0.692 0.2041 42.4293; + --ctp-yellow: #df8e1d; + --ctp-yellow-rgb: 223 142 29; + --ctp-yellow-hsl: 34.948 76.984% 49.412%; + --ctp-yellow-oklch: 0.714 0.1494 67.7767; + --ctp-green: #40a02b; + --ctp-green-rgb: 64 160 43; + --ctp-green-hsl: 109.231 57.635% 39.804%; + --ctp-green-oklch: 0.625 0.1772 140.4448; + --ctp-teal: #179299; + --ctp-teal-rgb: 23 146 153; + --ctp-teal-hsl: 183.231 73.864% 34.51%; + --ctp-teal-oklch: 0.6023 0.0981 201.1047; + --ctp-sky: #04a5e5; + --ctp-sky-rgb: 4 165 229; + --ctp-sky-hsl: 197.067 96.567% 45.686%; + --ctp-sky-oklch: 0.682 0.1448 235.3822; + --ctp-sapphire: #209fb5; + --ctp-sapphire-rgb: 32 159 181; + --ctp-sapphire-hsl: 188.859 69.953% 41.765%; + --ctp-sapphire-oklch: 0.6477 0.1068 212.8893; + --ctp-blue: #1e66f5; + --ctp-blue-rgb: 30 102 245; + --ctp-blue-hsl: 219.907 91.489% 53.922%; + --ctp-blue-oklch: 0.5586 0.2255 262.0867; + --ctp-lavender: #7287fd; + --ctp-lavender-rgb: 114 135 253; + --ctp-lavender-hsl: 230.935 97.203% 71.961%; + --ctp-lavender-oklch: 0.6638 0.1751 273.1346; + --ctp-text: #4c4f69; + --ctp-text-rgb: 76 79 105; + --ctp-text-hsl: 233.793 16.022% 35.49%; + --ctp-text-oklch: 0.4355 0.043 279.325; + --ctp-subtext1: #5c5f77; + --ctp-subtext1-rgb: 92 95 119; + --ctp-subtext1-hsl: 233.333 12.796% 41.373%; + --ctp-subtext1-oklch: 0.492 0.0385 279.2992; + --ctp-subtext0: #6c6f85; + --ctp-subtext0-rgb: 108 111 133; + --ctp-subtext0-hsl: 232.8 10.373% 47.255%; + --ctp-subtext0-oklch: 0.5471 0.0343 279.0837; + --ctp-overlay2: #7c7f93; + --ctp-overlay2-rgb: 124 127 147; + --ctp-overlay2-hsl: 232.174 9.623% 53.137%; + --ctp-overlay2-oklch: 0.6009 0.0305 278.6944; + --ctp-overlay1: #8c8fa1; + --ctp-overlay1-rgb: 140 143 161; + --ctp-overlay1-hsl: 231.429 10.048% 59.02%; + --ctp-overlay1-oklch: 0.6536 0.0269 278.1208; + --ctp-overlay0: #9ca0b0; + --ctp-overlay0-rgb: 156 160 176; + --ctp-overlay0-hsl: 228 11.236% 65.098%; + --ctp-overlay0-oklch: 0.7077 0.0237 274.6008; + --ctp-surface2: #acb0be; + --ctp-surface2-rgb: 172 176 190; + --ctp-surface2-hsl: 226.667 12.162% 70.98%; + --ctp-surface2-oklch: 0.7584 0.0205 273.1536; + --ctp-surface1: #bcc0cc; + --ctp-surface1-rgb: 188 192 204; + --ctp-surface1-hsl: 225 13.559% 76.863%; + --ctp-surface1-oklch: 0.8083 0.0174 271.1982; + --ctp-surface0: #ccd0da; + --ctp-surface0-rgb: 204 208 218; + --ctp-surface0-hsl: 222.857 15.909% 82.745%; + --ctp-surface0-oklch: 0.8575 0.0145 268.4756; + --ctp-base: #eff1f5; + --ctp-base-rgb: 239 241 245; + --ctp-base-hsl: 220 23.077% 94.902%; + --ctp-base-oklch: 0.9578 0.0058 264.5322; + --ctp-mantle: #e6e9ef; + --ctp-mantle-rgb: 230 233 239; + --ctp-mantle-hsl: 220 21.951% 91.961%; + --ctp-mantle-oklch: 0.9335 0.0087 264.5206; + --ctp-crust: #dce0e8; + --ctp-crust-rgb: 220 224 232; + --ctp-crust-hsl: 220 20.69% 88.627%; + --ctp-crust-oklch: 0.906 0.0117 264.5071; +} + +@media (prefers-color-scheme: dark) { + :root { + --ctp-rosewater: #f5e0dc; + --ctp-rosewater-rgb: 245 224 220; + --ctp-rosewater-hsl: 9.6 55.556% 91.176%; + --ctp-rosewater-oklch: 0.9226 0.0238 30.4919; + --ctp-flamingo: #f2cdcd; + --ctp-flamingo-rgb: 242 205 205; + --ctp-flamingo-hsl: 0 58.73% 87.647%; + --ctp-flamingo-oklch: 0.8797 0.0418 17.975; + --ctp-pink: #f5c2e7; + --ctp-pink-rgb: 245 194 231; + --ctp-pink-hsl: 316.471 71.831% 86.078%; + --ctp-pink-oklch: 0.87 0.0752 336.3041; + --ctp-mauve: #cba6f7; + --ctp-mauve-rgb: 203 166 247; + --ctp-mauve-hsl: 267.407 83.505% 80.98%; + --ctp-mauve-oklch: 0.7871 0.1187 304.7693; + --ctp-red: #f38ba8; + --ctp-red-rgb: 243 139 168; + --ctp-red-hsl: 343.269 81.25% 74.902%; + --ctp-red-oklch: 0.7556 0.1297 2.7642; + --ctp-maroon: #eba0ac; + --ctp-maroon-rgb: 235 160 172; + --ctp-maroon-hsl: 350.4 65.217% 77.451%; + --ctp-maroon-oklch: 0.7821 0.0903 8.8482; + --ctp-peach: #fab387; + --ctp-peach-rgb: 250 179 135; + --ctp-peach-hsl: 22.957 92% 75.49%; + --ctp-peach-oklch: 0.8237 0.1015 52.6294; + --ctp-yellow: #f9e2af; + --ctp-yellow-rgb: 249 226 175; + --ctp-yellow-hsl: 41.351 86.047% 83.137%; + --ctp-yellow-oklch: 0.9193 0.0704 86.5281; + --ctp-green: #a6e3a1; + --ctp-green-rgb: 166 227 161; + --ctp-green-hsl: 115.455 54.098% 76.078%; + --ctp-green-oklch: 0.8577 0.1092 142.7153; + --ctp-teal: #94e2d5; + --ctp-teal-rgb: 148 226 213; + --ctp-teal-hsl: 170 57.353% 73.333%; + --ctp-teal-oklch: 0.8585 0.0792 182.7495; + --ctp-sky: #89dceb; + --ctp-sky-rgb: 137 220 235; + --ctp-sky-hsl: 189.184 71.014% 72.941%; + --ctp-sky-oklch: 0.8467 0.0833 210.2545; + --ctp-sapphire: #74c7ec; + --ctp-sapphire-rgb: 116 199 236; + --ctp-sapphire-hsl: 198.5 75.949% 69.02%; + --ctp-sapphire-oklch: 0.7906 0.0965 228.6527; + --ctp-blue: #89b4fa; + --ctp-blue-rgb: 137 180 250; + --ctp-blue-hsl: 217.168 91.87% 75.882%; + --ctp-blue-oklch: 0.7664 0.1113 259.885; + --ctp-lavender: #b4befe; + --ctp-lavender-rgb: 180 190 254; + --ctp-lavender-hsl: 231.892 97.368% 85.098%; + --ctp-lavender-oklch: 0.8166 0.091 277.3092; + --ctp-text: #cdd6f4; + --ctp-text-rgb: 205 214 244; + --ctp-text-hsl: 226.154 63.934% 88.039%; + --ctp-text-oklch: 0.8787 0.0426 272.2767; + --ctp-subtext1: #bac2de; + --ctp-subtext1-rgb: 186 194 222; + --ctp-subtext1-hsl: 226.667 35.294% 80%; + --ctp-subtext1-oklch: 0.8168 0.0403 272.8622; + --ctp-subtext0: #a6adc8; + --ctp-subtext0-rgb: 166 173 200; + --ctp-subtext0-hsl: 227.647 23.611% 71.765%; + --ctp-subtext0-oklch: 0.751 0.0396 273.932; + --ctp-overlay2: #9399b2; + --ctp-overlay2-rgb: 147 153 178; + --ctp-overlay2-hsl: 228.387 16.757% 63.725%; + --ctp-overlay2-oklch: 0.6865 0.0374 274.7253; + --ctp-overlay1: #7f849c; + --ctp-overlay1-rgb: 127 132 156; + --ctp-overlay1-hsl: 229.655 12.775% 55.49%; + --ctp-overlay1-oklch: 0.6176 0.0367 276.0047; + --ctp-overlay0: #6c7086; + --ctp-overlay0-rgb: 108 112 134; + --ctp-overlay0-hsl: 230.769 10.744% 47.451%; + --ctp-overlay0-oklch: 0.5497 0.0345 277.0951; + --ctp-surface2: #585b70; + --ctp-surface2-rgb: 88 91 112; + --ctp-surface2-hsl: 232.5 12% 39.216%; + --ctp-surface2-oklch: 0.4765 0.034 278.643; + --ctp-surface1: #45475a; + --ctp-surface1-rgb: 69 71 90; + --ctp-surface1-hsl: 234.286 13.208% 31.176%; + --ctp-surface1-oklch: 0.4037 0.032 280.152; + --ctp-surface0: #313244; + --ctp-surface0-rgb: 49 50 68; + --ctp-surface0-hsl: 236.842 16.239% 22.941%; + --ctp-surface0-oklch: 0.324 0.0319 281.9784; + --ctp-base: #1e1e2e; + --ctp-base-rgb: 30 30 46; + --ctp-base-hsl: 240 21.053% 14.902%; + --ctp-base-oklch: 0.2429 0.0304 283.911; + --ctp-mantle: #181825; + --ctp-mantle-rgb: 24 24 37; + --ctp-mantle-hsl: 240 21.311% 11.961%; + --ctp-mantle-oklch: 0.2155 0.0254 284.0647; + --ctp-crust: #11111b; + --ctp-crust-rgb: 17 17 27; + --ctp-crust-hsl: 240 22.727% 8.627%; + --ctp-crust-oklch: 0.1828 0.0204 284.2038; + } } * {