Bad contrast on darkmode with dark brand color #3957
-
Description:Hello, our brand color is a dark red Detailed steps to reproduce the issue on a fresh Nova installation:
'brand' => [
'colors' => [
"400" => "141, 39, 50, 0.5",
"500" => "141, 39, 50",
"600" => "141, 39, 50, 0.75",
]
], Possible solution
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Could we also have an (optional) dark-mode logo path config ? My brand's logo text is pretty dark/black and it doesn't render well in dark mode. |
Beta Was this translation helpful? Give feedback.
-
@BerkanYildiz My brand's logo test is dark too. I get it to work with a class in the svg like this But I agree with you, there should be a brand color and logo for light and dark mode. |
Beta Was this translation helpful? Give feedback.
-
What we do is have our logo parts use different classes for light and dark mode. There could be ways to enhance this in the future if we come up with a clean approach. |
Beta Was this translation helpful? Give feedback.
-
Separately from the brand color, the default text-on-background contrast is really low in dark mode. I ran it through a contrast accessibility checker and it's not good, especially as a default: |
Beta Was this translation helpful? Give feedback.
What we do is have our logo parts use different classes for light and dark mode.
There could be ways to enhance this in the future if we come up with a clean approach.