UNPKG

@slidev/theme-apple-basic

Version:

Apple like theme for Slidev

204 lines (149 loc) 2.62 kB
# @slidev/theme-apple-basic [![NPM version](https://img.shields.io/npm/v/@slidev/theme-apple-basic?color=3AB9D4&label=)](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> ``` ![intro](https://i.imgur.com/gnB4oa8.png) --- ### 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> ``` ![intro-image](https://i.imgur.com/976e8Hu.png) --- ### Title & Photo right Usage: ``` --- layout: intro-image-right image: 'image-url' --- # Slide Title ## Slide Subtitle ``` ![intro-image-right](https://i.imgur.com/dE1r2bg.png) --- ### Title, Bullets & Image Usage: ``` --- layout: image-right image: 'image-url' --- # Slide Title ## Slide Subtitle * Slide bullet text ``` ![image-right](https://i.imgur.com/llEB75J.png) --- ### Title & Bullets #### Layout used by default ![default](https://i.imgur.com/Glu7KWK.png) --- ### Bullets Usage: ``` --- layout: bullets --- * Slide bullet text ``` ![bullets](https://i.imgur.com/rvQJMMc.png) --- ### Section Usage: ``` --- layout: section --- # Section Title ``` ![section](https://i.imgur.com/vnL8XOB.png) --- ### Statement Usage: ``` --- layout: statement --- # Statement ``` ![satement](https://i.imgur.com/Em3e8g3.png) --- ### Big fact Usage: ``` --- layout: fact --- # 100% Fact information ``` ![fact](https://i.imgur.com/hPL7qOj.png) --- ### Quote Usage: ``` --- layout: quote --- # "Notable quote" Attribution ``` ![quote](https://i.imgur.com/DMpzz0g.png) --- ### Photo - 3 Usage: ``` --- layout: 3-images imageLeft: 'image-url' imageTopRight: 'image-url' imageBottomRight: 'image-url' --- ``` ![3-images](https://i.imgur.com/Lun6FnS.png) --- ### Photo Usage: ``` --- layout: image image: 'image-url' --- ``` ![image](https://i.imgur.com/S9TQ2AZ.png)