Skip to content

fcitx5: improve selection highlight readability #2062

@yao-yun

Description

@yao-yun

Description

In current fcitx5 module, the selection highlight colors are

  • text: base06
  • background: base04

In plenty tinted base16 schemes, base00 ~ base08 are gradient colors, and the contrast of base06 & base04 can be so low that it causes readability issue. For example, primer-dark:

Image

I can confirm that ayu-dark is also problematic.


This does not align with the stylix style guide, which recommends:

  • text: Default text: base05 / Alternate text: base04
  • background: Selection background: base02
Image

Or if the goal was to follow mallow's style, as this module is based on it, the selection text might need to be dimmed, instead of lightened. For example,

  • text: base02
  • background: base04
Image

Submission Checklist

  • I assert that this issue is relevant to Stylix
  • I assert that this is not a duplicate of an existing issue

Notify maintainers

@make-42

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions