Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font color issue with transparent backgrounds #10250

Open
heltonricardo opened this issue Jun 12, 2024 · 0 comments
Open

Font color issue with transparent backgrounds #10250

heltonricardo opened this issue Jun 12, 2024 · 0 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@heltonricardo
Copy link

heltonricardo commented Jun 12, 2024

Are you experiencing an issue with...

shields.io

馃悶 Description

When the background color is set to transparent (to accommodate theme changes between light and dark modes), the font color is automatically set to white. While this works well on dark backgrounds, it causes visibility issues on light backgrounds, particularly white backgrounds. This issue specifically affects badges styled with flat-square and for-the-badge.

馃敆 Link to the badge

馃挕 Possible Solution

One potential solution could be to introduce an option to customize the font color independently of the background color. This would ensure that text remains visible regardless of the background color chosen, including transparent backgrounds.

@heltonricardo heltonricardo added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

1 participant