Re: [csswg-drafts] [css-flexbox] Example 4 (for collapsed flex items) is unreadable in dark mode (#6387)

It looks like this is because:
 - there's a global dark-mode switch that changes `color` to the light-gray color
 - the example manually sets `background: white` for this section, but does not set `color`, so it's at the mercy of its inherited `color` to determine whether the text is readable over its white background or not.

The example probably wants to set `color: black` alongside its `background:white`, I presume.  (Or it wants to be rewritten to avoid using `background` at all.)

-- 
GitHub Notification of comment by dholbert
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6387#issuecomment-862555582 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 16 June 2021 17:07:18 UTC