kopuz-components 0.7.0

A modern, lightweight music player built with Rust and Dioxus.
#[cfg(not(target_os = "android"))]
pub const COLUMNS_MODERN: &str =
    "40px minmax(200px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr) 64px 40px";
#[cfg(not(target_os = "android"))]
pub const COLUMNS_NORMAL: &str =
    "20px minmax(200px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr) 64px 40px";
#[cfg(not(target_os = "android"))]
pub const COLUMNS_MODERN_ALBUM: &str = "40px minmax(200px, 2fr) minmax(150px, 1fr) 64px 40px";
#[cfg(not(target_os = "android"))]
pub const COLUMNS_NORMAL_ALBUM: &str = "20px minmax(200px, 2fr) minmax(150px, 1fr) 64px 40px";

// Android: zero column mins so the grid never exceeds the viewport width (no
// horizontal scroll). Secondary text columns collapse first; title keeps the
// largest fr share.
#[cfg(target_os = "android")]
pub const COLUMNS_MODERN: &str = "28px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 48px 28px";
#[cfg(target_os = "android")]
pub const COLUMNS_NORMAL: &str = "18px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 48px 28px";
#[cfg(target_os = "android")]
pub const COLUMNS_MODERN_ALBUM: &str = "28px minmax(0, 2fr) minmax(0, 1fr) 48px 28px";
#[cfg(target_os = "android")]
pub const COLUMNS_NORMAL_ALBUM: &str = "18px minmax(0, 2fr) minmax(0, 1fr) 48px 28px";