Skip to content

Commit c3e2a17

Browse files
committed
[mediaqueries-5] Editorial cleanup of prefers-color-scheme: Fix copy-paste error; s/system|interface/page/g; define what light/dark theme means.
1 parent 4d63424 commit c3e2a17

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

mediaqueries-5/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ Detecting the desire for increased or decreased color contrast from elements on
600600
page to try to undo what the system might be enforcing.
601601

602602
<h3 id="prefers-color-scheme">
603-
Detecting the desire for increased or decreased color contrast from elements on the page: the 'prefers-color-scheme' feature</h3>
603+
Detecting the desire for light or dark color schemes: the 'prefers-color-scheme' feature</h3>
604604

605605
<pre class='descdef mq'>
606606
Name: prefers-color-scheme
@@ -610,7 +610,7 @@ Detecting the desire for increased or decreased color contrast from elements on
610610
</pre>
611611

612612
The 'prefers-color-scheme' media feature is used to detect if the user
613-
has requested the system use a light or dark color theme.
613+
has requested the page use a light or dark color theme.
614614

615615
<dl dfn-type=value dfn-for="@media/prefers-color-scheme">
616616
<dt><dfn>no-preference</dfn>
@@ -622,12 +622,12 @@ Detecting the desire for increased or decreased color contrast from elements on
622622
<dt><dfn>light</dfn>
623623
<dd>
624624
Indicates that user has notified the system that they
625-
prefer an interface that has a light theme.
625+
prefer a page that has a light theme (dark text on light background).
626626

627627
<dt><dfn>dark</dfn>
628628
<dd>
629629
Indicates that user has notified the system that they
630-
prefer an interface that has a dark theme.
630+
prefer a page that has a dark theme (light text on dark background).
631631

632632
</dl>
633633

0 commit comments

Comments
 (0)