-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.tsx
55 lines (54 loc) · 1.42 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { defineTheme, directory, group, link, social } from '@neato/guider/theme';
import { Logo } from './components/Logo';
import { NextSeo } from 'next-seo';
import faviconUrl from './public/logo.png';
export default defineTheme({
github: 'sussy-code/world-history-project',
navigation: [
link('My other project', 'https://sudo-flix.lol', {
style: 'star',
newTab: true,
}),
],
meta: (pageMeta) => (
<NextSeo {...{
title: `${pageMeta.title ?? 'Netherlands'}`,
description: pageMeta.description ?? 'Netherlands, I will maintain',
additionalLinkTags: [
{
href: faviconUrl.src,
rel: 'icon',
type: 'image/x-icon',
}
]
}} />
),
settings: {
logo: () => <Logo />,
backgroundPattern: 'flare',
toc: false,
sidebar: false,
contentFooter: false,
colors: {
'primary': '#A476D9',
'primaryLighter': '#C4ADDE',
'primaryDarker': '#6E23C3',
'background': '#0C0B13',
'backgroundLighter': '#1A1726',
'backgroundLightest': '#282438',
'backgroundDarker': '#000000',
'line': '#37334C',
'text': '#8C899A',
'textLighter': '#A6A4AE',
'textHighlight': '#FFF'
},
},
directories: [
directory('main', {
sidebar: [
link('project', '/project', { icon: 'mdi:handshake' }),
link('graph', '/graph', { icon: 'mdi:handshake' }),
]
})
],
});