[Select] <option> labels are not readable in dark mode
See original GitHub issueDescribe the bug
<option>
elements are inheriting the white color of the <select>
element in dark mode and are not readable.
Suggested solution(s)
A CSS reset for the <option> elements should do the trick (option { color: initial; }
)
Desktop Windows Chrome 80
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:16 (8 by maintainers)
Top Results From Across the Web
IR Rows per page selector label not readable in dark mode
I'm trying switching my apex app to dark mode but came about a problem. The IR report in dark mode do not have...
Read more >Change select box option background color - Stack Overflow
1. I took away the rgba option and seems to use black now which will do :) – ngplayground ; 7. You could...
Read more >LABELs don't work for OPTIONs (<option label> in selects ...
Bug 40545 - Fix the empty-label attribute case in the select popup. r=chutten ... Long Label </option> The label attribute is not shown...
Read more >Known issues with sensitivity labels in Office - Microsoft Support
One of the following: Configure the label to also have the encryption option In Outlook, enforce restrictions equivalent to the Do Not Forward ......
Read more >Supporting Dark Mode in Your Interface - Apple Developer
For example, when your view contains labels, choose the UIVibrancyEffectStyle.label style or one of the other label-related vibrancy options. Important. Do not ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@with-heart Sure!
https://codesandbox.io/s/eloquent-cray-u2bxb?file=/src/App.js
This phenomenon still exists as of @chakra-ui/react v1.0.1. Observations:
<Select />
via thebg
orbgColor
prop.colorMode
returned byuseColorMode()
equals"light"
)colorMode
fromuseColorMode()
seems to be"light"
by default, despite my OS and browsers being set to dark mode