Skip to content

Lack of Text Contrast on Colored Backgrounds #125

@EricGDevel

Description

@EricGDevel

Description

When using the Frappe theme in my terminal—whether in Tilix or Alacritty—I've noticed a lack of contrast between the text and colored backgrounds. This becomes particularly problematic in tools like pre-commit hooks where messages are highlighted with background colors.

Example

Here's a screenshot demonstrating the issue during a pre-commit run:
Image

As shown, the text becomes difficult to read against certain background colors due to insufficient contrast.

Current Workaround

The Starship theme addresses this by explicitly setting the foreground color of each segment to crust, ensuring consistent readability regardless of background.

Feature Request

Would it be possible to apply a similar approach at the theme level—perhaps by adjusting foreground color defaults or adding contrast-aware logic—so that text remains readable on both default and colored backgrounds?

Note: This bug potentially applies to the other variants of the theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions