Expand description
Β§Molten Brand
Design tokens and brand system for Molten Labs CLI tools.
This crate provides the single source of truth for all branding across
the Molten Labs ecosystem. It mirrors the TypeScript tokens in @moltenlabs/alloy
and ensures consistent branding in Rust applications.
Β§Quick Start
use molten_brand::{colors, products, semantic};
// Get the primary Molten Orange
let primary = colors::molten::PRIMARY;
println!("Molten Orange: {}", primary.hex());
// Get product-specific colors (Lair/Goblin theme)
let goblin_purple = products::lair::PRIMARY;
let cave_dark = products::lair::terminal::BACKGROUND;
// Semantic colors work across all products
let success = semantic::SUCCESS;Β§Architecture
βββββββββββββββββββββββββββββββββββββββββββ
β MOLTEN LABS (Parent) β
β ββββββββββββ ββββββββββββ ββββββββ β
β β LAIR β β HEARTH β βALLOY β β
β β(Terminal)β β(Content) β β(DS) β β
β β Purple β β Blue β βOrangeβ β
β ββββββββββββ ββββββββββββ ββββββββ β
βββββββββββββββββββββββββββββββββββββββββββΒ§Features
serde- Enable serialization/deserialization of color types
ModulesΒ§
- brand
- Brand metadata.
- colors
- Core color palettes.
- prelude
- Re-export all color modules for convenience.
- products
- Product-specific design tokens.
- semantic
- Semantic color tokens.
- spacing
- Spacing scale tokens.
- typography
- Typography tokens.
StructsΒ§
EnumsΒ§
- Color
- A color that can be either RGB or RGBA.