beet_design 0.0.8

Design system and components for beet rsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::prelude::*;
use material_colors::theme::Theme;


/// Entry point for the beet design system.
///
/// Beet's design system is inspired by a few places:
/// - Color: Material Design
/// 	- [`material-colors` crate](https://crates.io/crates/material-colors)
/// - Typography: Starlight
/// - Layout: PicoCSS
#[template]
pub fn DesignSystem(theme: Theme) -> impl Bundle {
	rsx! {
		<ColorScheme theme=theme />
		<BeetDesignCss />
	}
}