Redesign components: Radio buttons (#39943)

This commit is contained in:
Echo authored and GitHub committed 2026-07-28 13:55:14 +00:00
1 parent 7d36211f88
commit 165613d2a6
11 files changed
+197 -73

No files matched your search

@@ -1,3 +1,39 @@
// Radio
.radioWrapper {
[data-input] {
position: relative;
}
.icon {
position: absolute;
pointer-events: none;
opacity: 0;
transition:
color 200ms,
opacity 200ms;
}
.icon:has(+ :checked) {
opacity: 1;
}
input {
opacity: 0;
}
label {
font-size: var(--fs-sm);
}
}
.icon {
width: var(--fs-lg);
height: var(--fs-lg);
}
// Text Input
.inputWrapper {
label {
font-size: var(--fs-sm);