The living style guide for Africa's #1 financial tools platform. Every component, color, and token rendered in one place.
Brand, background, text, border, and status colors. Always use CSS custom properties — never hardcode hex values.
Three font families: Instrument Serif for display/headings, DM Sans for body, JetBrains Mono for code.
Instrument Serif — Headings
DM Sans — Body Text
JetBrains Mono — Code
text-5xl (48px)
text-4xl (36px)
text-3xl (30px)
text-2xl (24px)
text-xl (20px)
text-lg (18px)
text-base (16px) — Default body text
text-sm (14px)
text-xs (12px)
Regular (400)
Medium (500)
Semibold (600)
Bold (700)
Black (800)
Consistent spacing scale used for padding, margin, and gap throughout the platform.
Six button variants, three sizes. All inherit the design system tokens.
Standard form controls for all tool pages.
Basic card with border and subtle shadow. Use .card
Lifts on hover. Use .card .card-hover
Placeholder elements shown while content loads. Use .skeleton
Scroll reveal, fade, slide, pulse, and skeleton animations. All respect prefers-reduced-motion.
| Class | Effect | Trigger |
|---|---|---|
| .fade-in | Opacity 0 to 1 | Add .is-visible |
| .slide-up | Translate Y + fade | Add .is-visible |
| .rv | Legacy scroll reveal | Add .in |
| .pulse | Opacity pulse loop | Auto (CSS) |
| .skeleton | Shimmer loading | Auto (CSS) |
| .spin | 360deg rotation | Auto (CSS) |
| .container | max-width: 1200px, auto margins, 24px padding |
| .container--narrow | max-width: 800px |
| .container--wide | max-width: 1400px |
| .grid-2 / .grid-3 / .grid-4 | CSS Grid with 2/3/4 equal columns |
| .flex-center | Flex with center alignment |
| .sr-only | Visually hidden, accessible to screen readers |
.text-primary — Primary color text
.text-muted — Muted text
.text-subtle — Subtle text
.text-error — Error text
.font-mono — Monospace font
.tabular-nums — 1,234,567.89 (tabular figures)
Content above divider
Content below divider
AfroTools Design System v1.0 — Generated March 2026