feat(themes): add built-in High Contrast Dark and Light themes#11104
feat(themes): add built-in High Contrast Dark and Light themes#11104SagarSDagdu wants to merge 1 commit into
Conversation
Adds two accessibility-focused themes selectable from the theme chooser: High Contrast Dark (black bg, white fg, yellow accent) and High Contrast Light (white bg, black fg, deep-blue accent). ANSI palettes use fully saturated colors targeting WCAG AAA contrast against the background; the dark blue is lifted from pure 0000FF because its luminance is too low to read on black. Fixes warpdotdev#11043.
|
This PR is not linked to an issue that is marked with Issue-state enforcement details:
Readiness check:
To continue, link this PR to a same-repo issue such as Powered by Oz |
There was a problem hiding this comment.
This PR is not linked to an issue that is marked with ready-to-implement.
Issue-state enforcement details:
-
Associated same-repo issues checked: #11043
-
Required readiness label:
ready-to-implement
Readiness check:
- #11043: missing
ready-to-implement; readiness labels present: none
To continue, link this PR to a same-repo issue such as Closes #123 in the PR description, and make sure that issue has ready-to-implement.
Powered by Oz
Description
Adds two accessibility-focused built-in themes selectable from the theme chooser:
ANSI palettes use fully saturated colors targeting WCAG AAA contrast against the background. The dark theme's blue is lifted from pure
#0000FFto#4080FFbecause pure blue's luminance is too low to read on black.The change follows the same pattern as the other 23 bundled themes: color constants and
WarpThemeconstructors indefault_themes.rs, newThemeKindvariants wired throughDisplayandWarpThemeConfig::new()intheme.rs.Linked Issue
Fixes #11043.
ready-to-specorready-to-implement.Screenshots / Videos
Testing
cargo check -p warppassesAgent Mode