Theming & Design Tokens
okl.ink includes a design engine (src/lib/theme.ts) that transforms configuration objects into CSS variables.
Built-in Presets
okl.ink includes 5 curated visual presets:
Theme Presets & Appearance Panel
Typography Presets
Typography presets apply tailored font stacks to headlines, subheadings, and link labels:- Modern: Clean, geometric sans-serif (Inter / System font stack).
- Editorial: Elegant serif styling (
Playfair Display,Newsreader, or classical editorial stacks). - Mono: Technical monospace typography (
Geist Mono,JetBrains Mono). - Geist: Modern, ultra-clean neo-grotesque font by Vercel.
Radius Presets
Control the corner rounding of the project container and individual link tiles:Density Presets
Control vertical rhythm, tile padding, and grid spacing:Automatic Contrast Calibration
When you choose a custom background or accent color, okl.ink’s design engine automatically calculates WCAG-compliant contrast ratios:- Legible Typography: Headlines and subtitle colors adjust dynamically so text always passes high-contrast accessibility standards.
- Card Surfaces: Card fills, borders, and hover states calibrate in real time to match your custom background luminance.
- Icon Wells: On dark backgrounds, an icon-well background is generated so link logos and social icons remain crisp and balanced.