add checkbox

This commit is contained in:
2026-10-28 18:21:19 +07:00
parent 5cbffe8172
commit 2422f318a8
4 changed files with 46 additions and 1 deletions
+3
View File
@@ -55,6 +55,8 @@ impl Global for Theme {}
/// Corner radii components paint from; grows one class at a time.
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct Radius {
/// Small controls: checkbox and radio indicators.
pub sm: Pixels,
pub control: Pixels,
/// Pill and circle shapes.
pub full: Pixels,
@@ -63,6 +65,7 @@ pub struct Radius {
impl Default for Radius {
fn default() -> Self {
Self {
sm: px(4.),
control: px(6.),
full: px(9999.),
}