Design
Theming
Customize Velyx components to match your brand with Tailwind CSS v4 utilities and CSS variables.
Design Tokens
Velyx uses CSS variables for semantic colors, radius, spacing, and component states.
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--border: oklch(0.922 0 0);
--radius: 0.625rem;
}
Custom Component Variant
@php
$variants = [
'primary' => 'bg-primary text-primary-foreground hover:bg-primary/90',
'gradient' => 'bg-gradient-to-r from-primary to-accent text-white',
];
@endphp