Skip to content

Brand: env override for trace palette#311

Merged
milanofthe merged 1 commit into
mainfrom
refactor/brand-trace-palette-env
Jun 2, 2026
Merged

Brand: env override for trace palette#311
milanofthe merged 1 commit into
mainfrom
refactor/brand-trace-palette-env

Conversation

@milanofthe
Copy link
Copy Markdown
Member

tracePalette was the only BRAND field without a VITE_BRAND_* override (every other field is already env-configurable). A re-branded build that needs a different trace palette (e.g. a red-accent brand that drops the leading soft red) had to fork brand.ts just for the color list.

Adds VITE_BRAND_TRACE_PALETTE (comma-separated hex), parsed into a color array; falls back to the existing PathSim default when unset. Completes the brand seam so a distribution can re-brand entirely through env vars without touching brand.ts.

svelte-check: 0 errors/0 warnings.

@milanofthe milanofthe merged commit 31522f7 into main Jun 2, 2026
4 checks passed
@milanofthe milanofthe deleted the refactor/brand-trace-palette-env branch June 2, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant