Introduction to Blue Design System
Blue Design System is a modern, accessible design system optimized for dark mode interfaces. It provides a comprehensive set of design tokens, components, and utilities for building beautiful web applications.
This design system is built with CSS custom properties, making it easy to theme and customize for your specific needs.
Key Features
Blue Design System offers several key advantages for modern web development:
- Dark Mode Optimized: Beautiful gradients and shadows designed for dark interfaces
- Accessibility First: WCAG 2.1 AA compliant with proper contrast ratios
- Token-Based Architecture: Consistent design tokens for scalable design
- Modern CSS: Uses CSS Grid, Flexbox, and custom properties
- Responsive Design: Mobile-first approach with flexible breakpoints
Color Palette
The design system features a carefully curated blue-focused color palette:
Color | Usage | CSS Variable |
---|---|---|
Primary Blue | Main brand color, CTAs | --color-primary-500 |
Secondary Cyan | Accents, highlights | --color-secondary-500 |
Success Green | Success states | --color-success-500 |
Warning Orange | Warning states | --color-warning-500 |
Error Red | Error states | --color-error-500 |
Usage Examples
Here's how to use the color tokens in your CSS:
.my-component {
background-color: var(--color-primary-500);
color: var(--color-text-inverse);
border: 1px solid var(--color-primary-600);
}
Always use design tokens instead of hardcoded colors to ensure consistency and enable theming.
Getting Started
To start using Blue Design System in your project:
- Include the CSS file in your HTML
- Apply the theme data attribute
- Start using components and utilities
<!-- Include the design system -->
<link rel="stylesheet" href="design-system.css">
<!-- Apply dark theme -->
<body data-theme="dark">
<button class="btn btn--primary">Get Started</button>
</body>
Next Steps
Now that you understand the basics, explore these sections:
- Installation Guide - Detailed setup instructions
- Design Tokens - Complete token reference
- Components - Available UI components
- Theming - Customization options