Skip to content

Commit 2204e0e

Browse files
committed
refactor: format
1 parent 3d66956 commit 2204e0e

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

docs/.vitepress/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ export default defineConfig({
1010
title,
1111
description,
1212
head: [
13-
['link', { rel: 'icon', type: 'image/svg+xml', href: `${base}icon-dark.svg` }],
13+
[
14+
'link',
15+
{ rel: 'icon', type: 'image/svg+xml', href: `${base}icon-dark.svg` },
16+
],
1417
// Fallback for browsers that don't support SVG favicons
1518
['link', { rel: 'alternate icon', href: `${base}favicon.ico` }],
1619
],

docs/.vitepress/theme/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
--vp-c-brand-2: #bb0000;
44
--vp-c-brand-3: #cd1100;
55
--vp-c-brand-soft: rgba(204, 0, 0, 0.14);
6-
}
6+
}

docs/.vitepress/theme/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { h } from 'vue'
2-
import DefaultTheme from 'vitepress/theme'
3-
import './custom.css'
1+
import DefaultTheme from 'vitepress/theme';
2+
import { h } from 'vue';
3+
import './custom.css';
44

55
export default {
66
extends: DefaultTheme,
77
Layout: () => {
8-
return h(DefaultTheme.Layout)
9-
}
10-
}
8+
return h(DefaultTheme.Layout);
9+
},
10+
};

0 commit comments

Comments
 (0)