Resolve ui stuff

This commit is contained in:
Hugh Kaznowski
2026-09-05 18:00:56 +01:00
parent 00c21c8032
commit 070e835fa4
11 changed files with 350 additions and 261 deletions
+96 -96
View File
@@ -95,136 +95,136 @@ export const BUILTIN_THEMES: Record<string, ThemeVars> = {
'--c-accent-text': '#7dd3fc',
},
red: {
'--c-surface-0': '#282828',
'--c-surface-1': '#4e4e4e',
'--c-surface-2': '#5a5a5a',
'--c-border': '#5a5a5a',
'--c-border-soft': '#6a6a6a',
'--c-border-faint': '#4e4e4e',
'--c-border-strong': '#b4b4b4',
'--c-text': '#f0f0f0',
'--c-text-secondary': '#d0d0d0',
'--c-text-muted': '#b4b4b4',
'--c-text-subtle': '#9a9a9a',
'--c-text-faint': '#818181',
'--c-text-faintest': '#6a6a6a',
'--c-surface-0': 'hsl(0 32% 10%)',
'--c-surface-1': 'hsl(0 28% 16%)',
'--c-surface-2': 'hsl(0 26% 22%)',
'--c-border': 'hsl(0 24% 24%)',
'--c-border-soft': 'hsl(0 22% 33%)',
'--c-border-faint': 'hsl(0 28% 16%)',
'--c-border-strong': 'hsl(0 15% 62%)',
'--c-text': 'hsl(0 15% 94%)',
'--c-text-secondary': 'hsl(0 12% 82%)',
'--c-text-muted': 'hsl(0 10% 65%)',
'--c-text-subtle': 'hsl(0 8% 50%)',
'--c-text-faint': 'hsl(0 8% 38%)',
'--c-text-faintest': 'hsl(0 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#f87171',
'--c-accent-soft': '#b91c1c',
'--c-accent-text': '#fca5a5',
'--c-accent': 'hsl(180 70% 62%)',
'--c-accent-soft': 'hsl(150 55% 34%)',
'--c-accent-text': 'hsl(180 75% 80%)',
},
green: {
'--c-surface-0': '#1a1a1a',
'--c-surface-1': '#343434',
'--c-surface-2': '#3d3d3d',
'--c-border': '#3d3d3d',
'--c-border-soft': '#4a4a4a',
'--c-border-faint': '#343434',
'--c-border-strong': '#949494',
'--c-text': '#ececec',
'--c-text-secondary': '#bbbbbb',
'--c-text-muted': '#949494',
'--c-text-subtle': '#747474',
'--c-text-faint': '#5c5c5c',
'--c-text-faintest': '#4a4a4a',
'--c-surface-0': 'hsl(140 32% 10%)',
'--c-surface-1': 'hsl(140 28% 16%)',
'--c-surface-2': 'hsl(140 26% 22%)',
'--c-border': 'hsl(140 24% 24%)',
'--c-border-soft': 'hsl(140 22% 33%)',
'--c-border-faint': 'hsl(140 28% 16%)',
'--c-border-strong': 'hsl(140 15% 62%)',
'--c-text': 'hsl(140 15% 94%)',
'--c-text-secondary': 'hsl(140 12% 82%)',
'--c-text-muted': 'hsl(140 10% 65%)',
'--c-text-subtle': 'hsl(140 8% 50%)',
'--c-text-faint': 'hsl(140 8% 38%)',
'--c-text-faintest': 'hsl(140 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#4ade80',
'--c-accent-soft': '#15803d',
'--c-accent-text': '#86efac',
'--c-accent': 'hsl(320 70% 62%)',
'--c-accent-soft': 'hsl(290 55% 34%)',
'--c-accent-text': 'hsl(320 75% 80%)',
},
blue: {
'--c-surface-0': '#363636',
'--c-surface-1': '#545454',
'--c-surface-2': '#666666',
'--c-border': '#666666',
'--c-border-soft': '#7a7a7a',
'--c-border-faint': '#545454',
'--c-border-strong': '#adadad',
'--c-text': '#ececec',
'--c-text-secondary': '#c8c8c8',
'--c-text-muted': '#adadad',
'--c-text-subtle': '#989898',
'--c-text-faint': '#888888',
'--c-text-faintest': '#7a7a7a',
'--c-surface-0': 'hsl(210 32% 10%)',
'--c-surface-1': 'hsl(210 28% 16%)',
'--c-surface-2': 'hsl(210 26% 22%)',
'--c-border': 'hsl(210 24% 24%)',
'--c-border-soft': 'hsl(210 22% 33%)',
'--c-border-faint': 'hsl(210 28% 16%)',
'--c-border-strong': 'hsl(210 15% 62%)',
'--c-text': 'hsl(210 15% 94%)',
'--c-text-secondary': 'hsl(210 12% 82%)',
'--c-text-muted': 'hsl(210 10% 65%)',
'--c-text-subtle': 'hsl(210 8% 50%)',
'--c-text-faint': 'hsl(210 8% 38%)',
'--c-text-faintest': 'hsl(210 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#60a5fa',
'--c-accent-soft': '#1d4ed8',
'--c-accent-text': '#93c5fd',
'--c-accent': 'hsl(30 70% 62%)',
'--c-accent-soft': 'hsl(0 55% 34%)',
'--c-accent-text': 'hsl(30 75% 80%)',
},
yellow: {
'--c-surface-0': '#242424',
'--c-surface-1': '#424242',
'--c-surface-2': '#4a4a4a',
'--c-border': '#4a4a4a',
'--c-border-soft': '#545454',
'--c-border-faint': '#424242',
'--c-border-strong': '#888888',
'--c-text': '#e0e0e0',
'--c-text-secondary': '#a2a2a2',
'--c-text-muted': '#888888',
'--c-text-subtle': '#797979',
'--c-text-faint': '#676767',
'--c-text-faintest': '#545454',
'--c-surface-0': 'hsl(50 32% 10%)',
'--c-surface-1': 'hsl(50 28% 16%)',
'--c-surface-2': 'hsl(50 26% 22%)',
'--c-border': 'hsl(50 24% 24%)',
'--c-border-soft': 'hsl(50 22% 33%)',
'--c-border-faint': 'hsl(50 28% 16%)',
'--c-border-strong': 'hsl(50 15% 62%)',
'--c-text': 'hsl(50 15% 94%)',
'--c-text-secondary': 'hsl(50 12% 82%)',
'--c-text-muted': 'hsl(50 10% 65%)',
'--c-text-subtle': 'hsl(50 8% 50%)',
'--c-text-faint': 'hsl(50 8% 38%)',
'--c-text-faintest': 'hsl(50 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#facc15',
'--c-accent-soft': '#a16207',
'--c-accent-text': '#fde047',
'--c-accent': 'hsl(230 70% 62%)',
'--c-accent-soft': 'hsl(200 55% 34%)',
'--c-accent-text': 'hsl(230 75% 80%)',
},
pink: {
'--c-surface-0': '#2c2c2c',
'--c-surface-1': '#4e4e4e',
'--c-surface-2': '#5a5a5a',
'--c-border': '#5a5a5a',
'--c-border-soft': '#6b6b6b',
'--c-border-faint': '#4e4e4e',
'--c-border-strong': '#b3b3b3',
'--c-text': '#f2f2f2',
'--c-text-secondary': '#d0d0d0',
'--c-text-muted': '#b3b3b3',
'--c-text-subtle': '#9a9a9a',
'--c-text-faint': '#818181',
'--c-text-faintest': '#6b6b6b',
'--c-surface-0': 'hsl(330 32% 10%)',
'--c-surface-1': 'hsl(330 28% 16%)',
'--c-surface-2': 'hsl(330 26% 22%)',
'--c-border': 'hsl(330 24% 24%)',
'--c-border-soft': 'hsl(330 22% 33%)',
'--c-border-faint': 'hsl(330 28% 16%)',
'--c-border-strong': 'hsl(330 15% 62%)',
'--c-text': 'hsl(330 15% 94%)',
'--c-text-secondary': 'hsl(330 12% 82%)',
'--c-text-muted': 'hsl(330 10% 65%)',
'--c-text-subtle': 'hsl(330 8% 50%)',
'--c-text-faint': 'hsl(330 8% 38%)',
'--c-text-faintest': 'hsl(330 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#f472b6',
'--c-accent-soft': '#be185d',
'--c-accent-text': '#f9a8d4',
'--c-accent': 'hsl(150 70% 62%)',
'--c-accent-soft': 'hsl(120 55% 34%)',
'--c-accent-text': 'hsl(150 75% 80%)',
},
orange: {
'--c-surface-0': '#252525',
'--c-surface-1': '#474747',
'--c-surface-2': '#565656',
'--c-border': '#565656',
'--c-border-soft': '#676767',
'--c-border-faint': '#474747',
'--c-border-strong': '#9b9b9b',
'--c-text': '#eaeaea',
'--c-text-secondary': '#b8b8b8',
'--c-text-muted': '#9b9b9b',
'--c-text-subtle': '#888888',
'--c-text-faint': '#7b7b7b',
'--c-text-faintest': '#676767',
'--c-surface-0': 'hsl(30 32% 10%)',
'--c-surface-1': 'hsl(30 28% 16%)',
'--c-surface-2': 'hsl(30 26% 22%)',
'--c-border': 'hsl(30 24% 24%)',
'--c-border-soft': 'hsl(30 22% 33%)',
'--c-border-faint': 'hsl(30 28% 16%)',
'--c-border-strong': 'hsl(30 15% 62%)',
'--c-text': 'hsl(30 15% 94%)',
'--c-text-secondary': 'hsl(30 12% 82%)',
'--c-text-muted': 'hsl(30 10% 65%)',
'--c-text-subtle': 'hsl(30 8% 50%)',
'--c-text-faint': 'hsl(30 8% 38%)',
'--c-text-faintest': 'hsl(30 10% 28%)',
'--c-danger-bg': '#450a0a',
'--c-danger-border': '#7f1d1d',
'--c-danger-text': '#f87171',
'--c-danger-text-strong': '#fca5a5',
'--c-accent': '#fb923c',
'--c-accent-soft': '#c2410c',
'--c-accent-text': '#fdba74',
'--c-accent': 'hsl(210 70% 62%)',
'--c-accent-soft': 'hsl(180 55% 34%)',
'--c-accent-text': 'hsl(210 75% 80%)',
},
}