mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-22 05:15:32 +01:00
antagonist settings
This commit is contained in:
15 files changed
+654
-475
No files matched your search
@@ -0,0 +1,42 @@
|
||||
.Root {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
height: var(--space-5);
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.Track {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
height: var(--space-2);
|
||||
|
||||
border-radius: var(--max-size);
|
||||
background-color: var(--gray-5);
|
||||
}
|
||||
|
||||
.Range {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
|
||||
border-radius: var(--max-size);
|
||||
background-color: var(--accent-8);
|
||||
}
|
||||
|
||||
.Thumb {
|
||||
display: block;
|
||||
width: var(--space-5);
|
||||
height: var(--space-5);
|
||||
|
||||
border-radius: var(--max-size);
|
||||
background-color: var(--gray-12);
|
||||
box-shadow: var(--shadow-subtle);
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--outline-focus);
|
||||
box-shadow: var(--shadow-focus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Slider as _ } from "radix-ui";
|
||||
import { composeRadixComponents } from "../../ui/compose";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
export const Slider = composeRadixComponents(_, styles);
|
||||
Reference in new issue
Block a user