Skip to content

fix: honor explicit chart colors and reject unknown schemes - #74

Merged
vrtornisiello merged 1 commit into
stagingfrom
fix/chart-color-scheme-validation
Sep 21, 2026
Merged

vrtornisiello merged 1 commit into
stagingfrom
fix/chart-color-scheme-validation

Conversation

@vrtornisiello

Copy link
Copy Markdown
Collaborator

Let the chart-spec generator set a requested color (explicit CSS colors or a scheme from Vega's built-in list) instead of always deferring to the frontend palette, and reject any scheme name outside that list in the validator — an unknown scheme passed offline validation (vl-convert only logs it) and then rendered blank in the browser.

Let the chart-spec generator set a requested color (explicit CSS colors or
a scheme from Vega's built-in list) instead of always deferring to the
frontend palette, and reject any scheme name outside that list in the
validator — an unknown scheme passed offline validation (vl-convert only
logs it) and then rendered blank in the browser.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vrtornisiello
vrtornisiello merged commit f662ca0 into staging Sep 21, 2026
1 check passed
@vrtornisiello
vrtornisiello deleted the fix/chart-color-scheme-validation branch September 21, 2026 14:41
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