File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -328,18 +328,20 @@ Forced Color Schemes: the 'forced-color-adjust' property {#forced}
328328 through the CSS system colors
329329 (see [[CSS-COLOR-4]] ).
330330 Additionally,
331- if the UA determines ( based on Lab lightness) ,
331+ if the UA determines, based on Lab lightness,
332332 that the canvas color
333- is clearly either dark or light
334- (for some reasonable UA delineation of “dark” or “light”),
333+ is clearly either dark (L < 33%) or light (L > 67%),
335334 then it must match the appropriate value
336335 of the '@media/prefers-color-scheme' media query
337336 and express a corresponding user preference for 'color-scheme' .
338337 This will allow pages that support light/dark color schemes
339338 to automatically adjust to more closely match
340339 the forced color scheme.
341- Note that medium-lightness forced backgrounds may yield
342- a '@media/prefers-color-scheme' of ''prefers-color-scheme/no-preference'' .
340+ Behavior between the above dark vs. light thresholds
341+ is UA-defined,
342+ and may result in assuming either
343+ ''prefers-color-scheme/light'' , ''prefers-color-scheme/dark'' , or ''prefers-color-scheme/no-preference''
344+ as the user’s preferred color scheme.
343345
344346<!--THOUGHTS
345347 This advice (below) maybe makes sense for (prefers-contrast),
You can’t perform that action at this time.
0 commit comments