Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/routes/docs/get-started.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@
style="--range-handle-focus:#ed225d; --range-handle:#ed225daa; --range-handle-inactive:#ed225d;"
>
<RangeSlider
id="get-started-sketch-range"
bind:values={dimensions}
min={100}
max={1000}
float
pips
pipstep={100}
all="label"
id="slider"
hoverable
/>
</div>
</section>
Expand All @@ -81,4 +82,15 @@
code {
@apply bg-gray-700 py-0.5 px-1 rounded;
}
</style>
:global(#get-started-sketch-range.rangeSlider .rangeHandle:nth-of-type(1) .rangeNub:before),
:global(#get-started-sketch-range.rangeSlider .rangeHandle:nth-of-type(2) .rangeNub:before) {
content: 'x';
@apply text-white;
}
:global(#get-started-sketch-range.rangeSlider .rangeHandle:nth-of-type(2) .rangeNub:before) {
content: 'y';
}
:global(#get-started-sketch-range.rangeSlider .rangeNub) {
@apply text-center text-xs font-mono leading-5;
}
</style>
2 changes: 1 addition & 1 deletion src/routes/examples/__layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
<slot />
</div>
</div>
</MainContainer>
</MainContainer>