Skip to content

Commit

Permalink
edited high contrast description
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jan 7, 2025
1 parent 49ff329 commit 61c0844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ <h2>Color Scheme (Light or Dark)</h2>
</p>
<p>
To support dark mode, develop styles for dark text on a light background and light text on a dark background and use a media query to apply the appropriate style.
The CSS media query <code>prefers-color-scheme</code> identifies the current color scheme by returning <code>light</code> or <code>dark</code>. Browsers support the <code>prefers-color-scheme</code> media query using the <code>light-dark</code> function to identify a color value for a CSS property.
The CSS media query <code>prefers-color-scheme</code> identifies the current color scheme by returning <code>light</code> or <code>dark</code>. Browsers support the <code>prefers-color-scheme</code> media query using the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark"><code>light-dark</code> function</a> to identify a color value for a CSS property.
</p>
<p>
Ensure the text content and components of both color schemes meet or exceed the color contrast ratios specified by
Expand Down

0 comments on commit 61c0844

Please sign in to comment.