Merge pull request #475 from TwelveNights/update-css-link

doc: target v1 default.css in v1 documentation
This commit is contained in:
Lucas Larroche 2024-03-03 10:02:21 +07:00 committed by GitHub
commit 1a7fc0c830
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@
<i>--switch-color</i>: <u>var</u>(<i>--primary-inverse</i>); <i>--switch-color</i>: <u>var</u>(<i>--primary-inverse</i>);
<i>--switch-checked-background-color</i>: <u>var</u>(<i>--primary</i>); <i>--switch-checked-background-color</i>: <u>var</u>(<i>--primary</i>);
} }
</code></pre><p>You can find all the CSS variables used in the default theme here: <a href="https://github.com/picocss/pico/blob/master/css/themes/default.css">css/themes/default.css</a></p><h3>Importing Pico SASS library</h3><p>We recommend customizing Pico by importing SASS source files into your project. This way, you can keep Pico up to date without conflicts since Pico code and your custom code are separated.</p><p>Compile the SASS file to CSS to get a custom version of Pico.</p><pre><code><em>/* Custom <span class="name"> </span>version */</em> </code></pre><p>You can find all the CSS variables used in the default theme here: <a href="https://github.com/picocss/pico/blob/v1-dev/css/themes/default.css">css/themes/default.css</a></p><h3>Importing Pico SASS library</h3><p>We recommend customizing Pico by importing SASS source files into your project. This way, you can keep Pico up to date without conflicts since Pico code and your custom code are separated.</p><p>Compile the SASS file to CSS to get a custom version of Pico.</p><pre><code><em>/* Custom <span class="name"> </span>version */</em>
<em>// Override default variables</em> <em>// Override default variables</em>
<i>$primary-500</i>: <u class="c500"></u>; <i>$primary-500</i>: <u class="c500"></u>;

View file

@ -123,7 +123,7 @@
<p> <p>
You can find all the CSS variables used in the default theme here: You can find all the CSS variables used in the default theme here:
<a <a
href="https://github.com/picocss/pico/blob/master/css/themes/default.css" href="https://github.com/picocss/pico/blob/v1-dev/css/themes/default.css"
>css/themes/default.css</a >css/themes/default.css</a
> >
</p> </p>