Repository navigation
feat(tui): tint response structure, scan bands, and table zebra rows in markdown - #446
Merged
Merged
Conversation
…in markdown Add three optional palette tokens: `structure` (section labels and list markers, falling back to `info`), `scan_band` (ground behind outermost list blocks, falling back to `surface`), and `zebra_row` (even table body rows, falling back to a 50/50 background/surface blend). H1/H2 render as uppercased section labels with a hairline rule; list markers take the structure hue while prose stays neutral; tables zebra-stripe their body rows. Both built-in themes declare the tokens explicitly, older theme drops keep parsing via fallbacks, and FORGE-DESIGN.md documents the treatment. cargo fmt --check, workspace clippy -D warnings, forge-config + forge-tui tests all pass.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
…in markdown (#446) Add three optional palette tokens: `structure` (section labels and list markers, falling back to `info`), `scan_band` (ground behind outermost list blocks, falling back to `surface`), and `zebra_row` (even table body rows, falling back to a 50/50 background/surface blend). H1/H2 render as uppercased section labels with a hairline rule; list markers take the structure hue while prose stays neutral; tables zebra-stripe their body rows. Both built-in themes declare the tokens explicitly, older theme drops keep parsing via fallbacks, and FORGE-DESIGN.md documents the treatment. cargo fmt --check, workspace clippy -D warnings, forge-config + forge-tui tests all pass.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
…in markdown (#446) Add three optional palette tokens: `structure` (section labels and list markers, falling back to `info`), `scan_band` (ground behind outermost list blocks, falling back to `surface`), and `zebra_row` (even table body rows, falling back to a 50/50 background/surface blend). H1/H2 render as uppercased section labels with a hairline rule; list markers take the structure hue while prose stays neutral; tables zebra-stripe their body rows. Both built-in themes declare the tokens explicitly, older theme drops keep parsing via fallbacks, and FORGE-DESIGN.md documents the treatment. cargo fmt --check, workspace clippy -D warnings, forge-config + forge-tui tests all pass.
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
ThemePalette:structure(section labels and list markers; falls back toinfo),scan_band(ground behind outermost list blocks; falls back tosurface), andzebra_row(even table body rows; falls back to a 50/50 background/surface blend derived per theme).forge-dark,forge-light) declare the tokens explicitly; older user theme drops keep parsing via fallbacks (covered by new tests).FORGE-DESIGN.md.Test plan
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --locked -- -D warningscargo test --package forge-config --package forge-tui --all-targets --locked