antagonist settings

This commit is contained in:
tresabhi committed 2026-11-09 23:23:04 -06:00
1 parent aa982d73de
commit fe545c415e
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);