Author: Christopher Pfohl [Christopher.Pfohl@gmail.com]
Committer: GitHub [noreply@github.com] Wed, 20 Mar 2024 16:03:53 +0000
Hash: 0f65b569ac8e3514045108e25556b0b18c0249c1
Timestamp: Wed, 20 Mar 2024 16:03:53 +0000 (6 months ago)

+7 -3 +/-2 browse
Fix Gradient Docs (#480)
Fix Gradient Docs (#480)

1diff --git a/docsite/index.css b/docsite/index.css
2index 31b0f72..29270a8 100644
3--- a/docsite/index.css
4+++ b/docsite/index.css
5 @@ -1277,6 +1277,10 @@ pre[class*="language-"] {
6 position: absolute;
7 }
8
9+ &.from-one:not(.tooltip, li)::before {
10+ counter-reset: basic;
11+ }
12+
13 & > *:not(.tooltip, li)::before {
14 counter-increment: basic;
15 content: counter(basic);
16 @@ -1563,4 +1567,4 @@ input[type="range"] {
17 block-size: auto;
18 aspect-ratio: var(--ratio-widescreen);
19 }
20- }
21\ No newline at end of file
22+ }
23 diff --git a/docsite/index.html b/docsite/index.html
24index a8faaf9..e261646 100644
25--- a/docsite/index.html
26+++ b/docsite/index.html
27 @@ -1888,7 +1888,7 @@
28 <h5>The Props</h5>
29 <div class="var-examples">
30 <pre class="language-css"><code>
31- --gradient-{0-30}
32+ --gradient-{1-30}
33 </code></pre>
34 </div>
35 </div>
36 @@ -1917,7 +1917,7 @@
37 </div>
38 <article class="just-stretch just-for-gap">
39 <h4>Gradients</h4>
40- <div class="ui-gradients scroll-x-overflow count-em">
41+ <div class="ui-gradients scroll-x-overflow count-em from-one">
42 <span class="gradient-swatch" style="background-image: var(--gradient-1)"></span>
43 <span class="gradient-swatch" style="background-image: var(--gradient-2)"></span>
44 <span class="gradient-swatch" style="background-image: var(--gradient-3)"></span>