| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | @import "tailwindcss"; |
| 42 | |
| 43 | |
| 44 | |
| 45 | @source "./src*.rs"; |
| 46 | |
| 47 | |
| 48 | |
| 49 | @custom-variant dark (&:is(.dark *)); |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | @theme inline { |
| 56 | --font-sans: "Atkinson Hyperlegible Next", sans-serif; |
| 57 | --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace; |
| 58 | |
| 59 | --color-background: var(--background); |
| 60 | --color-foreground: var(--foreground); |
| 61 | --color-card: var(--card); |
| 62 | --color-card-foreground: var(--card-foreground); |
| 63 | --color-popover: var(--popover); |
| 64 | --color-popover-foreground: var(--popover-foreground); |
| 65 | --color-muted-foreground: var(--muted-foreground); |
| 66 | --color-primary: var(--primary); |
| 67 | --color-primary-foreground: var(--primary-foreground); |
| 68 | --color-destructive: var(--destructive); |
| 69 | --color-destructive-foreground: var(--destructive-foreground); |
| 70 | --color-border: var(--border); |
| 71 | --color-ring: var(--ring); |
| 72 | --color-sidebar: var(--sidebar); |
| 73 | --color-sidebar-foreground: var(--sidebar-foreground); |
| 74 | --color-sidebar-primary: var(--sidebar-primary); |
| 75 | --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
| 76 | --color-sidebar-accent: var(--sidebar-accent); |
| 77 | --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
| 78 | --color-sidebar-border: var(--sidebar-border); |
| 79 | --color-sidebar-ring: var(--sidebar-ring); |
| 80 | --color-link: var(--link); |
| 81 | --color-mark: var(--mark); |
| 82 | --color-active-row: var(--active-row); |
| 83 | --color-active-row-foreground: var(--active-row-foreground); |
| 84 | --color-ok: var(--ok); |
| 85 | --color-warn: var(--warn); |
| 86 | --color-bad: var(--bad); |
| 87 | --color-keycap: var(--keycap-bg); |
| 88 | |
| 89 | --radius-control: 6px; |
| 90 | --radius-float: 10px; |
| 91 | --radius-pill: 999px; |
| 92 | |
| 93 | --shadow-xs: var(--shadow-xs); |
| 94 | --shadow-sm: var(--shadow-sm); |
| 95 | --shadow-float: var(--shadow-float); |
| 96 | } |
| 97 | |
| 98 | :root { |
| 99 | --background: #f5f7f4; |
| 100 | --foreground: #18201a; |
| 101 | --card: #ffffff; |
| 102 | --card-foreground: #18201a; |
| 103 | --popover: #ffffff; |
| 104 | --popover-foreground: #18201a; |
| 105 | --muted-foreground: #56625a; |
| 106 | --primary: #567752; |
| 107 | --primary-foreground: #ffffff; |
| 108 | --destructive: #b3261e; |
| 109 | --destructive-foreground: #ffffff; |
| 110 | --border: #d2dbd0; |
| 111 | --ring: #2f6b3a; |
| 112 | --sidebar: #e9efe6; |
| 113 | --sidebar-foreground: #18201a; |
| 114 | --sidebar-primary: #567752; |
| 115 | --sidebar-primary-foreground: #ffffff; |
| 116 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 117 | --sidebar-accent-foreground: #18201a; |
| 118 | --sidebar-border: #d2dbd0; |
| 119 | --sidebar-ring: #2f6b3a; |
| 120 | --link: #2f6b3a; |
| 121 | --mark: #ffe9a3; |
| 122 | --active-row: #d9ebd3; |
| 123 | --active-row-foreground: #1f3d22; |
| 124 | --ok: #1f7a4a; |
| 125 | --warn: #9a5b00; |
| 126 | --bad: #b3261e; |
| 127 | --keycap-bg: #e1e9de; |
| 128 | --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.08); |
| 129 | --shadow-sm: 0 0 #0000; |
| 130 | --shadow-float: 0 8px 24px rgb(0 0 0 / 0.12); |
| 131 | } |
| 132 | |
| 133 | .dark { |
| 134 | --background: #151615; |
| 135 | --foreground: #e6e6e1; |
| 136 | --card: #1b1c1b; |
| 137 | --card-foreground: #e6e6e1; |
| 138 | --popover: #1b1c1b; |
| 139 | --popover-foreground: #e6e6e1; |
| 140 | --muted-foreground: #9f9f98; |
| 141 | --primary: #4a6847; |
| 142 | --primary-foreground: #eef4ea; |
| 143 | --destructive: #f08a80; |
| 144 | --destructive-foreground: #151615; |
| 145 | --border: #2b2d2b; |
| 146 | --ring: #a7c49f; |
| 147 | --sidebar: #111211; |
| 148 | --sidebar-foreground: #e6e6e1; |
| 149 | --sidebar-primary: #4a6847; |
| 150 | --sidebar-primary-foreground: #eef4ea; |
| 151 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 152 | --sidebar-accent-foreground: #e6e6e1; |
| 153 | --sidebar-border: #2b2d2b; |
| 154 | --sidebar-ring: #a7c49f; |
| 155 | --link: #a7c49f; |
| 156 | --mark: #5e5216; |
| 157 | --active-row: #233024; |
| 158 | --active-row-foreground: #d8e6d4; |
| 159 | --ok: #8cc79a; |
| 160 | --warn: #f2b45a; |
| 161 | --bad: #f08a80; |
| 162 | --keycap-bg: #252625; |
| 163 | --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.5); |
| 164 | --shadow-sm: 0 0 #0000; |
| 165 | --shadow-float: 0 8px 24px rgb(0 0 0 / 0.5); |
| 166 | } |
| 167 | |
| 168 | |
| 169 | |
| 170 | :root[data-scheme="graphite"]:not(.dark) { |
| 171 | --background: #f6f7f9; |
| 172 | --foreground: #15181d; |
| 173 | --card: #ffffff; |
| 174 | --card-foreground: #15181d; |
| 175 | --popover: #ffffff; |
| 176 | --popover-foreground: #15181d; |
| 177 | --muted-foreground: #5a616d; |
| 178 | --primary: #f2b600; |
| 179 | --primary-foreground: #15181d; |
| 180 | --destructive: #b42318; |
| 181 | --destructive-foreground: #ffffff; |
| 182 | --border: #d5d9e0; |
| 183 | --ring: #1d4ed8; |
| 184 | --sidebar: #eceef2; |
| 185 | --sidebar-foreground: #15181d; |
| 186 | --sidebar-primary: #f2b600; |
| 187 | --sidebar-primary-foreground: #15181d; |
| 188 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 189 | --sidebar-accent-foreground: #15181d; |
| 190 | --sidebar-border: #d5d9e0; |
| 191 | --sidebar-ring: #1d4ed8; |
| 192 | --link: #1d4ed8; |
| 193 | --mark: #ffe9a0; |
| 194 | --active-row: #ffe08a; |
| 195 | --active-row-foreground: #15181d; |
| 196 | --ok: #1e7a46; |
| 197 | --warn: #9a5b00; |
| 198 | --bad: #b42318; |
| 199 | --keycap-bg: #e3e6eb; |
| 200 | } |
| 201 | |
| 202 | :root[data-scheme="graphite"].dark { |
| 203 | --background: #16181c; |
| 204 | --foreground: #eceef2; |
| 205 | --card: #22262d; |
| 206 | --card-foreground: #eceef2; |
| 207 | --popover: #22262d; |
| 208 | --popover-foreground: #eceef2; |
| 209 | --muted-foreground: #9aa3b2; |
| 210 | --primary: #ffc93c; |
| 211 | --primary-foreground: #15181d; |
| 212 | --destructive: #ff8a80; |
| 213 | --destructive-foreground: #16181c; |
| 214 | --border: #343a45; |
| 215 | --ring: #8ab4ff; |
| 216 | --sidebar: #1d2026; |
| 217 | --sidebar-foreground: #eceef2; |
| 218 | --sidebar-primary: #ffc93c; |
| 219 | --sidebar-primary-foreground: #15181d; |
| 220 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 221 | --sidebar-accent-foreground: #eceef2; |
| 222 | --sidebar-border: #343a45; |
| 223 | --sidebar-ring: #8ab4ff; |
| 224 | --link: #8ab4ff; |
| 225 | --mark: #7a5f00; |
| 226 | --active-row: #5c4700; |
| 227 | --active-row-foreground: #fff3c4; |
| 228 | --ok: #5fcf8f; |
| 229 | --warn: #f2b45a; |
| 230 | --bad: #ff8a80; |
| 231 | --keycap-bg: #2b3038; |
| 232 | } |
| 233 | |
| 234 | :root[data-scheme="cobalt"]:not(.dark) { |
| 235 | --background: #fbfcff; |
| 236 | --foreground: #0e1830; |
| 237 | --card: #ffffff; |
| 238 | --card-foreground: #0e1830; |
| 239 | --popover: #ffffff; |
| 240 | --popover-foreground: #0e1830; |
| 241 | --muted-foreground: #4a5772; |
| 242 | --primary: #1f4fd1; |
| 243 | --primary-foreground: #ffffff; |
| 244 | --destructive: #b3261e; |
| 245 | --destructive-foreground: #ffffff; |
| 246 | --border: #d3dcea; |
| 247 | --ring: #1f4fd1; |
| 248 | --sidebar: #eef3fb; |
| 249 | --sidebar-foreground: #0e1830; |
| 250 | --sidebar-primary: #1f4fd1; |
| 251 | --sidebar-primary-foreground: #ffffff; |
| 252 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 253 | --sidebar-accent-foreground: #0e1830; |
| 254 | --sidebar-border: #d3dcea; |
| 255 | --sidebar-ring: #1f4fd1; |
| 256 | --link: #1f4fd1; |
| 257 | --mark: #fff0a6; |
| 258 | --active-row: #dce7ff; |
| 259 | --active-row-foreground: #0b2a80; |
| 260 | --ok: #137a4a; |
| 261 | --warn: #9a5b00; |
| 262 | --bad: #b3261e; |
| 263 | --keycap-bg: #e2e9f7; |
| 264 | } |
| 265 | |
| 266 | :root[data-scheme="cobalt"].dark { |
| 267 | --background: #0c1120; |
| 268 | --foreground: #e6ecfb; |
| 269 | --card: #17213a; |
| 270 | --card-foreground: #e6ecfb; |
| 271 | --popover: #17213a; |
| 272 | --popover-foreground: #e6ecfb; |
| 273 | --muted-foreground: #97a4c2; |
| 274 | --primary: #5b8bff; |
| 275 | --primary-foreground: #0a1024; |
| 276 | --destructive: #ff8b84; |
| 277 | --destructive-foreground: #0c1120; |
| 278 | --border: #2a3756; |
| 279 | --ring: #8fb0ff; |
| 280 | --sidebar: #121a2c; |
| 281 | --sidebar-foreground: #e6ecfb; |
| 282 | --sidebar-primary: #5b8bff; |
| 283 | --sidebar-primary-foreground: #0a1024; |
| 284 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 285 | --sidebar-accent-foreground: #e6ecfb; |
| 286 | --sidebar-border: #2a3756; |
| 287 | --sidebar-ring: #8fb0ff; |
| 288 | --link: #8fb0ff; |
| 289 | --mark: #6b5a00; |
| 290 | --active-row: #1d2f5c; |
| 291 | --active-row-foreground: #cfdcff; |
| 292 | --ok: #5fd39a; |
| 293 | --warn: #f2b45a; |
| 294 | --bad: #ff8b84; |
| 295 | --keycap-bg: #1f2a45; |
| 296 | } |
| 297 | |
| 298 | :root[data-scheme="oxblood"]:not(.dark) { |
| 299 | --background: #f7f5f4; |
| 300 | --foreground: #201a19; |
| 301 | --card: #ffffff; |
| 302 | --card-foreground: #201a19; |
| 303 | --popover: #ffffff; |
| 304 | --popover-foreground: #201a19; |
| 305 | --muted-foreground: #625a57; |
| 306 | --primary: #8e1b22; |
| 307 | --primary-foreground: #ffffff; |
| 308 | --destructive: #a4161a; |
| 309 | --destructive-foreground: #ffffff; |
| 310 | --border: #d9d2cf; |
| 311 | --ring: #9c2a2a; |
| 312 | --sidebar: #eeeae8; |
| 313 | --sidebar-foreground: #201a19; |
| 314 | --sidebar-primary: #8e1b22; |
| 315 | --sidebar-primary-foreground: #ffffff; |
| 316 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 317 | --sidebar-accent-foreground: #201a19; |
| 318 | --sidebar-border: #d9d2cf; |
| 319 | --sidebar-ring: #9c2a2a; |
| 320 | --link: #9c2a2a; |
| 321 | --mark: #ffe9a3; |
| 322 | --active-row: #f8dcd9; |
| 323 | --active-row-foreground: #6b1218; |
| 324 | --ok: #2d6a3e; |
| 325 | --warn: #9a5b00; |
| 326 | --bad: #a4161a; |
| 327 | --keycap-bg: #e7e2e0; |
| 328 | } |
| 329 | |
| 330 | :root[data-scheme="oxblood"].dark { |
| 331 | --background: #141111; |
| 332 | --foreground: #f1eceb; |
| 333 | --card: #221d1d; |
| 334 | --card-foreground: #f1eceb; |
| 335 | --popover: #221d1d; |
| 336 | --popover-foreground: #f1eceb; |
| 337 | --muted-foreground: #a89f9c; |
| 338 | --primary: #d85c63; |
| 339 | --primary-foreground: #140e0e; |
| 340 | --destructive: #ff8a8a; |
| 341 | --destructive-foreground: #141111; |
| 342 | --border: #3a3332; |
| 343 | --ring: #f09a94; |
| 344 | --sidebar: #1c1818; |
| 345 | --sidebar-foreground: #f1eceb; |
| 346 | --sidebar-primary: #d85c63; |
| 347 | --sidebar-primary-foreground: #140e0e; |
| 348 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 349 | --sidebar-accent-foreground: #f1eceb; |
| 350 | --sidebar-border: #3a3332; |
| 351 | --sidebar-ring: #f09a94; |
| 352 | --link: #f09a94; |
| 353 | --mark: #6e5a10; |
| 354 | --active-row: #4a1d21; |
| 355 | --active-row-foreground: #ffd9d6; |
| 356 | --ok: #7ccf96; |
| 357 | --warn: #f2b45a; |
| 358 | --bad: #ff8a8a; |
| 359 | --keycap-bg: #2e2828; |
| 360 | } |
| 361 | |
| 362 | :root[data-scheme="teal"]:not(.dark) { |
| 363 | --background: #f4f8f8; |
| 364 | --foreground: #13201f; |
| 365 | --card: #ffffff; |
| 366 | --card-foreground: #13201f; |
| 367 | --popover: #ffffff; |
| 368 | --popover-foreground: #13201f; |
| 369 | --muted-foreground: #4f6663; |
| 370 | --primary: #0f5e5a; |
| 371 | --primary-foreground: #ffffff; |
| 372 | --destructive: #b42318; |
| 373 | --destructive-foreground: #ffffff; |
| 374 | --border: #cbdad8; |
| 375 | --ring: #0b6b66; |
| 376 | --sidebar: #e8f0f0; |
| 377 | --sidebar-foreground: #13201f; |
| 378 | --sidebar-primary: #0f5e5a; |
| 379 | --sidebar-primary-foreground: #ffffff; |
| 380 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 381 | --sidebar-accent-foreground: #13201f; |
| 382 | --sidebar-border: #cbdad8; |
| 383 | --sidebar-ring: #0b6b66; |
| 384 | --link: #0b6b66; |
| 385 | --mark: #ffe27a; |
| 386 | --active-row: #cdeee9; |
| 387 | --active-row-foreground: #073b38; |
| 388 | --ok: #1b7340; |
| 389 | --warn: #9a5b00; |
| 390 | --bad: #b42318; |
| 391 | --keycap-bg: #dde8e7; |
| 392 | } |
| 393 | |
| 394 | :root[data-scheme="teal"].dark { |
| 395 | --background: #0d1514; |
| 396 | --foreground: #e3efed; |
| 397 | --card: #172624; |
| 398 | --card-foreground: #e3efed; |
| 399 | --popover: #172624; |
| 400 | --popover-foreground: #e3efed; |
| 401 | --muted-foreground: #98b1ad; |
| 402 | --primary: #3fb3a6; |
| 403 | --primary-foreground: #06201e; |
| 404 | --destructive: #ff8a80; |
| 405 | --destructive-foreground: #0d1514; |
| 406 | --border: #2a3d3b; |
| 407 | --ring: #7fd6cc; |
| 408 | --sidebar: #121d1c; |
| 409 | --sidebar-foreground: #e3efed; |
| 410 | --sidebar-primary: #3fb3a6; |
| 411 | --sidebar-primary-foreground: #06201e; |
| 412 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 413 | --sidebar-accent-foreground: #e3efed; |
| 414 | --sidebar-border: #2a3d3b; |
| 415 | --sidebar-ring: #7fd6cc; |
| 416 | --link: #7fd6cc; |
| 417 | --mark: #6b5a10; |
| 418 | --active-row: #15403b; |
| 419 | --active-row-foreground: #c4f2eb; |
| 420 | --ok: #5fcf8f; |
| 421 | --warn: #f2b45a; |
| 422 | --bad: #ff8a80; |
| 423 | --keycap-bg: #1f3431; |
| 424 | } |
| 425 | |
| 426 | :root[data-scheme="plum"]:not(.dark) { |
| 427 | --background: #f8f6fa; |
| 428 | --foreground: #1f1a26; |
| 429 | --card: #ffffff; |
| 430 | --card-foreground: #1f1a26; |
| 431 | --popover: #ffffff; |
| 432 | --popover-foreground: #1f1a26; |
| 433 | --muted-foreground: #5f5570; |
| 434 | --primary: #7b2d6e; |
| 435 | --primary-foreground: #ffffff; |
| 436 | --destructive: #b3261e; |
| 437 | --destructive-foreground: #ffffff; |
| 438 | --border: #d9d1e2; |
| 439 | --ring: #6a2fb0; |
| 440 | --sidebar: #efeaf3; |
| 441 | --sidebar-foreground: #1f1a26; |
| 442 | --sidebar-primary: #7b2d6e; |
| 443 | --sidebar-primary-foreground: #ffffff; |
| 444 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 445 | --sidebar-accent-foreground: #1f1a26; |
| 446 | --sidebar-border: #d9d1e2; |
| 447 | --sidebar-ring: #6a2fb0; |
| 448 | --link: #6a2fb0; |
| 449 | --mark: #ffe9a3; |
| 450 | --active-row: #f1d9ee; |
| 451 | --active-row-foreground: #5a1a4f; |
| 452 | --ok: #1f7a4a; |
| 453 | --warn: #9a5b00; |
| 454 | --bad: #b3261e; |
| 455 | --keycap-bg: #e8e2ee; |
| 456 | } |
| 457 | |
| 458 | :root[data-scheme="plum"].dark { |
| 459 | --background: #120f16; |
| 460 | --foreground: #ece8f2; |
| 461 | --card: #201b27; |
| 462 | --card-foreground: #ece8f2; |
| 463 | --popover: #201b27; |
| 464 | --popover-foreground: #ece8f2; |
| 465 | --muted-foreground: #a79fb6; |
| 466 | --primary: #d27ac4; |
| 467 | --primary-foreground: #1a0d18; |
| 468 | --destructive: #ff8a8a; |
| 469 | --destructive-foreground: #120f16; |
| 470 | --border: #3a3246; |
| 471 | --ring: #c9a6ff; |
| 472 | --sidebar: #1a1620; |
| 473 | --sidebar-foreground: #ece8f2; |
| 474 | --sidebar-primary: #d27ac4; |
| 475 | --sidebar-primary-foreground: #1a0d18; |
| 476 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 477 | --sidebar-accent-foreground: #ece8f2; |
| 478 | --sidebar-border: #3a3246; |
| 479 | --sidebar-ring: #c9a6ff; |
| 480 | --link: #c9a6ff; |
| 481 | --mark: #6b5a10; |
| 482 | --active-row: #4a2446; |
| 483 | --active-row-foreground: #f5d6ef; |
| 484 | --ok: #7ccf96; |
| 485 | --warn: #f2b45a; |
| 486 | --bad: #ff8a8a; |
| 487 | --keycap-bg: #2e2739; |
| 488 | } |
| 489 | |
| 490 | :root[data-scheme="mono"]:not(.dark) { |
| 491 | --background: #fafafa; |
| 492 | --foreground: #111111; |
| 493 | --card: #ffffff; |
| 494 | --card-foreground: #111111; |
| 495 | --popover: #ffffff; |
| 496 | --popover-foreground: #111111; |
| 497 | --muted-foreground: #5c5c5c; |
| 498 | --primary: #111111; |
| 499 | --primary-foreground: #ffffff; |
| 500 | --destructive: #9b1c1c; |
| 501 | --destructive-foreground: #ffffff; |
| 502 | --border: #d8d8d8; |
| 503 | --ring: #222222; |
| 504 | --sidebar: #f0f0f0; |
| 505 | --sidebar-foreground: #111111; |
| 506 | --sidebar-primary: #111111; |
| 507 | --sidebar-primary-foreground: #ffffff; |
| 508 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 509 | --sidebar-accent-foreground: #111111; |
| 510 | --sidebar-border: #d8d8d8; |
| 511 | --sidebar-ring: #222222; |
| 512 | --link: #222222; |
| 513 | --mark: #fff1a8; |
| 514 | --active-row: #e4e4e4; |
| 515 | --active-row-foreground: #111111; |
| 516 | --ok: #2e6b3a; |
| 517 | --warn: #9a5b00; |
| 518 | --bad: #9b1c1c; |
| 519 | --keycap-bg: #e6e6e6; |
| 520 | } |
| 521 | |
| 522 | :root[data-scheme="mono"].dark { |
| 523 | --background: #0e0e0e; |
| 524 | --foreground: #f2f2f2; |
| 525 | --card: #1c1c1c; |
| 526 | --card-foreground: #f2f2f2; |
| 527 | --popover: #1c1c1c; |
| 528 | --popover-foreground: #f2f2f2; |
| 529 | --muted-foreground: #a3a3a3; |
| 530 | --primary: #f2f2f2; |
| 531 | --primary-foreground: #111111; |
| 532 | --destructive: #ff8a8a; |
| 533 | --destructive-foreground: #0e0e0e; |
| 534 | --border: #333333; |
| 535 | --ring: #e6e6e6; |
| 536 | --sidebar: #161616; |
| 537 | --sidebar-foreground: #f2f2f2; |
| 538 | --sidebar-primary: #f2f2f2; |
| 539 | --sidebar-primary-foreground: #111111; |
| 540 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 541 | --sidebar-accent-foreground: #f2f2f2; |
| 542 | --sidebar-border: #333333; |
| 543 | --sidebar-ring: #e6e6e6; |
| 544 | --link: #e6e6e6; |
| 545 | --mark: #5e4f12; |
| 546 | --active-row: #2e2e2e; |
| 547 | --active-row-foreground: #f2f2f2; |
| 548 | --ok: #7ccf96; |
| 549 | --warn: #f2b45a; |
| 550 | --bad: #ff8a8a; |
| 551 | --keycap-bg: #262626; |
| 552 | } |
| 553 | |
| 554 | :root[data-scheme="tangerine"]:not(.dark) { |
| 555 | --background: #f6f7f8; |
| 556 | --foreground: #161a1f; |
| 557 | --card: #ffffff; |
| 558 | --card-foreground: #161a1f; |
| 559 | --popover: #ffffff; |
| 560 | --popover-foreground: #161a1f; |
| 561 | --muted-foreground: #5a626c; |
| 562 | --primary: #f59e0b; |
| 563 | --primary-foreground: #1a0d00; |
| 564 | --destructive: #b3261e; |
| 565 | --destructive-foreground: #ffffff; |
| 566 | --border: #d6dadf; |
| 567 | --ring: #a85200; |
| 568 | --sidebar: #eceef0; |
| 569 | --sidebar-foreground: #161a1f; |
| 570 | --sidebar-primary: #f59e0b; |
| 571 | --sidebar-primary-foreground: #1a0d00; |
| 572 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 573 | --sidebar-accent-foreground: #161a1f; |
| 574 | --sidebar-border: #d6dadf; |
| 575 | --sidebar-ring: #a85200; |
| 576 | --link: #a85200; |
| 577 | --mark: #fff1a8; |
| 578 | --active-row: #fde9c4; |
| 579 | --active-row-foreground: #6b3d00; |
| 580 | --ok: #1f7a4a; |
| 581 | --warn: #9a5b00; |
| 582 | --bad: #b3261e; |
| 583 | --keycap-bg: #e3e6ea; |
| 584 | } |
| 585 | |
| 586 | :root[data-scheme="tangerine"].dark { |
| 587 | --background: #0f1113; |
| 588 | --foreground: #eef0f2; |
| 589 | --card: #1c2024; |
| 590 | --card-foreground: #eef0f2; |
| 591 | --popover: #1c2024; |
| 592 | --popover-foreground: #eef0f2; |
| 593 | --muted-foreground: #a4acb6; |
| 594 | --primary: #ffb347; |
| 595 | --primary-foreground: #1a0d00; |
| 596 | --destructive: #ff8a8a; |
| 597 | --destructive-foreground: #0f1113; |
| 598 | --border: #343a42; |
| 599 | --ring: #ffc27a; |
| 600 | --sidebar: #16191c; |
| 601 | --sidebar-foreground: #eef0f2; |
| 602 | --sidebar-primary: #ffb347; |
| 603 | --sidebar-primary-foreground: #1a0d00; |
| 604 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 605 | --sidebar-accent-foreground: #eef0f2; |
| 606 | --sidebar-border: #343a42; |
| 607 | --sidebar-ring: #ffc27a; |
| 608 | --link: #ffc27a; |
| 609 | --mark: #5e4f12; |
| 610 | --active-row: #4f3412; |
| 611 | --active-row-foreground: #ffe2b8; |
| 612 | --ok: #7ccf96; |
| 613 | --warn: #f2b45a; |
| 614 | --bad: #ff8a8a; |
| 615 | --keycap-bg: #2a2f35; |
| 616 | } |
| 617 | |
| 618 | :root[data-scheme="sage"]:not(.dark) { |
| 619 | --background: #f5f7f4; |
| 620 | --foreground: #18201a; |
| 621 | --card: #ffffff; |
| 622 | --card-foreground: #18201a; |
| 623 | --popover: #ffffff; |
| 624 | --popover-foreground: #18201a; |
| 625 | --muted-foreground: #56625a; |
| 626 | --primary: #567752; |
| 627 | --primary-foreground: #ffffff; |
| 628 | --destructive: #b3261e; |
| 629 | --destructive-foreground: #ffffff; |
| 630 | --border: #d2dbd0; |
| 631 | --ring: #2f6b3a; |
| 632 | --sidebar: #e9efe6; |
| 633 | --sidebar-foreground: #18201a; |
| 634 | --sidebar-primary: #567752; |
| 635 | --sidebar-primary-foreground: #ffffff; |
| 636 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 637 | --sidebar-accent-foreground: #18201a; |
| 638 | --sidebar-border: #d2dbd0; |
| 639 | --sidebar-ring: #2f6b3a; |
| 640 | --link: #2f6b3a; |
| 641 | --mark: #ffe9a3; |
| 642 | --active-row: #d9ebd3; |
| 643 | --active-row-foreground: #1f3d22; |
| 644 | --ok: #1f7a4a; |
| 645 | --warn: #9a5b00; |
| 646 | --bad: #b3261e; |
| 647 | --keycap-bg: #e1e9de; |
| 648 | } |
| 649 | |
| 650 | :root[data-scheme="sage"].dark { |
| 651 | --background: #151615; |
| 652 | --foreground: #e6e6e1; |
| 653 | --card: #1b1c1b; |
| 654 | --card-foreground: #e6e6e1; |
| 655 | --popover: #1b1c1b; |
| 656 | --popover-foreground: #e6e6e1; |
| 657 | --muted-foreground: #9f9f98; |
| 658 | --primary: #4a6847; |
| 659 | --primary-foreground: #eef4ea; |
| 660 | --destructive: #f08a80; |
| 661 | --destructive-foreground: #151615; |
| 662 | --border: #2b2d2b; |
| 663 | --ring: #a7c49f; |
| 664 | --sidebar: #111211; |
| 665 | --sidebar-foreground: #e6e6e1; |
| 666 | --sidebar-primary: #4a6847; |
| 667 | --sidebar-primary-foreground: #eef4ea; |
| 668 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 669 | --sidebar-accent-foreground: #e6e6e1; |
| 670 | --sidebar-border: #2b2d2b; |
| 671 | --sidebar-ring: #a7c49f; |
| 672 | --link: #a7c49f; |
| 673 | --mark: #5e5216; |
| 674 | --active-row: #233024; |
| 675 | --active-row-foreground: #d8e6d4; |
| 676 | --ok: #8cc79a; |
| 677 | --warn: #f2b45a; |
| 678 | --bad: #f08a80; |
| 679 | --keycap-bg: #252625; |
| 680 | } |
| 681 | |
| 682 | :root[data-scheme="spark"]:not(.dark) { |
| 683 | --background: #f6f6f7; |
| 684 | --foreground: #1a1a1d; |
| 685 | --card: #ffffff; |
| 686 | --card-foreground: #1a1a1d; |
| 687 | --popover: #ffffff; |
| 688 | --popover-foreground: #1a1a1d; |
| 689 | --muted-foreground: #5b5b63; |
| 690 | --primary: #ff8205; |
| 691 | --primary-foreground: #1a0e00; |
| 692 | --destructive: #b3261e; |
| 693 | --destructive-foreground: #ffffff; |
| 694 | --border: #d8d8dd; |
| 695 | --ring: #a34c00; |
| 696 | --sidebar: #eeeef0; |
| 697 | --sidebar-foreground: #1a1a1d; |
| 698 | --sidebar-primary: #ff8205; |
| 699 | --sidebar-primary-foreground: #1a0e00; |
| 700 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 701 | --sidebar-accent-foreground: #1a1a1d; |
| 702 | --sidebar-border: #d8d8dd; |
| 703 | --sidebar-ring: #a34c00; |
| 704 | --link: #a34c00; |
| 705 | --mark: #fff1a8; |
| 706 | --active-row: #ffe8c7; |
| 707 | --active-row-foreground: #753a00; |
| 708 | --ok: #1f7a4a; |
| 709 | --warn: #9a5b00; |
| 710 | --bad: #b3261e; |
| 711 | --keycap-bg: #e5e5ea; |
| 712 | } |
| 713 | |
| 714 | :root[data-scheme="spark"].dark { |
| 715 | --background: #120f0d; |
| 716 | --foreground: #f3ebe6; |
| 717 | --card: #211b17; |
| 718 | --card-foreground: #f3ebe6; |
| 719 | --popover: #211b17; |
| 720 | --popover-foreground: #f3ebe6; |
| 721 | --muted-foreground: #ab9d94; |
| 722 | --primary: #ff9a2e; |
| 723 | --primary-foreground: #1a0e00; |
| 724 | --destructive: #ff8a8a; |
| 725 | --destructive-foreground: #120f0d; |
| 726 | --border: #3d322b; |
| 727 | --ring: #ffaa5c; |
| 728 | --sidebar: #1a1512; |
| 729 | --sidebar-foreground: #f3ebe6; |
| 730 | --sidebar-primary: #ff9a2e; |
| 731 | --sidebar-primary-foreground: #1a0e00; |
| 732 | --sidebar-accent: color-mix(in srgb, var(--sidebar) 60%, var(--border)); |
| 733 | --sidebar-accent-foreground: #f3ebe6; |
| 734 | --sidebar-border: #3d322b; |
| 735 | --sidebar-ring: #ffaa5c; |
| 736 | --link: #ffaa5c; |
| 737 | --mark: #6b5a10; |
| 738 | --active-row: #58320a; |
| 739 | --active-row-foreground: #ffe0bd; |
| 740 | --ok: #7ccf96; |
| 741 | --warn: #f2b45a; |
| 742 | --bad: #ff8a8a; |
| 743 | --keycap-bg: #2e2520; |
| 744 | } |
| 745 | |
| 746 | |
| 747 | @layer base { |
| 748 | |
| 749 | button:not(:disabled), |
| 750 | [role="button"]:not([aria-disabled="true"]), |
| 751 | [role="menuitem"], |
| 752 | [role="menuitemradio"], |
| 753 | [role="option"], |
| 754 | summary, |
| 755 | select, |
| 756 | label[for] { |
| 757 | cursor: pointer; |
| 758 | } |
| 759 | body { |
| 760 | @apply bg-background font-sans text-foreground antialiased; |
| 761 | font-size: 14px; |
| 762 | line-height: 20px; |
| 763 | } |
| 764 | |
| 765 | ::selection { |
| 766 | background-color: var(--mark); |
| 767 | color: var(--foreground); |
| 768 | } |
| 769 | |
| 770 | :focus-visible { |
| 771 | outline: 2px solid var(--ring); |
| 772 | outline-offset: 2px; |
| 773 | } |
| 774 | |
| 775 | @media (prefers-reduced-motion: reduce) { |
| 776 | *, |
| 777 | *::before, |
| 778 | *::after { |
| 779 | transition: none !important; |
| 780 | animation: none !important; |
| 781 | scroll-behavior: auto !important; |
| 782 | } |
| 783 | } |
| 784 | |
| 785 | @media (forced-colors: active) { |
| 786 | :focus-visible { |
| 787 | outline: 2px solid CanvasText; |
| 788 | outline-offset: 2px; |
| 789 | } |
| 790 | |
| 791 | ::selection { |
| 792 | background-color: Highlight; |
| 793 | color: HighlightText; |
| 794 | } |
| 795 | } |
| 796 | } |
| 797 | |
| 798 | @layer components { |
| 799 | |
| 800 | .marker { |
| 801 | border-radius: 6px; |
| 802 | color: var(--active-row-foreground); |
| 803 | background-image: linear-gradient(transparent 15%, var(--active-row) 15% 85%, transparent 85%); |
| 804 | background-repeat: no-repeat; |
| 805 | background-size: 100% 100%; |
| 806 | animation: marker-swipe 160ms ease-out; |
| 807 | } |
| 808 | |
| 809 | @keyframes marker-swipe { |
| 810 | from { |
| 811 | background-size: 0% 100%; |
| 812 | } |
| 813 | to { |
| 814 | background-size: 100% 100%; |
| 815 | } |
| 816 | } |
| 817 | |
| 818 | @media (forced-colors: active) { |
| 819 | .marker { |
| 820 | background: Highlight; |
| 821 | color: HighlightText; |
| 822 | } |
| 823 | } |
| 824 | |
| 825 | |
| 826 | |
| 827 | .scheme-dots { |
| 828 | display: inline-flex; |
| 829 | flex-shrink: 0; |
| 830 | align-items: center; |
| 831 | gap: 3px; |
| 832 | } |
| 833 | |
| 834 | .scheme-dot { |
| 835 | width: 8px; |
| 836 | height: 8px; |
| 837 | border-radius: var(--radius-pill); |
| 838 | background-color: var(--dot-light); |
| 839 | box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--foreground) 18%, transparent); |
| 840 | } |
| 841 | |
| 842 | .dark .scheme-dot { |
| 843 | background-color: var(--dot-dark); |
| 844 | } |
| 845 | |
| 846 | |
| 847 | [role="menuitemradio"] .scheme-check { |
| 848 | flex-shrink: 0; |
| 849 | opacity: 0; |
| 850 | } |
| 851 | |
| 852 | [role="menuitemradio"][aria-checked="true"] .scheme-check { |
| 853 | opacity: 1; |
| 854 | } |
| 855 | |
| 856 | |
| 857 | .keycap { |
| 858 | display: inline-flex; |
| 859 | align-items: center; |
| 860 | justify-content: center; |
| 861 | gap: 4px; |
| 862 | min-width: 20px; |
| 863 | padding: 1px 5px; |
| 864 | font-family: var(--font-mono); |
| 865 | font-size: 11px; |
| 866 | line-height: 16px; |
| 867 | white-space: nowrap; |
| 868 | color: var(--muted-foreground); |
| 869 | background-color: var(--keycap-bg); |
| 870 | border: 1px solid var(--border); |
| 871 | border-bottom-width: 2px; |
| 872 | border-radius: 4px; |
| 873 | } |
| 874 | |
| 875 | |
| 876 | |
| 877 | |
| 878 | .segmented { |
| 879 | display: inline-flex; |
| 880 | flex-shrink: 0; |
| 881 | align-items: center; |
| 882 | gap: 2px; |
| 883 | height: 28px; |
| 884 | padding: 2px; |
| 885 | border-radius: var(--radius-control); |
| 886 | background-color: color-mix(in srgb, var(--foreground) 5%, transparent); |
| 887 | } |
| 888 | |
| 889 | .segment { |
| 890 | display: inline-flex; |
| 891 | flex-shrink: 0; |
| 892 | align-items: center; |
| 893 | justify-content: center; |
| 894 | height: 24px; |
| 895 | min-width: 24px; |
| 896 | padding: 0 8px; |
| 897 | border: 1px solid transparent; |
| 898 | border-radius: 4px; |
| 899 | font-size: 12px; |
| 900 | font-weight: 500; |
| 901 | line-height: 16px; |
| 902 | color: var(--muted-foreground); |
| 903 | background-color: transparent; |
| 904 | cursor: pointer; |
| 905 | transition: background-color 150ms ease-out, color 150ms ease-out, box-shadow 150ms ease-out; |
| 906 | } |
| 907 | |
| 908 | .segment:hover { |
| 909 | color: var(--foreground); |
| 910 | background-color: color-mix(in srgb, var(--foreground) 6%, transparent); |
| 911 | } |
| 912 | |
| 913 | .segment:active { |
| 914 | background-color: color-mix(in srgb, var(--foreground) 12%, transparent); |
| 915 | } |
| 916 | |
| 917 | .segment-icon { |
| 918 | width: 24px; |
| 919 | padding: 0; |
| 920 | } |
| 921 | |
| 922 | |
| 923 | .segment[aria-pressed="true"] { |
| 924 | color: var(--foreground); |
| 925 | background-color: var(--card); |
| 926 | border-color: var(--border); |
| 927 | box-shadow: var(--shadow-xs); |
| 928 | } |
| 929 | |
| 930 | .segment:disabled { |
| 931 | cursor: not-allowed; |
| 932 | opacity: 0.5; |
| 933 | } |
| 934 | |
| 935 | |
| 936 | .hairline-t { |
| 937 | border-top: 1px solid var(--border); |
| 938 | } |
| 939 | .hairline-b { |
| 940 | border-bottom: 1px solid var(--border); |
| 941 | } |
| 942 | .hairline-l { |
| 943 | border-left: 1px solid var(--border); |
| 944 | } |
| 945 | .hairline-r { |
| 946 | border-right: 1px solid var(--border); |
| 947 | } |
| 948 | |
| 949 | |
| 950 | .section-label { |
| 951 | font-family: var(--font-mono); |
| 952 | font-size: 11px; |
| 953 | line-height: 16px; |
| 954 | letter-spacing: 0.06em; |
| 955 | text-transform: uppercase; |
| 956 | color: var(--muted-foreground); |
| 957 | } |
| 958 | } |
| 959 | |
| 960 | |
| 961 | |
| 962 | |
| 963 | input[type="search"]::-webkit-search-cancel-button { |
| 964 | -webkit-appearance: none; |
| 965 | appearance: none; |
| 966 | width: 14px; |
| 967 | height: 14px; |
| 968 | cursor: pointer; |
| 969 | background-color: var(--muted-foreground); |
| 970 | -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat; |
| 971 | mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat; |
| 972 | } |
| 973 | input[type="search"]::-webkit-search-cancel-button:hover { |
| 974 | background-color: var(--foreground); |
| 975 | } |
| 976 | #search-input:not(:placeholder-shown) { |
| 977 | padding-right: 2rem; |
| 978 | } |
| 979 | form:has(#search-input:not(:placeholder-shown)) .search-hint { |
| 980 | display: none; |
| 981 | } |
| 982 | |
| 983 | |
| 984 | .filter-box { |
| 985 | display: inline-flex; |
| 986 | flex-shrink: 0; |
| 987 | align-items: center; |
| 988 | justify-content: center; |
| 989 | width: 16px; |
| 990 | height: 16px; |
| 991 | border: 1px solid var(--border); |
| 992 | border-radius: 4px; |
| 993 | } |
| 994 | .filter-box svg { |
| 995 | display: none; |
| 996 | width: 12px; |
| 997 | height: 12px; |
| 998 | } |
| 999 | [aria-checked="true"] > .filter-box { |
| 1000 | border-color: transparent; |
| 1001 | background: var(--primary); |
| 1002 | color: var(--primary-foreground); |
| 1003 | } |
| 1004 | [aria-checked="true"] > .filter-box svg { |
| 1005 | display: block; |
| 1006 | } |