slidev-theme-tud-db
v0.0.3
Published
Slidev theme cloning the TU Dresden / Dresden Database Research Group PowerPoint template
Readme
slidev-theme-db
A Slidev theme for the TU Dresden Database Research Group: branding, Noto Sans, the DB colour palette, syntax-highlighted code, and template-styled tables — out of the box.
Install
Set up a Slidev deck as usual, then add this theme and the gsap addon as dependencies:
pnpm create slidev # the standard Slidev scaffolder (skip if you have a deck)
pnpm add -D slidev-theme-tud-db slidev-addon-gsapThen point the deck at the theme in slides.md:
---
theme: tud-db
---# live preview at localhost:3030
pnpm devNo addons: line needed — the theme enables slidev-addon-gsap via its
defaults, so import { useTl } from 'slidev-addon-gsap' works in any slide. The
theme also sets canvasWidth: 960 (1px == 1pt), Noto Sans, light scheme, and
Comark on; override any in your own headmatter.
Example
See examples/slides.md for a small deck using the cover,
two-column, and content layouts.
Authoring reference
The repo ships a slidev-theme-db skill — an
Agent Skill documenting every layout, the table/code helpers,
and the gotchas. Claude Code applies it automatically when you write theme: db
slides. To add it to a deck:
cp -r node_modules/slidev-theme-db/skills/slidev-theme-db .claude/skills/Maintaining the theme
components/DbFrame.vue— shared chrome (logo, footer, padding).layouts/—cover,default,two-cols-header,two-cols-grid(wrapDbFrame).styles/db-theme.css— tokens, typography, lists, tables (keyed on.db-default).setup/shiki.ts(fenced) and theTHEMEinvite.config.ts(inline{lang}) — the two highlighters; keep them in sync (bothcatppuccin-latte).- Link the theme with
link:(notfile:), and restart the dev server after editing theme files (Vite doesn't hot-reloadnode_modules).
