1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
pub use *;
pub use *;
pub use *;
pub use ;
/// Re-exports of the icon crates. Use `soma_ui::icons::Icon` to render an icon
/// and `soma_ui::icons::icondata` for icon constants (e.g. `icondata::LuCheck`).
pub use *;
/// Bundled stylesheet (design tokens + fonts + component utilities).
///
/// Inject once at your app root so every soma-ui component is styled:
///
/// ```rust,ignore
/// use soma_ui::STYLES;
/// view! { <style>{STYLES}</style> }
/// ```
///
/// Alternatively, write this string to a `.css` file and serve it via your
/// bundler (Trunk, Vite, etc.) instead of inlining it.
///
/// Fonts (Outfit, Rajdhani) are loaded from Google Fonts via `@import`.
/// If you need self-hosted fonts or custom tokens, use the Tailwind path-dep
/// workflow described in `CONSUMING.md` and regenerate with `build-css.sh`.
pub const STYLES: &str = include_str!;