A (...) theme for Slidev.
Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.
---
theme: 'slidev-theme-hal'
themeConfig:
company: Company Name
author: Hal
logo: "./images/event_logo.svg"
logoWidth: "180px"
titleSize: "3rem"
authorSize: "2.5rem"
---| Key | Description | Default |
|---|---|---|
company |
Company name shown on the title slide | — |
author |
Author name shown on the title slide | — |
logo |
Path or URL of the logo image | — |
logoWidth |
Width of the logo image | 150px |
titleSize |
Font size of the slide title (SlideTitle) |
3rem |
authorSize |
Font size of the author name | 2.5rem |
Learn more about how to use a theme.
This theme provides the following layouts:
TODO:
This theme provides the following components:
TODO:
npm installnpm run devto start theme preview ofexample.md- Edit the
example.mdand style to see the changes npm run exportto generate the preview PDFnpm run screenshotto generate the preview PNG