-
Notifications
You must be signed in to change notification settings - Fork 1
Theme Configuration
While this theme works out of the box, you might want to change some of its features.
It is definitely possible to override the styling with a custom style.css
stylesheet in your project folder, but some settings are easier to adapt by changing the Slidev configuration of your presentation.
This page explains what settings are specifically used for this theme and provides some commonly used configurations.
This theme was build under the assumption that you provide background images for eg. the cover
and section
slides.
While the theme works without these images, the result does not always look as good. By setting style: minimal
in your top frontmatter, you change the theme to where it looks more minimalistic and works better without providing background images.
This minimal style also changes the slide title banners to be a simple black title on white background.
If you do not like this style but still want the minimalistic cover
and section
slides, you can achieve the same results by applying the correct arguments to your slides.
Manual Minimalistic Cover
---
layout: cover
color: white
logo-color: undefined
class: text-black
---
# Presentation Title
## Subtitle
---
Manual Minimalistic Section
---
layout: section
color: white
class: text-black
---
# Section Title
---
If you do not like this theme's fonts, you can override them in your top frontmatter.
The title font used in this theme is Electrolize as this is the same font used in our research group logo, but it is quite a harsh font which might not be to your liking.
You can easily change this font by providing another font: serif: <font-name>
.
By default, Slidev will try to download the font from Google fonts, but you can also provide local fonts.
Do note that local fonts will usually only work on your computer.
Custom Title Font
---
fonts:
serif: 'Noto Serif'
---
# Presentation Title
## Subtitle
---