A Happy theme for Slidev.
Add the following frontmatter to your slides.md
. Start Slidev then it will prompt you to install the theme automatically.
---
theme: happy
---
Learn more about how to use a theme.
- support logo config, logo size using
QueryString
syntax setting
themeConfig:
logo: /node_modules/@slidev/client/assets/logo-title-horizontal.png?w-111px,h-40px
This theme provides the following layouts:
Use all space to display content without any cropping
End page to add ['🌈', '⚡️', '💥', '🥳', '🎉', '✨']
effect
This theme provides the following components:
keeping the scaling
<KeepScale class="h-400px w-868px">
<img class="w-full h-full rounded-8px overflow-hidden" src="https://source.unsplash.com/collection/94734566/1920x1080" />
</KeepScale>
text to speech
<Speech text="hello slidev" lang="en-US">
<p>Hello Slidev</p>
</Speech>
MIT.