ev_lib_classes 0.2.0

Pure styling data (Tailwind class tables) shared by the Dioxus uikit and the TS codegen — no Dioxus.
Documentation
#[derive(strum::AsRefStr, Clone, Copy, Default, strum::EnumIter, PartialEq)]
#[strum(serialize_all = "kebab-case")]
pub enum Size {
	Sm,
	#[default]
	Md,
	Lg,
}

impl Size {
	/// Tailwind magnitude; the component picks the axis (h-/size-/min-w-).
	pub fn scale(&self) -> u8 {
		match self {
			Size::Sm => 8,
			Size::Md => 9,
			Size::Lg => 10,
		}
	}
}