A Tornado šŖ theme for Slidev.
Live demo: here
Add the following frontmatter to your slides.md
. Start Slidev then it will prompt you to install the theme automatically.
---
theme: ventus
---
Learn more about how to use a theme.
This theme provides the following layouts:
You can configure the presenter name and language used to format the date by configuring thoses props
at the frontmatter
---
// at the frontmatter
presenterName: "name-of-the-presenter"
dateFormat: "en-US" (note : link to the list of dateFormat)
---
intro
Usage:
cover
in the layout field.---
layout: cover
---
Dark | Light |
---|---|
![]() |
![]() |
presenter
Usage:
intro
in the layout field.introImage
for the speaker image.---
layout: intro
presenterImage: './my-presenter-image.png'
---
Dark | Light |
---|---|
![]() |
![]() |
section
Usage:
section
in the layout field.number
to give a number to the section.---
layout: section
number: 1
---
Dark | Light |
---|---|
![]() |
![]() |
code
Usage:
code
in the layout---
layout: code
---
Dark | Light |
---|---|
![]() |
![]() |
![]() |
![]() |
default
Usage:
Dark | Light |
---|---|
![]() |
![]() |
end
Usage:
end
in the layout---
layout: end
---
Dark | Light |
---|---|
![]() |
![]() |
feedback
feedback
in the layout---
layout: feedback
---
Dark | Light |
---|---|
![]() |
![]() |
iframe-left
iframe-left
or iframe-right
in the layout---
layout: iframe-left
---
Dark | Light |
---|---|
![]() |
![]() |
image-left
image-left
or image-right
in the layout---
layout: image-right
---
Dark | Light |
---|---|
![]() |
![]() |
punch
punch
in the layout---
layout: punch
---
Dark | Light |
---|---|
![]() |
![]() |
quote
quote
in the layout---
layout: quote
---
Dark | Light |
---|---|
![]() |
![]() |
roti
roti
in the layout---
layout: roti
---
Dark | Light |
---|---|
![]() |
![]() |
This theme provides the following components:
<Text> ... </Text>
<Text>
Component will allow you to automatically format some text.
To use it you just need to add it to your slides
like this:
<Text>"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</Text>
<Variant> ... </Variant>
<Variant>
give you the ability to style the color of a text
To use it you just need to add it to your slides
like this:
<Variant type='info'>
Some text
</Variant>
The props type
give access to the theme of the application.
type is one of info |
accent |
warning |
<Card> ... </Card>
<Card>
give you the ability to encapsulate Components/text/images
with a backgroud and a title relative to the theme of the slides
To use it you just need to add it to your slides
like this:
<Card type='info' title='My Title'>
Some text, components, images
</Card>
The props type
give access to the theme of the application.
type is one of |
info |
accent |
warning |
title
is a string
<Note> ... </Note>
<Note>
give you the ability to encapsulate Components/text/images
with a backgroud and a title relative to the theme of the slides
To use it you just need to add it to your slides
like this:
<Note>
Some nicely formated notes
</Note>
The props type
give access to the theme of the application.
type is one of |
info |
accent |
warning |
title
is a string