Comprehensive guide to PrimeLedger's design language, components, and patterns. Every component shown here is production-ready with copy-paste HTML/CSS snippets.
The PrimeLedger palette is built around a teal primary brand color, with supporting neutrals and semantic colors for charts and status indicators.
| Variable | Purpose | Dark Mode | Light Mode |
|---|---|---|---|
--teal |
Primary accent, interactive elements | #0388A6 | #0388A6 |
--navy |
Page background | #161616 | #f5f5f5 |
--card |
Elevated surface, cards | #1e1e1e | #ffffff |
--border |
Dividers, subtle boundaries | rgba(255,255,255,0.08) | rgba(3,136,166,0.1) |
--white |
Primary text, headings | #f5f5f5 | #1f2937 |
--bone |
Body text | #ebebeb | #374151 |
--mid |
Secondary text, labels | #8b8b8b | #6b7280 |
All text uses Inter as the primary font family with a modular scale for hierarchy and readability.
All spacing values use a consistent scale based on 0.25rem (4px) units.
| Element | Padding | Margin | Gap |
|---|---|---|---|
| Card | 1.5rem | 1.5rem | — |
| Button | 0.75rem 1.5rem | — | 0.5rem (icon + text) |
| Form Field | 0.75rem | 0 0 1rem 0 | — |
| List Item | 0.75rem | — | 1rem |
| Section | — | 0 0 3rem 0 | — |
Cards are the primary container for grouped content. They have a subtle border and card background.
This is a standard card with content. It has a subtle border and teal-tinted background.
Primary button is teal with white text. Secondary buttons have teal text on transparent background.
Badges are small, inline status labels with colored backgrounds.
Data tables with consistent styling for headers, rows, and hover states.
| Name | Status | Value |
|---|---|---|
| Design System | Active | Complete |
| Components | Pending | In Progress |
Tabbed interfaces with underline-style active indicator and smooth transitions.
Consistent styling for inputs, selects, and textareas with teal focus states.
Key Performance Indicator cards display metrics with label, large value, and optional subtext.
Visual status indicators using colored dots, bars, and semantic colors.
The platform uses fluid, mobile-first CSS with strategic breakpoints for tablets and desktops.
| Breakpoint | Screen Size | Common Devices | Usage |
|---|---|---|---|
base |
0px - 640px | Mobile phones | 1-column layout, full-width cards |
md |
768px+ | Tablets | 2-column layouts, sidebars |
lg |
1024px+ | Laptops | 3-column grids, full sidebar |
xl |
1280px+ | Large screens | Wide layouts, dashboards |