You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The Open Props <ahref="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>This allows you to apply a light or dark theme to the page or a portion of the page using the selectors imported.</p>
1943
+
<p><b>See it in action:</b><ahref="https://codepen.io/argyleink/pen/JjqYdgr">here</a></p>
1944
+
</header>
1945
+
1946
+
<header>
1947
+
<h3>2) Section theme</h3>
1948
+
<p>When you need to control the appearance of a specific section, use any of the selectors from the switch imports, like <code>.dark</code> or <code>.light</code>, and apply them to HTML elements.</p>
0 commit comments