pane_ui 0.1.0

A RON-driven, hot-reloadable wgpu UI library with spring animations and consistent scaling
Documentation
(
    shader: "outline",
    idle: (
        shape: RoundedRectangle,
        color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        corner_radius: 8.0,
        border_width: 2.0,
        border_color: (r: 0.30, g: 0.50, b: 0.95, a: 1.0),
        highlight_color: (r: 0.30, g: 0.55, b: 1.00, a: 0.08),
        shadow_size: 0.0,
        shadow_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        opacity: 1.0,
        scale: 1.0,
    ),
    hovered: (
        shape: RoundedRectangle,
        color: (r: 0.30, g: 0.55, b: 1.00, a: 0.12),
        corner_radius: 8.0,
        border_width: 2.5,
        border_color: (r: 0.20, g: 0.40, b: 0.95, a: 1.0),
        highlight_color: (r: 0.50, g: 0.70, b: 1.00, a: 0.20),
        shadow_size: 8.0,
        shadow_color: (r: 0.25, g: 0.45, b: 0.95, a: 0.28),
        opacity: 1.0,
        scale: 1.04,
    ),
    pressed: (
        shape: RoundedRectangle,
        color: (r: 0.25, g: 0.48, b: 0.95, a: 0.22),
        corner_radius: 8.0,
        border_width: 2.0,
        border_color: (r: 0.18, g: 0.35, b: 0.88, a: 1.0),
        highlight_color: (r: 0.30, g: 0.55, b: 1.00, a: 0.08),
        shadow_size: 2.0,
        shadow_color: (r: 0.20, g: 0.38, b: 0.90, a: 0.18),
        opacity: 1.0,
        scale: 0.96,
    ),
    disabled: (
        shape: RoundedRectangle,
        color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        corner_radius: 8.0,
        border_width: 1.5,
        border_color: (r: 0.65, g: 0.68, b: 0.78, a: 1.0),
        highlight_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        shadow_size: 0.0,
        shadow_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        opacity: 0.45,
        scale: 1.0,
    ),
)