Skip to content

feat(themes): add built-in High Contrast Dark and Light themes#11104

Open
SagarSDagdu wants to merge 1 commit into
warpdotdev:masterfrom
SagarSDagdu:feat/high-contrast-theme
Open

feat(themes): add built-in High Contrast Dark and Light themes#11104
SagarSDagdu wants to merge 1 commit into
warpdotdev:masterfrom
SagarSDagdu:feat/high-contrast-theme

Conversation

@SagarSDagdu
Copy link
Copy Markdown
Contributor

@SagarSDagdu SagarSDagdu commented May 16, 2026

Description

Adds two accessibility-focused built-in themes selectable from the theme chooser:

  • High Contrast Dark — black background, white foreground, yellow accent
  • High Contrast Light — white background, black foreground, deep-blue accent

ANSI palettes use fully saturated colors targeting WCAG AAA contrast against the background. The dark theme's blue is lifted from pure #0000FF to #4080FF because 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 WarpTheme constructors in default_themes.rs, new ThemeKind variants wired through Display and WarpThemeConfig::new() in theme.rs.

Linked Issue

Fixes #11043.

  • The linked issue is labeled ready-to-spec or ready-to-implement.

Screenshots / Videos

Screenshot 2026-05-16 at 8 07 43 PM Screenshot 2026-05-16 at 8 07 26 PM Screenshot 2026-05-16 at 8 07 08 PM

Testing

  • cargo check -p warp passes
  • Manually verified both themes render in the theme chooser and apply correctly to the terminal (built-in palette + UI chrome)

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

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.
@cla-bot cla-bot Bot added the cla-signed label May 16, 2026
@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 16, 2026
@SagarSDagdu SagarSDagdu marked this pull request as ready for review May 16, 2026 14:40
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 16, 2026

@SagarSDagdu

This PR is not linked to an issue that is marked with ready-to-implement.

Issue-state enforcement details:

Readiness check:

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

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SagarSDagdu

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add high contrast theme

1 participant