Skip to content

fix(defaults): factory colorMode theme instead of rainbow - #687

Merged
CaYatur merged 2 commits into
mainfrom
fix/default-color-mode-theme
Oct 1, 2026
Merged

CaYatur merged 2 commits into
mainfrom
fix/default-color-mode-theme

Conversation

@CaYatur

@CaYatur CaYatur commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

Factory-default visualizer.colorMode is now theme (color theme) instead of rainbow, so color presets/templates apply on a fresh install. Background was already theme. Text, now-playing, and layers that bind to visualizer.colorMode inherit this default.

Keys changed

Path Before After
visualizer.colorMode 'rainbow' 'theme'
visualizer.rainbow true false
background.colorMode 'theme' (unchanged) 'theme'

Geometry colorMode: 'palette' and lighting rainbow-* mode settings are unrelated and unchanged.

Tests

  • Added factory assertion in tests/background-color-mode.test.js
  • Related suites pass locally (background-color-mode, config, layers-config-cost, layer-draw-error, templates)

Why

Rainbow ignored the shared palette / gradient presets. Theme mode makes color templates matter out of the box.

Visualizer (and surfaces that bind to visualizer.colorMode: text,
now-playing, layers) now factory-default to color theme so gradient
presets/templates apply out of the box. Background was already theme.
@CaYatur
CaYatur merged commit 054cf03 into main Oct 1, 2026
5 checks passed
@CaYatur
CaYatur deleted the fix/default-color-mode-theme branch October 1, 2026 18:02
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