Repository navigation
Light theme fast-track: shared tokens, reading-a-hydrograph and watershed-runoff pilots - #7
Merged
Merged
Conversation
…a-hydrograph and watershed-runoff - shared/theme.css (--hy-* tokens, four themes, dark plate tokens, paper card, print sheet) and shared/theme.js (HydroTheme) - reading-a-hydrograph 0.5.0 fully on tokens; watershed-runoff 0.5.0 on tokens with dark plates for maps and 3-D stages, white untinted lights - evapotranspiration-budyko 0.1.1: axis strokes and matplotlib edge colour meet 3:1 - course 0.4.2; static outputs re-rendered; README table regenerated - tests: token contrast and colour-vision gate, hard-coded colour ratchet, HydroTheme, scene lights and stage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hed-runoff 0.5.0, evapotranspiration-budyko 0.1.1, course 0.4.2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
Owner-approved fast-track of
docs/vision-2040/findings/module-theme-study-2026-11-24.md(Modules side). Light is the default when no theme is signalled; dark and the two high-contrast themes are first-class. Text, numbers and claims are unchanged; only colours and styles moved.shared/theme.css(--hy-*tokens for light / dark / hc-dark / hc-light, precedencehtml[data-aihydro-theme]> forced-colors >prefers-color-scheme> light, dark "plate" tokens, paper card for matplotlib figures, light print sheet) andshared/theme.js(HydroTheme.kind/color/series/dash/onChange).#475569and matplotlib edge#334155->#8b949e(6.4:1).api/modules.json,api/courses.jsonregenerated withscripts/build_api.py; course 0.4.2.tests/test_theme_tokens.py(contrast, tinted panels, CVD, print, plate), T2tests/test_theme_ratchet.py+tests/theme_hex_baseline.json, T3tests/js/theme.test.js, scene test for white lights and plate stage.Checks run (local)
build_modules.py --check,render_static_outputs.py --check,gen_docs.py --check,validate_manifests.py,check_csp.py,build_api.py --checkall clean;pytest tests358 passed, 3 skipped;node --test tests/js/*.test.js164 passed, 0 failed.Review notes
tests/test_scene3d.pywent 130,000 -> 140,000 (cap not raised).data-aihydro-theme(separate PR; contract indocs/vision-2040/findings/theme-contract-2026-11-24.md, open points appended there).#475569/#334155remain in five of them (listed in CHANGELOG).🤖 Generated with Claude Code