Skip to content

Commit

Permalink
prep for docsite update
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink committed Jan 28, 2025
1 parent c07c3bf commit cde4936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docsite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ <h3>1) Normalize Theme Switch</h3>
</pre>
<p>The Open Props <a href="https://codepen.io/argyleink/pen/KKvRORE">normalize.css</a> has light and dark built in, but it only changes with the media query / operating system. If you want users to be able to change this, you'll need <b>Open Props switch imports</b>. These have the same theme values from normalize, but scoped to selectors.</p>

<p><b>Light Selectors:</b> <code>.light</code> | <code></code>.light-theme</code> | <code>data-theme="light"</code></p>
<p><b>Light Selectors:</b> <code>.light</code> | <code>.light-theme</code> | <code>data-theme="light"</code></p>
<p><b>Dark Selectors:</b> <code>.dark</code> | <code>.dark-theme</code> | <code>data-theme="dark"</code></p>

<p>This allows you to apply a light or dark theme to the page or a portion of the page using the selectors imported.</p>
Expand Down

0 comments on commit cde4936

Please sign in to comment.