@slidev/theme-apple-basic
Version:
Apple like theme for Slidev
204 lines (149 loc) • 2.62 kB
Markdown
# @slidev/theme-apple-basic
[](https://www.npmjs.com/package/@slidev/theme-apple-basic)
An Apple like theme for [Slidev](https://github.com/slidevjs/slidev).
This theme is inspired by the Basic Black/White theme on the Apple Keynote application.
## Install
Add the following frontmatter to your `slides.md`. Start Slidev then it will prompt you to install the theme automatically.
<pre><code>---
theme: <b>apple-basic</b>
---</code></pre>
Learn more about [how to use a theme](https://sli.dev/themes/use).
## Layouts
This theme provides the following layouts:
### Title
Usage:
```
layout: intro
# Presentation title
Presentation subtitle
<div class="absolute bottom-10">
<span class="font-700">
Author and Date
</span>
</div>
```

### Title & Photo
Usage:
```
layout: intro-image
image: 'image-url'
<div class="absolute top-10">
<span class="font-700">
Author and Date
</span>
</div>
<div class="absolute bottom-10">
<h1>Presentation title</h1>
<p>Presentation subtitle</p>
</div>
```

### Title & Photo right
Usage:
```
layout: intro-image-right
image: 'image-url'
# Slide Title
## Slide Subtitle
```

### Title, Bullets & Image
Usage:
```
layout: image-right
image: 'image-url'
# Slide Title
## Slide Subtitle
* Slide bullet text
```

### Title & Bullets
#### Layout used by default

### Bullets
Usage:
```
layout: bullets
* Slide bullet text
```

### Section
Usage:
```
layout: section
# Section Title
```

### Statement
Usage:
```
layout: statement
# Statement
```

### Big fact
Usage:
```
layout: fact
# 100%
Fact information
```

### Quote
Usage:
```
layout: quote
# "Notable quote"
Attribution
```

### Photo - 3
Usage:
```
layout: 3-images
imageLeft: 'image-url'
imageTopRight: 'image-url'
imageBottomRight: 'image-url'
```

### Photo
Usage:
```
layout: image
image: 'image-url'
```
