Skip to content

Use relative colors to support themes#169

Open
klatka wants to merge 2 commits into
kinghat:mainfrom
klatka:klatka-patch-1
Open

Use relative colors to support themes#169
klatka wants to merge 2 commits into
kinghat:mainfrom
klatka:klatka-patch-1

Conversation

@klatka

@klatka klatka commented May 15, 2025

Copy link
Copy Markdown

Use Relative colors to support themes like Material You theme.

Currently the text of the non-selected tabs is not readable:
Image

We need a gray color here like in the default theme:
Image

Thanks to @Nerwyn for providing this fix in Nerwyn/material-you-utilities#15 (comment)

@Nerwyn

Nerwyn commented May 15, 2025

Copy link
Copy Markdown

FYI relative colors is a relatively new feature and may not work on very old devices that have not been updated / no longer receive updates to their webviews.

https://caniuse.com/?search=relative%20color

You may want to include some backup logic to use the --rgb tokens if that is important to you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants