pane_ui 0.1.0

A RON-driven, hot-reloadable wgpu UI library with spring animations and consistent scaling
Documentation
(
    shader: "retro",
    idle: (
        shape: Rectangle,
        color: (r: 0.02, g: 0.08, b: 0.02, a: 1.0),
        corner_radius: 0.0,
        border_width: 3.0,
        border_color: (r: 0.18, g: 0.90, b: 0.18, a: 1.0),
        highlight_color: (r: 0.18, g: 0.90, b: 0.18, a: 0.08),
        shadow_size: 4.0,
        shadow_color: (r: 0.0, g: 0.50, b: 0.0, a: 0.30),
        opacity: 1.0,
        scale: 1.0,
    ),
    hovered: (
        shape: Rectangle,
        color: (r: 0.04, g: 0.16, b: 0.04, a: 1.0),
        corner_radius: 0.0,
        border_width: 3.0,
        border_color: (r: 0.30, g: 1.00, b: 0.30, a: 1.0),
        highlight_color: (r: 0.18, g: 0.90, b: 0.18, a: 0.18),
        shadow_size: 7.0,
        shadow_color: (r: 0.0, g: 0.60, b: 0.0, a: 0.40),
        opacity: 1.0,
        scale: 1.03,
    ),
    pressed: (
        shape: Rectangle,
        color: (r: 0.08, g: 0.28, b: 0.08, a: 1.0),
        corner_radius: 0.0,
        border_width: 3.0,
        border_color: (r: 0.12, g: 0.65, b: 0.12, a: 1.0),
        highlight_color: (r: 0.18, g: 0.90, b: 0.18, a: 0.06),
        shadow_size: 1.0,
        shadow_color: (r: 0.0, g: 0.40, b: 0.0, a: 0.20),
        opacity: 1.0,
        scale: 0.97,
    ),
    disabled: (
        shape: Rectangle,
        color: (r: 0.02, g: 0.06, b: 0.02, a: 1.0),
        corner_radius: 0.0,
        border_width: 2.0,
        border_color: (r: 0.08, g: 0.35, b: 0.08, 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.40,
        scale: 1.0,
    ),
)