mirror of
https://github.com/picocss/pico.git
synced 2025-02-23 00:01:58 -05:00
docs: changes paths to @picocss/pico in customization
This commit is contained in:
parent
20869b20a2
commit
fbd77f27bf
@ -46,14 +46,14 @@
|
||||
<i>$primary-600</i>: <u class="c600">…</u>;
|
||||
<i>$primary-700</i>: <u class="c700">…</u>;
|
||||
|
||||
<em>// Import full Pico source code</em>
|
||||
<b>@import</b> <u>"path/pico"</u>;</code></pre><p>Alternatively, you can create a custom theme and import it into your project with the components you need.</p><pre><code><em>/* Custom <span class="name"> </span>version */</em>
|
||||
<em>// Import Pico</em>
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico"</u>;</code></pre><p>Alternatively, you can create a custom theme and import it into your project with the components you need.</p><pre><code><em>/* Custom version */</em>
|
||||
|
||||
<em>// Custom theme</em>
|
||||
<b>@import</b> <u>"path/themes/custom"</u>;
|
||||
<b>@import</b> <u>"path/themes/custom"</u>;;
|
||||
|
||||
<em>// Import needed components</em>
|
||||
<b>@import</b> <u>"path/layout/document"</u>;
|
||||
<b>@import</b> <u>"path/layout/sectioning"</u>;
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico/layout/document"</u>;
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico/layout/sectioning"</u>;
|
||||
<em>…</em>
|
||||
</code></pre><p>Compiling a custom SASS version allows you to create a lighter version with only the components that are useful to you. Example here: <a href="https://github.com/picocss/pico/blob/master/scss/pico.slim.scss">scss/pico.slim.scss</a>.</p></section><footer><hr><p><small>Code licensed <a href="https://github.com/picocss/pico/blob/master/LICENSE.md" class="secondary">MIT</a></small></p></footer></div></main><script src="js/commons.min.js"></script><script src="js/customization.min.js"></script></body></html>
|
@ -102,19 +102,19 @@
|
||||
<i>$primary-600</i>: <u class="c600">…</u>;
|
||||
<i>$primary-700</i>: <u class="c700">…</u>;
|
||||
|
||||
<em>// Import full Pico source code</em>
|
||||
<b>@import</b> <u>"path/pico"</u>;</code></pre>
|
||||
<em>// Import Pico</em>
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico"</u>;</code></pre>
|
||||
|
||||
<p>Alternatively, you can create a custom theme and import it into your project with the components you need.</p>
|
||||
|
||||
<pre><code><em>/* Custom <span class="name"> </span>version */</em>
|
||||
<pre><code><em>/* Custom version */</em>
|
||||
|
||||
<em>// Custom theme</em>
|
||||
<b>@import</b> <u>"path/themes/custom"</u>;
|
||||
<b>@import</b> <u>"path/themes/custom"</u>;;
|
||||
|
||||
<em>// Import needed components</em>
|
||||
<b>@import</b> <u>"path/layout/document"</u>;
|
||||
<b>@import</b> <u>"path/layout/sectioning"</u>;
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico/layout/document"</u>;
|
||||
<b>@import</b> <u>"@picocss/pico/scss/pico/layout/sectioning"</u>;
|
||||
<em>…</em>
|
||||
</code></pre>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user