wip(app): generate color palettes

This commit is contained in:
Adam 2026-03-05 15:30:33 -06:00
commit 3e988d640d
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
22 changed files with 646 additions and 2579 deletions

View file

@ -217,7 +217,7 @@ export const Terminal = (props: TerminalProps) => {
const currentTheme = theme.themes()[theme.themeId()]
if (!currentTheme) return fallback
const variant = mode === "dark" ? currentTheme.dark : currentTheme.light
if (!variant?.seeds) return fallback
if (!variant?.seeds && !variant?.palette) return fallback
const resolved = resolveThemeVariant(variant, mode === "dark")
const text = resolved["text-stronger"] ?? fallback.foreground
const background = resolved["background-stronger"] ?? fallback.background