feat(app): generate color palettes (#16232)

This commit is contained in:
Adam
2026-03-08 19:28:58 -05:00
committed by GitHub
parent 7d7837e5b6
commit b976f339e8
29 changed files with 1268 additions and 2988 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