---
16 | theme: unicorn
17 | ---
18 |
19 | Learn more about [how to use a theme](https://sli.dev/themes/use).
20 |
21 | ## Layouts
22 |
23 | This theme provides the following layouts:
24 |
25 | ### Common properties
26 |
27 | By default any layout will contain a header and a footer expecting:
28 |
29 | ```
30 | ---
31 | logoHeader: 'https://www.dawntraoz.com/images/logo.svg'
32 | website: 'dawntraoz.com'
33 | handle: 'dawntraoz'
34 | ---
35 | ```
36 |
37 | If you don't add this property it will be an empty slide expecting your content:
38 |
39 | With properties | Without properties
40 | :-------------------------:|:-------------------------:
41 |  | 
42 |
43 | ---
44 |
45 | ### Intro `intro`
46 |
47 | Usage:
48 |
49 | - Add `intro` in the layout field.
50 | - Add your profile image in the `introImage` field.
51 |
52 | ```
53 | ---
54 | layout: intro
55 | introImage: 'https://img2.storyblok.com/312x312/filters:format(webp)/f/79165/400x400/1082ff0d24/dawntraoz-alba-silvente.jpg'
56 | ---
57 | ```
58 |
59 | Dark | Light
60 | :-------------------------:|:-------------------------:
61 |  | 
62 |
63 | ---
64 |
65 | ### Default `cover`
66 |
67 | Cover is the default layout when none is specified.
68 |
69 | Usage:
70 |
71 | ```
72 | ---
73 | layout: cover
74 | ---
75 | ```
76 |
77 | Dark | Light
78 | :-------------------------:|:-------------------------:
79 |  | 
80 |
81 | ---
82 |
83 | ### Presentation `cover-logos`
84 |
85 | Usage:
86 |
87 | - Add `cover-logos` in the layout field.
88 | - Add an Array of logo URLs in the `logos` field.
89 |
90 | ```
91 | ---
92 | layout: cover-logos
93 | logos: [
94 | 'https://img2.storyblok.com/588x0/filters::format(webp)/f/86387/x/21aa32ed18/logo-normal.svg',
95 | 'https://nuxtjs.org/logos/nuxt-emoji.png',
96 | ]
97 | ---
98 | ```
99 |
100 | Dark | Light
101 | :-------------------------:|:-------------------------:
102 |  | 
103 |
104 | ---
105 |
106 | ### Table of contents `table-contents`
107 |
108 | Usage:
109 |
110 | - Add `table-contents` in the layout field.
111 | - Add an Array of hexadecimal colours in the `gradientColors` field to fill the illustration.
112 |
113 | ```
114 | ---
115 | layout: table-contents
116 | gradientColors: ['#8EC5FC', '#E0C3FC']
117 | ---
118 | ```
119 |
120 | Dark (added gradient) | Light (default gradient)
121 | :-------------------------:|:-------------------------:
122 |  | 
123 |
124 | ---
125 |
126 | ### New section slide `new-section`
127 |
128 | > Always in dark version
129 |
130 | Usage:
131 |
132 | - Add `new-section` in the layout field.
133 |
134 | ```
135 | ---
136 | layout: new-section
137 | ---
138 | ```
139 |
140 | Dark | Light
141 | :-------------------------:|:-------------------------:
142 |  | 
143 |
144 | ---
145 |
146 | ### Image Centered `image-center`
147 |
148 | The content will be place before the image, you can add a title, subtitle to give context to the image.
149 |
150 | ```
151 | ---
152 | layout: image-center
153 | image: 'https://source.unsplash.com/collection/94734566/1920x1080'
154 | imageWidth: '450'
155 | imageHeight: '950'
156 | ---
157 | ```
158 |
159 | Dark | Light
160 | :-------------------------:|:-------------------------:
161 |  | 
162 |
163 | ---
164 |
165 | ### Text centered `center`
166 |
167 | ```
168 | ---
169 | layout: center
170 | ---
171 | ```
172 |
173 | Dark | Light
174 | :-------------------------:|:-------------------------:
175 |  | 
176 |
177 | ---
178 |
179 | ## Contributing
180 |
181 | - `pnpm install`
182 | - `pnpm dev` to start theme preview of `example.md`
183 | - Edit the `example.md` and style to see the changes
184 | - `pnpm export` to generate the preview PDF
185 | - `pnpm screenshot` to generate the preview PNG
186 |
--------------------------------------------------------------------------------
/public/section-illustration.svg:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------