You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement related to a problem? Please describe
I noticed that some of the light mode issues we're facing are due to text-white being set in index.html, regardless of which light/dark mode is in use.
Describe the solution you'd like
Although this is helping to find cases where the variables are missing for light mode, we should set a default text color that's appropriate to the appearance mode. Otherwise, this is just tilting things toward dark mode and making missing variables have much worse default behaviour.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
We should not hardcode a default text colour to white, especially in light
mode. This is the (temporary) cause of many issues like containers#7708 where we
hadn't yet set a light mode color so you get white on light.
We don't have a 'default text color' and none of the existing palette
entries fit, so I talked to Emma and decided to create a new variable.
Unfortunately, even though this is a 'correct' change, setting it right
now has the reverse problem: anything that is still missing light mode
support will see the default text color change from white to dark and
have problems on dark backgrounds. A quick test showed the following:
- some forms (containers#7214)
- containers#7727
- containers#7728
So we should not move this out of draft until most of these are fixed,
and definitely not immediately before a release. In the meantime, it's
handy to set this to something really obvious (e.g. amber) to see what
still needs light mode support.
Fixescontainers#7724.
Signed-off-by: Tim deBoer <git@tdeboer.ca>
deboer-tim
changed the title
Replace text-white in index.html with color variable
Light mode default text color (Replace text-white in index.html with color variable)
Jun 24, 2024
Is your enhancement related to a problem? Please describe
I noticed that some of the light mode issues we're facing are due to text-white being set in index.html, regardless of which light/dark mode is in use.
Describe the solution you'd like
Although this is helping to find cases where the variables are missing for light mode, we should set a default text color that's appropriate to the appearance mode. Otherwise, this is just tilting things toward dark mode and making missing variables have much worse default behaviour.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: