mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 02:16:15 -04:00
Repair customization JS in docs
This commit is contained in:
parent
a5f837a08b
commit
a0c65bcded
7 changed files with 61 additions and 60 deletions
|
@ -202,7 +202,7 @@
|
|||
|
||||
<p>CSS:</p>
|
||||
|
||||
<pre><code><em>/* <span class="name"></span>Light theme (Default) */
|
||||
<pre><code><em>/* <span class="name"></span>Light scheme (Default) */
|
||||
/* Can be forced with data-theme="light" */</em>
|
||||
<b>[data-theme=<u>"light"</u>]</b>,
|
||||
<b>:root:not([data-theme=<u>"dark"</u>])</b> {
|
||||
|
@ -213,7 +213,7 @@
|
|||
}
|
||||
|
||||
|
||||
<em>/* <span class="name"></span>Dark theme (Auto) */
|
||||
<em>/* <span class="name"></span>Dark scheme (Auto) */
|
||||
/* Automatically enabled if user has Dark mode enabled */</em>
|
||||
<i>@media</i> only <b>screen</b> and <b>(prefers-color-scheme: <u>dark</u>)</b> {
|
||||
<b>:root:not([data-theme="light"])</b> {
|
||||
|
@ -224,7 +224,7 @@
|
|||
}
|
||||
|
||||
|
||||
<em>/* <span class="name"></span>Dark theme (Forced) */
|
||||
<em>/* <span class="name"></span>Dark scheme (Forced) */
|
||||
/* Enabled if forced with data-theme="dark" */</em>
|
||||
<b>[data-theme="<u>dark</u>"]</b> {
|
||||
<i>--primary</i>: <u class="c600">...</u>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue