Exports design tokens to Canva CSS format, enabling consistent styling across Canva applications with colors, typography, spacing, and motion definitions.
Exports design tokens to standard CSS format with custom properties for colors, typography, spacing, and motion timing functions.
Provides platform-aware safe area spacing configurations optimized for Instagram Story dimensions and layouts.
Exports design tokens to python-pptx compatible dictionaries for creating PowerPoint presentations with consistent theming and styling.
Provides platform-aware safe area spacing configurations optimized for TikTok video dimensions and layouts.
Exports design tokens to Remotion TypeScript format with type-safe definitions for colors, typography, spacing, motion, and spring physics configurations.
Provides platform-aware safe area spacing configurations optimized for YouTube and YouTube Shorts video dimensions and layouts.
๐จ Chuk Design System
A universal design token system with multi-format export capabilities. Define your design system once, export to Canva CSS, Remotion TypeScript, python-pptx, standard CSS, and W3C Design Tokens JSON.
โจ Features
๐จ Universal Design Tokens: Colors, typography, spacing, and motion
๐ฆ Multi-Format Export: Canva, Remotion, PPTX, CSS, W3C JSON
๐ญ 7 Pre-Built Themes: Tech, Finance, Education, Lifestyle, Gaming, Business, Minimal
๐ Type-Safe: Pydantic models with full validation
โ Well-Tested: 89% test coverage with 200+ tests
๐ MCP Server: Claude integration ready
๐ฑ Platform-Aware: Safe areas for YouTube, TikTok, Instagram
๐ฌ Video-Optimized: Frame-perfect durations and Remotion springs
๐ Quick Start
Installation
Basic Usage
๐จ Interactive Showcase
View the design system visually:
The interactive HTML showcase features click-to-copy color swatches, hover animations for easing curves, live typography samples, and visual gradients.
๐ Design System Structure
Colors
Palettes: Tailwind-inspired scales (50-950) for 13+ hues
Semantic Colors: Role-based naming (primary, secondary, success, warning, error)
Gradients: 6 pre-defined gradients (sunset, ocean, forest, flame, aurora, cosmic)
Chart Colors: 8-color sequence for data visualization
Typography
Font Families: Display, Body, Monospace, Decorative
Multi-Resolution Scales: Web (16px), PPTX (18pt), Video 1080p (40px), Video 4K (80px)
Text Styles: Hero Title, Title, Heading, Body, Caption
Font Weights: Thin (100) to Black (900)
Spacing
8px Unit System: Canva-compatible (1u = 8px)
Platform Safe Areas: YouTube Shorts, TikTok, Instagram Story
Grid Systems: 4, 8, 12 column grids
Motion
Durations: Video-optimized with frame conversions (30fps, 60fps)
Easing Curves: Linear, Ease Out, Ease In Out, Smooth, Snappy, Bouncy
Spring Configs: Remotion-compatible physics
Transitions: Enter/exit presets (fade, slide, scale)
๐ญ Available Themes
Theme | Primary Color | Use Case |
Tech | Blue (#3b82f6) | Technology, SaaS products |
Finance | Green (#22c55e) | Financial services, dashboards |
Education | Purple (#a855f7) | Learning platforms, courses |
Lifestyle | Pink (#db2777) | Fashion, beauty, wellness |
Gaming | Green (#10b981) | Gaming platforms, esports |
Business | Blue (#3b82f6) | Corporate, professional services |
Minimal | Zinc (#71717a) | Minimalist designs, portfolios |
๐ฆ Export Formats
Canva CSS
Remotion TypeScript
python-pptx
Standard CSS
W3C Design Tokens JSON
๐ ๏ธ Development
Setup
Testing
Code Quality
๐ Usage Examples
Export All Themes
Custom Token Access
Motion Tokens for Remotion
๐ Integration
This design system powers:
chuk-mcp-remotion: Video generation
chuk-mcp-pptx: PowerPoint generation
Canva Apps: Design apps with matching UI
๐ค MCP Server
Use with Claude via Model Context Protocol:
๐ Makefile Commands
Command | Description |
| Show all available commands |
| Run tests with coverage report |
| Format code with black + ruff |
| Generate visual showcases |
| Run all checks |
๐งช Test Coverage
Current coverage: 89% (729 statements, 82 missed)
tokens/colors.py: 100%
tokens/typography.py: 100%
tokens/spacing.py: 100%
tokens/motion.py: 100%
exporters/canva.py: 100%
exporters/remotion.py: 100%
exporters/pptx.py: 94%
๐ค Contributing
Contributions welcome! Please:
Fork the repository
Create a feature branch
Make your changes with tests
Run
make allto verifySubmit a pull request
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
Inspired by Tailwind CSS color palette
Canva's design token system
Remotion's spring physics
W3C Design Tokens specification
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Provides access to a universal design token system with 7 pre-built themes (colors, typography, spacing, motion) and multi-format export capabilities for Canva, Remotion, PPTX, CSS, and W3C JSON.