A complete guide to getting started with Solar Design System
Download the complete design system package and start building beautiful, energy-efficient interfaces
Solar Design System is a comprehensive, energy-efficient design system built for modern web applications. It features a dark theme optimized for OLED displays, system-first typography, and a carefully crafted color palette.
Download the solar-design-system.zip file and extract it to your desired location.
Open your terminal in the extracted folder and run:
npm install
This will install all required packages (React, Vite, Tailwind CSS, TypeScript, etc.)
Run the development server:
npm run dev
You should see output like:
VITE v5.x.x ready in xxx ms
➜ Local: http://localhost:5173/
Open your browser and navigate to http://localhost:5173
You'll see the complete design system showcase with all components and design tokens.
All components are showcased in src/components/DesignSystem.tsx. You can:
Browse the showcase and copy the code for any component you need.
Apply design system classes directly in your components:
<button className="bg-accent-primary text-black rounded-button px-6 py-2.5 text-sm font-semibold hover:bg-accent-primary-dim transition-colors">
Click Me
</button>
All design tokens are configured in tailwind.config.js. You can use them directly:
// Colors
bg-accent-primary
text-accent-solar-amber
border-borders-subtle
// Spacing
p-6 (24px)
gap-4 (16px)
// Border Radius
rounded-card (24px)
rounded-button (9999px)
The design system includes 8 accent colors, each with semantic meaning:
<button className="bg-accent-primary text-black rounded-button px-6 py-2.5 text-sm font-semibold hover:bg-accent-primary-dim transition-colors">
Primary Button
</button>
<div className="bg-background-cardSurface border border-borders-subtle rounded-card p-6">
<h3 className="text-lg font-semibold mb-4">Card Title</h3>
<p className="text-sm text-text-secondary">Card content</p>
</div>
<input
type="text"
placeholder="Enter text..."
className="w-full bg-background-badgeNeutral border border-borders-subtle rounded-input px-4 py-2.5 text-sm text-text-primary placeholder:text-text-tertiary focus:outline-none focus:border-accent-primary transition-colors"
/>
<span
className="inline-flex items-center px-2 py-1 rounded-badge text-xs font-semibold text-accent-success"
style={{ backgroundColor: 'rgba(52, 211, 153, 0.2)' }}
>
Success Badge
</span>
The design system includes 20+ pre-built components:
Complete documentation is included in the package:
When you're ready to build your project:
npm run build
The production files will be in the dist folder.
Preview the production build:
npm run preview
Download the complete design system and start building beautiful interfaces today.
Download Solar Design System