light-icons
.For more information about light-icons
. Visit Light Icons.
All themes are compatible with light
& dark
mode
Add the following frontmatter to your slides.md
. Start Slidev then it will prompt you to install the theme automatically.
---
theme: light-icons
---
Learn more about how to use a theme.
This theme provides the following layouts:
intro
Usage:
---
layout: intro
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
---
image-header-intro
Usage:
---
layout: image-header-intro
imageHeader: '../assets/images/light-icon-logo.svg'
imageRight: '../assets/images/light-icons-landing.svg'
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: true
left: false
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: false
left: false
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: false
left: true
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: true
left: false
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
upperImage: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: true
left: false
---
dynamic-image
Usage:
---
layout: center-image
image: '../assets/images/light-icons-landing2.png'
---
dynamic-image
Usage:
---
layout: dynamic-image
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
equal: false
left: false
---
left-image
Usage:
---
layout: left-image
image: '../assets/images/light-vue-landing.svg'
equal: true
---
dynamic-image
Usage:
---
layout: center-image
---
This theme provides the following components:
LightIcon
& IconBox
light-icons
wherever needed inside the theme.IconBox
to make the icons look elegant.npm install
npm run dev
to start theme preview of example.md
example.md
and style to see the changesnpm run export
to genreate the preview PDFnpm run screenshot
to genrate the preview PNG