Skip to content

Commit a9d62a4

Browse files
authored
docs: add unicorn theme and fix edit urls (#5)
1 parent 0208079 commit a9d62a4

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.vitepress/showcases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const showcases: ShowCaseInfo[] = [
4444
name: '',
4545
},
4646
at: 'Submit your talk/presentation to be list here!',
47-
slidesLink: 'https://github.com/slidevjs/slidev/edit/main/docs/.vitepress/showcases.ts',
47+
slidesLink: 'https://github.com/slidevjs/docs/edit/main/.vitepress/showcases.ts',
4848
cover: `${import.meta.env.BASE_URL}theme-placeholder.png`,
4949
datetime: '2021-04-29',
5050
},

.vitepress/themes.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,31 @@ export const community: ThemeInfo[] = [
176176
'light',
177177
],
178178
},
179+
{
180+
id: 'slidev-theme-unicorn',
181+
name: 'Unicorn',
182+
description: 'Based on Dawntraoz website design',
183+
author: {
184+
name: 'Alba Silvente (dawntraoz)',
185+
link: 'https://github.com/dawntraoz',
186+
},
187+
repo: 'https://github.com/dawntraoz/slidev-theme-unicorn',
188+
previews: [
189+
'https://raw.githubusercontent.com/Dawntraoz/slidev-theme-unicorn/master/screenshots/dark-theme-intro.png',
190+
'https://raw.githubusercontent.com/Dawntraoz/slidev-theme-unicorn/master/screenshots/light-theme-cover.png',
191+
'https://raw.githubusercontent.com/Dawntraoz/slidev-theme-unicorn/master/screenshots/dark-theme-image-centered.png',
192+
'https://raw.githubusercontent.com/Dawntraoz/slidev-theme-unicorn/master/screenshots/dark-theme-center-without-header-footer.png',
193+
],
194+
tags: [
195+
'unicorn',
196+
'dark',
197+
'light',
198+
],
199+
},
179200
// Add yours here!
180201
{
181202
id: '',
182-
link: 'https://github.com/slidevjs/slidev/edit/main/docs/.vitepress/themes.ts',
203+
link: 'https://github.com/slidevjs/docs/edit/main/.vitepress/themes.ts',
183204
name: 'Yours?',
184205
description: 'Submit your theme to be list here!',
185206
author: {

0 commit comments

Comments
 (0)