feat(ui): add Studio and Atlas named themes#11
Draft
dustenhubbard wants to merge 2 commits into
Draft
Conversation
Add two named themes alongside the existing system/light/dark: - Studio: a cool, dark, scientific base (#0c0f14 ground) with a calm teal accent (#37c0a6) - Atlas: Studio's light sibling for bright rooms, same teal accent Both build on qdarkstyle's Dark/Light base, then a single-pass palette remap substitutes every qdarkstyle hex for its Studio/Atlas counterpart. qdarkstyle's palette constants are read at run time, so the remap tracks the installed version; light/dark are left untouched. The on-accent ink turns dark on the brighter teal so selected rows, highlighted menu items, and the active-tool glyph stay legible (white on #37c0a6 is ~2.3:1). Both theme pickers (All Options > View and the Theme menu) offer the new options; the choice persists via the existing QSettings "theme" key, and normalize_mode stays backward-compatible (legacy default/qdark migrate). Studio's palette is lifted from the UI-direction mockup; Atlas's light shell is derived to mirror it, since the mockup names Atlas but gives no explicit palette. Hues are provisional, intended for interactive tuning. Adds headless tests covering theme/family resolution, per-theme accent and icon colors, stylesheet distinctness, remap completeness (no qdarkstyle hue survives), the light/dark-unchanged contract, and persistence round-trips.
…t/ui-theme-studio-atlas # Conflicts: # PyReconstruct/modules/gui/dialog/all_options.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add two named themes alongside the existing system/light/dark:
teal accent (#37c0a6)
Both build on qdarkstyle's Dark/Light base, then a single-pass palette
remap substitutes every qdarkstyle hex for its Studio/Atlas counterpart.
qdarkstyle's palette constants are read at run time, so the remap tracks
the installed version; light/dark are left untouched. The on-accent ink
turns dark on the brighter teal so selected rows, highlighted menu items,
and the active-tool glyph stay legible (white on #37c0a6 is ~2.3:1).
Both theme pickers (All Options > View and the Theme menu) offer the new
options; the choice persists via the existing QSettings "theme" key, and
normalize_mode stays backward-compatible (legacy default/qdark migrate).
Studio's palette is lifted from the UI-direction mockup; Atlas's light
shell is derived to mirror it, since the mockup names Atlas but gives no
explicit palette. Hues are provisional, intended for interactive tuning.
Adds headless tests covering theme/family resolution, per-theme accent
and icon colors, stylesheet distinctness, remap completeness (no
qdarkstyle hue survives), the light/dark-unchanged contract, and
persistence round-trips.