Introduction
Vara is a theme for Veta, the static site generator by Varavel. It provides the page templates, components, and assets you need to build a documentation site and a landing page, so you can focus on the content instead of the frontend.
How Veta and Vara work together
Veta turns project files into a static site. Your project declares which pages to generate, and Vara provides the presentation layer for them.
A typical Veta project built with Vara has three parts:
- Page generators (
pages/*.js) - declare each route and the template it uses. - Markdown content (
content/) - written by you, optionally composed with Vara components. - Site settings (
data/site.yaml) - branding and behavior that the theme reads.
The theme stays out of your content. You decide what the site contains; Vara decides how it looks.
What Vara provides
- Page templates for landing pages, documentation pages, the not-found page, an XML sitemap, a search index, and LLM-friendly Markdown output.
- A focused component collection for documentation content and landing-page sections.
- A visual system with light and dark mode, a theme picker, self-hosted fonts, and bundled icons.
- Client-side features such as full-text documentation search and on-demand syntax highlighting.
What Vara does not provide
- Page generators. Veta themes can only distribute
templates/,components/,filters/,functions/,data/, andpublic/. Your project ownspages/*.jsand therefore decides what gets built. - Configuration. Your project's
veta.yamlcontrols the build, Tailwind CSS entrypoints, and output settings.
This separation keeps the site structure explicit and prevents a theme from creating unexpected routes.
Design principles
Vara follows three principles:
- Simple - few moving parts, easy to understand and to extend.
- Fast - static output with minimal JavaScript, loaded only when a page needs it.
- Idiomatic - built around Veta's own concepts: templates, components, filters, and functions.
Next steps
- Install the theme.
- Create your first pages.
- Browse the templates and components when you are ready to compose.