Loading...
Loading...
> Complete guide to customizing Fabrk's design system: brand colors, themes, typography, and more.
Customize every aspect of Fabrk's design system. From quick brand color changes to creating entirely new themes, this guide covers it all.
Comprehensive Documentation Available
docs/08-design/CUSTOMIZATION-GUIDE.md. This page provides a quick reference.--primary and --primary-foreground tokensExample:
:root {
--primary: oklch(57% 0.21 276); /* Your brand color */
--primary-foreground: oklch(100% 0 0); /* Text on brand color */
}Fabrk includes 12 retro terminal-inspired color themes:
Change default theme:
defaultColorTheme = 'green' to your choiceOKLCH is a perceptually uniform color space that makes it easier to create consistent, accessible color palettes.
Format: oklch(L% C H)
Why OKLCH?
Steps:
[data-theme="yourtheme"]Required Variables:
Change Monospace Font:
JetBrains_Mono importclassName on body tagRecommended Monospace Fonts:
Never hardcode colors. Always use semantic tokens:
Backgrounds
Text
Banned patterns:
Import mode from design-system for consistent styling:
import { mode } from "@/design-system";
<Button className={cn(mode.radius, mode.font, "w-full")}>
> SUBMIT
</Button>Available tokens:
rounded-none)font-mono)