|
85 | 85 | } |
86 | 86 |
|
87 | 87 | /* Selected parts from: */ |
88 | | -/* GIC.css Version 1.1.0 |
| 88 | +/* GIC.css Version 1.2.0 |
89 | 89 | * (c) Copyright Ariadne (me@aria.rip) 2026. |
90 | 90 | * Made available under the MIT license */ |
91 | 91 | :root { |
@@ -164,7 +164,6 @@ img { |
164 | 164 | --black-tint-95: #f3f3f3; |
165 | 165 | --white: #ffffff; |
166 | 166 |
|
167 | | - |
168 | 167 | --colour-brand: var(--blue); |
169 | 168 |
|
170 | 169 | --colour-text: var(--black); |
@@ -196,6 +195,95 @@ img { |
196 | 195 | --colour-surface-background: var(--blue-tint-95); |
197 | 196 | --colour-surface-text: var(--black); |
198 | 197 | --colour-surface-board: var(--blue-tint-50); |
| 198 | + --colour-button-text: var(--white); |
| 199 | + |
| 200 | + /* Dark theme, from catpuccin mocha */ |
| 201 | + @media (prefers-color-scheme: dark) { |
| 202 | + color-scheme: dark; |
| 203 | + --blue: #89b4fa; |
| 204 | + --blue-base: #89b4fa; |
| 205 | + --blue-tint-25: #6787bc; |
| 206 | + --blue-tint-50: #455a7d; |
| 207 | + --blue-tint-80: #1b2432; |
| 208 | + --blue-tint-95: #07090d; |
| 209 | + --blue-shade-10: #95bcfb; |
| 210 | + --blue-shade-25: #a7c7fb; |
| 211 | + --blue-shade-50: #c4dafd; |
| 212 | + --blue-shade-95: #f9fbff; |
| 213 | + --green: #a6e3a1; |
| 214 | + --green-tint-25: #7daa79; |
| 215 | + --green-tint-50: #537251; |
| 216 | + --green-tint-80: #212d20; |
| 217 | + --green-tint-95: #080b08; |
| 218 | + --green-shade-25: #bceab9; |
| 219 | + --green-shade-50: #d3f1d0; |
| 220 | + --teal: #94e2d5; |
| 221 | + --teal-tint-25: #6faaa0; |
| 222 | + --teal-tint-50: #4a716b; |
| 223 | + --teal-tint-80: #1e2d2b; |
| 224 | + --teal-tint-95: #070b0b; |
| 225 | + --teal-shade-25: #afe9e0; |
| 226 | + --teal-shade-50: #caf1ea; |
| 227 | + --purple: #cba6f7; |
| 228 | + --purple-tint-25: #987db9; |
| 229 | + --purple-tint-50: #66537c; |
| 230 | + --purple-tint-80: #292131; |
| 231 | + --purple-tint-95: #0a080c; |
| 232 | + --purple-shade-25: #d8bcf9; |
| 233 | + --purple-shade-50: #e5d3fb; |
| 234 | + --pink: #f5c2e7; |
| 235 | + --pink-tint-25: #b892ad; |
| 236 | + --pink-tint-50: #7b6174; |
| 237 | + --pink-tint-80: #31272e; |
| 238 | + --pink-tint-95: #0c0a0c; |
| 239 | + --pink-shade-25: #f8d1ed; |
| 240 | + --pink-shade-50: #fae1f3; |
| 241 | + --red: #f38ba8; |
| 242 | + --red-tint-25: #b6687e; |
| 243 | + --red-tint-50: #7a4654; |
| 244 | + --red-tint-80: #311c22; |
| 245 | + --red-tint-95: #0c0708; |
| 246 | + --red-shade-25: #f6a8be; |
| 247 | + --red-shade-50: #f9c5d4; |
| 248 | + --orange: #fab387; |
| 249 | + --orange-tint-25: #bc8665; |
| 250 | + --orange-tint-50: #7d5a44; |
| 251 | + --orange-tint-80: #32241b; |
| 252 | + --orange-tint-95: #0d0907; |
| 253 | + --orange-shade-25: #fbc6a5; |
| 254 | + --orange-shade-50: #fdd9c3; |
| 255 | + --yellow: #f9e2af; |
| 256 | + --yellow-tint-25: #bbaa83; |
| 257 | + --yellow-tint-50: #7d7158; |
| 258 | + --yellow-tint-80: #322d23; |
| 259 | + --yellow-tint-95: #0c0b09; |
| 260 | + --yellow-shade-25: #fbe9c3; |
| 261 | + --yellow-shade-50: #fcf1d7; |
| 262 | + --brown: #f2cdcd; |
| 263 | + --brown-tint-25: #b69a9a; |
| 264 | + --brown-tint-50: #796767; |
| 265 | + --brown-tint-95: #0c0a0a; |
| 266 | + --black: #1e1e2e; |
| 267 | + --black-tint-25: #171723; |
| 268 | + --black-tint-50: #0f0f17; |
| 269 | + --black-tint-80: #060609; |
| 270 | + --black-tint-95: #020202; |
| 271 | + --white: #cdd6f4; |
| 272 | + --white-shade-25: #9aa1b7; |
| 273 | + |
| 274 | + --colour-text: var(--white); |
| 275 | + --colour-body-background: var(--black); |
| 276 | + --colour-text-secondary: var(--white-shade-25); |
| 277 | + --colour-border: var(--white); |
| 278 | + --colour-input-border: var(--white); |
| 279 | + --colour-focus-text: var(--white); |
| 280 | + --colour-link-active: var(--white); |
| 281 | + --colour-surface-background: var(--blue-tint-80); |
| 282 | + --colour-surface-text: #fff; |
| 283 | + --colour-surface-board: var(--blue-tint-50); |
| 284 | + --colour-button-text: var(--black); |
| 285 | + } |
| 286 | + |
199 | 287 |
|
200 | 288 | --width-input-border: 2px; |
201 | 289 | --width-form-group-error: 5px; |
@@ -271,6 +359,8 @@ img { |
271 | 359 | /* 8e 8eeee8 8eee8 8 8 8e 8eee8e 8eee8 8eee8 8eee8 8eeee8 */ |
272 | 360 | /* 88 88 88 8 8 88 "8 88 8 88 8 88 88 8 88 */ |
273 | 361 | /* 88 88 88 8eee8 88ee8 88 8 88 8 88 88 8 88 */ |
| 362 | +html { background: var(--colour-body-background); } |
| 363 | + |
274 | 364 | body { |
275 | 365 | font-family: var(--font-variable); |
276 | 366 | font-weight: var(--font-weight-normal); |
|
361 | 451 | } |
362 | 452 | } |
363 | 453 |
|
364 | | - &.inverse { |
365 | | - &, |
366 | | - &:visited { |
367 | | - color: var(--white); |
368 | | - } |
369 | | - |
370 | | - &:focus { |
371 | | - color: var(--colour-focus-text); |
372 | | - } |
373 | | - } |
374 | | - |
375 | 454 | &.error { |
376 | 455 | &, |
377 | 456 | &:visited { |
@@ -469,14 +548,15 @@ hr.visible { border-bottom: 1px solid var(--colour-border) } |
469 | 548 |
|
470 | 549 | /* utilities */ |
471 | 550 | .break-word { word-break: break-word; } |
| 551 | + |
472 | 552 | /* ____ ____ ____ _ _ ____ */ |
473 | 553 | /* |___ | | |__/ |\/| [__ */ |
474 | 554 | /* | |__| | \ | | ___] */ |
475 | 555 | /* */ |
476 | 556 | button { |
477 | 557 | --button-bg: var(--green-shade-25); |
478 | 558 | --button-bg-darker: var(--green-shade-50); |
479 | | - --text: var(--white); |
| 559 | + --text: var(--colour-button-text); |
480 | 560 |
|
481 | 561 | text-decoration: none; |
482 | 562 | font-weight: var(--font-weight-normal); |
@@ -519,10 +599,6 @@ button { |
519 | 599 | --button-bg: var(--red-shade-25); |
520 | 600 | --button-bg-darker: var(--red-shade-50); |
521 | 601 | } |
522 | | - &.inverse { |
523 | | - --button-bg: var(--blue-tint-80); |
524 | | - --button-bg-darker: var(--blue-tint-95); |
525 | | - } |
526 | 602 | &[disabled] { |
527 | 603 | opacity: .5; |
528 | 604 | cursor: notallowed; |
|
0 commit comments