mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
Docs: code indentation
This commit is contained in:
parent
f6d38a7586
commit
6feb60dd42
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
</code></pre></footer></article><p>There are 2 ways to customize your version of Pico.css:</p><h4>Overriding CSS variables</h4><p>All Pico's styles and colors are set with <em>CSS custom properties</em> (variables). Just override the CSS variables to customize your version of Pico.</p><pre><code><em>/* <span class="name"></span>Light scheme (Default) */
|
</code></pre></footer></article><p>There are 2 ways to customize your version of Pico.css:</p><h4>Overriding CSS variables</h4><p>All Pico's styles and colors are set with <em>CSS custom properties</em> (variables). Just override the CSS variables to customize your version of Pico.</p><pre><code><em>/* <span class="name"></span>Light scheme (Default) */
|
||||||
/* Can be forced with data-theme="light" */</em>
|
/* Can be forced with data-theme="light" */</em>
|
||||||
<b>[data-theme=<u>"light"</u>]</b>,
|
<b>[data-theme=<u>"light"</u>]</b>,
|
||||||
<b>:root:not([data-theme=<u>"dark"</u>])</b> {
|
<b>:root:not([data-theme=<u>"dark"</u>])</b> {
|
||||||
<i>--primary</i>: <u class="c600">…</u>;
|
<i>--primary</i>: <u class="c600">…</u>;
|
||||||
<i>--primary-hover</i>: <u class="c700">…</u>;
|
<i>--primary-hover</i>: <u class="c700">…</u>;
|
||||||
<i>--primary-focus</i>: <u class="c600-outline-light">…</u>;
|
<i>--primary-focus</i>: <u class="c600-outline-light">…</u>;
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
<pre><code><em>/* <span class="name"></span>Light scheme (Default) */
|
<pre><code><em>/* <span class="name"></span>Light scheme (Default) */
|
||||||
/* Can be forced with data-theme="light" */</em>
|
/* Can be forced with data-theme="light" */</em>
|
||||||
<b>[data-theme=<u>"light"</u>]</b>,
|
<b>[data-theme=<u>"light"</u>]</b>,
|
||||||
<b>:root:not([data-theme=<u>"dark"</u>])</b> {
|
<b>:root:not([data-theme=<u>"dark"</u>])</b> {
|
||||||
<i>--primary</i>: <u class="c600">…</u>;
|
<i>--primary</i>: <u class="c600">…</u>;
|
||||||
<i>--primary-hover</i>: <u class="c700">…</u>;
|
<i>--primary-hover</i>: <u class="c700">…</u>;
|
||||||
<i>--primary-focus</i>: <u class="c600-outline-light">…</u>;
|
<i>--primary-focus</i>: <u class="c600-outline-light">…</u>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue