Thicket Design System - A comprehensive design token system with Bauhaus theme
npm install thicket-design-systemA comprehensive design token system with Bauhaus theme, built with Style Dictionary.
- Complete Color System: 66 colors across 6 families (Blue, Red, Green, Yellow, Purple, Orange, Gray)
- Semantic Colors: Predefined color combinations for consistent UI patterns
- Typography: Trispace (display) + Noto Sans (body) font combination
- Spacing Scale: Consistent spacing values (0-12 scale)
- Multi-Platform: CSS variables, JavaScript modules, iOS, Android, and more
- Visual Reference: Interactive HTML documentation
``bash`
npm install @jennifer-spriggs/thicket-design-system
`html`
rel="stylesheet"
href="https://unpkg.com/@jennifer-spriggs/thicket-design-system@1.0.0/build/css/thicket.css"
/>
`bash`Copy the built files to your project
cp node_modules/@jennifer-spriggs/thicket-design-system/build/css/thicket.css ./css/
cp node_modules/@jennifer-spriggs/thicket-design-system/build/js/thicket.js ./js/
`css`
.my-component {
background-color: var(--thicket-bauhaus-color-blue-500);
color: var(--thicket-bauhaus-color-gray-50);
font-family: var(--thicket-font-sans);
padding: var(--thicket-dimension-4);
}
`javascript
import {
ThicketBauhausColorBlue500,
ThicketBauhausColorGray50,
} from "@jennifer-spriggs/thicket-design-system";
const styles = {
backgroundColor: ThicketBauhausColorBlue500,
color: ThicketBauhausColorGray50,
};
`
`html`
Content
- Primary: Blue family (50-950 scale)
- Semantic: Brand, accent, positive, warning, negative
- Neutral: Gray family for text and backgrounds
- Display: Trispace (monospace) for headings
- Body: Noto Sans (sans-serif) for content
- Weights: Light, Regular, Bold
- Scale: 0-12 (4px increments)
- Values: 0px, 4px, 8px, 12px, 16px, 20px, 24px, 28px, 32px, 36px, 40px, 44px, 48px
`bashInstall dependencies
npm install
š Project Structure
`
thicket-design-system/
āāā tokens/ # Design token definitions
ā āāā bauhaus/
ā ā āāā colors.json # Color tokens
ā āāā dimensions.json # Spacing tokens
ā āāā text.json # Typography tokens
ā āāā object-values.json # Complex tokens
āāā build/ # Generated output
ā āāā css/ # CSS variables
ā āāā js/ # JavaScript modules
ā āāā ios/ # iOS tokens
ā āāā android/ # Android tokens
āāā design-system-reference.html # Visual documentation
āāā config.json # Style Dictionary config
`šØ Visual Reference
Open
design-system-reference.html` in your browser to see:- Complete color palettes with hex values
- Typography examples
- Spacing scale visualization
- Interactive copy-to-clipboard functionality
MIT