Introduction
UI components on a token-driven utility layer — a set you own, not a package you install.
Principles
You own the code
Copy components in. No package, no lock-in.
Semantic tokens
Swap a theme and the whole UI follows.
Dark mode first
One class on <html> switches every token.
No JavaScript runtime
HTML and CSS. Behavior is opt-in.
Quick Start
Add the stylesheet and a font.
html
Hello Veritheme
Your first page with Veritheme.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="veritheme.css">
<link href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap" rel="stylesheet">
<title>My App</title>
</head>
<body class="vt-bg-surface-page vt-text-foreground-primary vt-min-h-screen">
<div class="vt-container vt-py-12">
<h1 class="vt-heading-lg vt-mb-4">Hello Veritheme</h1>
<p class="vt-text-foreground-secondary vt-mb-6">Your first page with Veritheme.</p>
<button class="vt-btn vt-btn-primary"><span>Get started</span></button>
</div>
</body>
</html>
How It Fits Together
Each layer is built on the one before.
-
1 · Design tokens
CSS variables from the theme
-
2 · Utilities
Layout around components
-
3 · Components
Built from tokens only