|
52 | 52 |
|
53 | 53 | --color-code-bg: #0f172a; |
54 | 54 |
|
| 55 | + /* Surface tokens for layered UI */ |
| 56 | + --color-surface-overlay: #ffffff; |
| 57 | + --color-dark-surface-overlay: #1f2937; |
| 58 | + |
| 59 | + /* Interactive states */ |
| 60 | + --color-interactive-hover: #f9fafb; |
| 61 | + --color-dark-interactive-hover: #374151; |
| 62 | + |
| 63 | + /* Skeleton/loading states */ |
| 64 | + --color-skeleton: #e5e7eb; |
| 65 | + --color-dark-skeleton: #374151; |
| 66 | + |
| 67 | + /* Tooltip */ |
| 68 | + --color-tooltip-bg: #111827; |
| 69 | + --color-tooltip-fg: #ffffff; |
| 70 | + |
55 | 71 | /* Font Families */ |
56 | 72 | --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif; |
57 | 73 | --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; |
|
413 | 429 | Editor Component Styles |
414 | 430 | ========================================================================== */ |
415 | 431 |
|
416 | | - /* Bare input (no border/background) for inline editing */ |
417 | | - .form-input-bare { |
418 | | - @apply bg-transparent border-0 focus:ring-0 w-full text-sm font-medium |
419 | | - text-fg-default dark:text-dark-fg-default |
420 | | - placeholder-fg-muted dark:placeholder-dark-fg-muted; |
421 | | - } |
422 | | - |
423 | 432 | /* Output container for code execution results */ |
424 | 433 | .output-container { |
425 | 434 | @apply bg-bg-alt dark:bg-dark-bg-alt border border-border-default |
|
440 | 449 | .output-pre, |
441 | 450 | .custom-scrollbar { |
442 | 451 | scrollbar-width: thin; |
443 | | - scrollbar-color: #9ca3af #e5e7eb; /* neutral-400 neutral-200 */ |
| 452 | + scrollbar-color: var(--color-fg-subtle) var(--color-skeleton); |
| 453 | + } |
| 454 | + |
| 455 | + :is(.dark .output-content), |
| 456 | + :is(.dark .output-pre), |
| 457 | + :is(.dark .custom-scrollbar) { |
| 458 | + scrollbar-color: var(--color-dark-fg-subtle) var(--color-dark-skeleton); |
444 | 459 | } |
445 | 460 |
|
446 | 461 | .output-content::-webkit-scrollbar, |
|
501 | 516 |
|
502 | 517 | /* Small input variant for admin tables */ |
503 | 518 | .input-sm { |
504 | | - @apply px-2 py-1 text-sm border border-gray-300 dark:border-gray-600 |
505 | | - rounded bg-white dark:bg-gray-700 text-fg-default dark:text-dark-fg-default; |
| 519 | + @apply px-2 py-1 text-sm border border-border-input dark:border-dark-border-input |
| 520 | + rounded bg-surface-overlay dark:bg-dark-surface-overlay text-fg-default dark:text-dark-fg-default; |
506 | 521 | } |
507 | 522 | } |
0 commit comments