refactor: simplify frontend theme setup

This commit is contained in:
2026-05-07 16:35:47 -04:00
parent 9768a37252
commit 6ac05e1a10
9 changed files with 70 additions and 199 deletions

View File

@@ -0,0 +1,29 @@
export const socializeTheme = {
dark: false,
colors: {
background: '#f4f6f3',
'on-background': '#172033',
surface: '#fbfaf6',
'surface-muted': '#f1f5f2',
'on-surface': '#172033',
control: '#eef3ef',
'control-hover': '#e7eee9',
'control-focus': '#ffffff',
border: '#c7d2cc',
'border-strong': '#94a39d',
primary: '#172033',
'on-primary': '#fbfaf6',
secondary: '#fff3e2',
'on-secondary': '#172033',
tertiary: '#d9f6ee',
'on-tertiary': '#0f766e',
accent: '#ff8a3d',
'accent-strong': '#ef4444',
highlight: '#2fa58d',
error: '#bc2f2f',
'on-error': '#ffffff',
info: '#2563eb',
success: '#2fa58d',
warning: '#b45309',
},
};