pane_ui 0.1.0

A RON-driven, hot-reloadable wgpu UI library with spring animations and consistent scaling
Documentation
(
    shader: "emboss",
    idle: (
        shape: RoundedRectangle,
        color: (r: 0.55, g: 0.55, b: 0.58, a: 1.0),
        corner_radius: 6.0,
        border_width: 0.0,
        border_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        highlight_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        shadow_size: 3.0,
        shadow_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.35),
        opacity: 1.0,
        scale: 1.0,
    ),
    hovered: (
        shape: RoundedRectangle,
        color: (r: 0.62, g: 0.62, b: 0.65, a: 1.0),
        corner_radius: 6.0,
        border_width: 0.0,
        border_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        highlight_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        shadow_size: 5.0,
        shadow_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.40),
        opacity: 1.0,
        scale: 1.02,
    ),
    pressed: (
        shape: RoundedRectangle,
        color: (r: 0.42, g: 0.42, b: 0.44, a: 1.0),
        corner_radius: 6.0,
        border_width: 0.0,
        border_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        highlight_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.0),
        shadow_size: 1.0,
        shadow_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.20),
        opacity: 1.0,
        scale: 0.96,
    ),
    disabled: (
        shape: RoundedRectangle,
        color: (r: 0.38, g: 0.38, b: 0.40, a: 1.0),
        corner_radius: 6.0,
        border_width: 0.0,
        border_color: (r: 0.0, g: 0.0, b: 0.0, a: 0.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.40,
        scale: 1.0,
    ),
)