Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit 59c5376

Browse files
committed
docs(examples): improve color example components
1 parent 5ad7551 commit 59c5376

File tree

249 files changed

+1349
-1248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+1349
-1248
lines changed
File renamed without changes.

docs-src/components/card-colorscale/card-colorscale.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import {
99
getText,
1010
setText,
1111
} from '../../..'
12-
import { asOklch } from '../../functions/parser/as-oklch'
13-
import { getStepColor } from '../../functions/shared/get-step-color'
12+
import { asOklch } from '../../functions/parser/asOklch'
13+
import { getStepColor } from '../../functions/shared/getStepColor'
1414

1515
export type CardColorscaleProps = {
1616
name: string

docs-src/components/context-router/context-router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {
1414
toggleClass,
1515
UNSET,
1616
} from '../../..'
17-
import { fetchWithCache } from '../../functions/shared/fetch-with-cache'
18-
import { isInternalLink } from '../../functions/shared/is-internal-link'
17+
import { fetchWithCache } from '../../functions/shared/fetchWithCache'
18+
import { isInternalLink } from '../../functions/shared/isInternalLink'
1919

2020
export type ContextRouterProps = {
2121
'router-pathname': string

docs-src/components/form-colorgraph/form-colorgraph.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
<li class="darken80"></li>
1414
</ol>
1515
</div>
16-
<div class="slider" role="slider" tabindex="0" aria-controls="hue">
16+
<div
17+
class="slider"
18+
role="slider"
19+
tabindex="0"
20+
aria-controls="hue"
21+
aria-labelledby="hue-label"
22+
>
1723
<canvas width="360" height="1"></canvas>
1824
<span class="thumb"></span>
1925
</div>
@@ -47,7 +53,7 @@
4753
</div>
4854
</div>
4955
<div class="hue">
50-
<label for="hue">Hue</label>
56+
<label id="hue-label" for="hue">Hue</label>
5157
<div class="input">
5258
<input id="hue" name="hue" type="number" />
5359
<span class="unit">°</span>

0 commit comments

Comments
 (0)