infima
infima copied to clipboard
Dark mode Badge text color contrast is bad
Currently the default Text color for badges in dark mode is way too white, which is not good to read:
But i had tried changing the text color to the same the buttons are set now:
which would be the change of [data-theme='dark'] {--ifm-badge-color: var(--ifm-font-color-base-inverse);}
, which would look like:
(Note: the
Secondary
overwrite is still in place for this screenshot)
this is just a small mockup (no testing or PR worthy) change but i think it is way better than just the white it was before
Tested and Screenshots from Linux Manjaro 21.3.0 with Firefox 101.0.1 on KDE Plasma Wayland
This issue is related to #192, but about a more specific part of it
Maybe you should override --ifm-color-secondary
in dark mode, just like the docs suggest for the primary color? I certainly don't like the current palette.
Maybe you should override --ifm-color-secondary in dark mode
this issue is not specifically about secondary
color, i just noted that i left the overwrite inplace and did not remove it, this issue is about that all other badges have white text in dark mode which does not contrast well
I added a comment here that might help: https://github.com/facebookincubator/infima/issues/139#issuecomment-2093539041