Repository navigation
Conversation
Gruvbox warmth on a blue-grey surface, with a dusty-mauve accent, matching the AETHER / G.A.I.A v2 desktop theme. Three slots deviate from the source palette because its literal values fail the crate's own contrast audit: accent.primary uses the source magenta (#c98fa0) since no foreground reaches AA on #a0607a, state.selection_bg is a lightened selection (#503a4a) to clear MIN_SELECTION_DELTA, and state.focus is the magenta accent at 6.45:1 on the base surface.
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.
Summary
Adds a ninth built-in theme, Gaia Aether, to the
Themeenum: Gruvboxwarmth (cream
#f2e5bctext, moss and amber hues) on a blue-grey#181c22surface, with a dusty-mauve accent. It matches the AETHER / G.A.I.A v2
desktop palette I already use everywhere else, so a document read in this
viewer sits in the same colours as the rest of the desktop.
Follows the documented extension path in
src/theme/mod.rs— one enumvariant, one
Tokensconstructor insrc/theme/themes.rs, one dispatch armin
src/theme/tokens.rs— so nothing else needed touching. The settingsmodal, config parsing, and the syntect mapping pick it up automatically.
Changes
src/theme/mod.rs—Theme::GaiaAethervariant,Theme::ALL,label()(
"Gaia Aether"), andsyntax_theme_name()(
"base16-eighties.dark", the warm dark bucket shared with Dracula/Gruvbox Dark).src/theme/themes.rs—gaia_aether(), with the source-palette namescarried through as comments.
src/theme/tokens.rs— dispatch arm.README.md— theme count updated to nine, new bullet in the Themes list,gaia_aetheradded to theconfig.tomlexample.CHANGELOG.md—## [Unreleased]entry.Three slots deliberately depart from the source palette, because the literal
values fail this crate's existing contrast audit — the details are in the
gaia_aether()doc comment and the changelog entry:accent.primary#a0607a#c98fa0#a0607a(ceiling 3.76:1); it carrieson_accenttext in the status and tab bars. Source value stays asaccent.alt.state.selection_bg#261a28#503a4aMIN_SELECTION_DELTA(3.0) — an invisible selection.state.focus#c98fa0Test Plan
cargo test --workspace) — 1621 pass, 3 ignored, 0 fail, on Linuxsrc/theme/mod.rs::testsandsrc/theme/tokens.rs::testsiterateTheme::ALL, so the new variant is pinned to the same WCAG AA floor, focusvisibility, and selection-distinctness checks as every other theme
rustc1.98.1); macOS untestedmermaid-textCLI — no Mermaid changeAlso run locally, per
CONTRIBUTING.md:cargo fmt --all -- --check— cleancargo clippy --all-targets -- -D warnings— cleanManual check: launched the viewer against this repo's
README.md, opened thesettings modal (
c), confirmedGaia Aetherappears as the ninth entry andapplies live, and compared the rendered output against the desktop palette
(dark blue-grey surface, cream reading text, mauve selection highlight, moss
and cyan headings).
Checklist
markdown-tui-explorer, crate-local formermaid-text)clippywarnings (cargo clippy --all-targets -- -D warnings)Cargo.tomlif user-visible — left to your release commit, since your release flow bumps the version in a separaterelease:commit and I did not want to guess the next numberLinked Issue
None — no issue for this; happy to open one first if you would rather review
it as an issue than as a PR.