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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(labels): default dark color of the input labels should be white #978

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

zoltanszogyenyi
Copy link
Member

The dark mode colors of the label input should be white instead of gray-300.

We should also make the default checkbox, radio, and toggle colors as such:

text-gray-500 and dark:text-gray-300

For the toggle switch I see there's a separate theme file, but for the Checkbox and Radio elements it inherits the one from the form labels which should be separate as well, in my opinion.

This PR addresses the form input element labels above the inputs and makes them white on dark mode.

@vercel
Copy link

vercel bot commented Sep 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview Sep 21, 2023 8:35am

@rluders rluders merged commit 3d1d62e into main Sep 21, 2023
@rluders rluders deleted the input-label-colors branch October 3, 2023 20:11
maman pushed a commit to transkripid/flowbite-react that referenced this pull request Oct 7, 2023
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