theme.yml
spec at load time, so a broken theme fails the build instead of producing
half-rendered HTML.
Built-in themes
Pick one in
meta.theme:
Anatomy of a theme
themeCSS— the raw stylesheet (use{{{themeCSS}}}to inline)tokens— flattened design tokens (e.g.{{tokens.colors_background}})
theme.yml — the contract
tokens is flattened into a single namespace at compile time (e.g.
{{tokens.colors_accent}}) and exposed as CSS custom properties at runtime
(--rl-colors-accent).
Validation rules
Validate a theme without rendering anything:
Contributing a theme
- Fork
ovsec/resumelang. cp -r themes/minimal themes/<your-name>.- Edit
theme.yml,templates/resume.hbs,assets/style.css. resumelang theme validate ./themes/<your-name>.- Open a PR with a screenshot rendered from
examples/jane.yml.
embed.FS, so they get the same
versioning and offline guarantee as the compiler itself.
Forward compatibility
theme.yml is versioned. A theme written for spec: v1 will keep working when
the compiler bumps to v2. Compilers refuse to load themes with a higher
spec than they understand, with a clear error message.