-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
docus.config.ts
69 lines (69 loc) · 2.97 KB
/
docus.config.ts
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
export default {
title: 'Nuxt',
description: '',
url: 'https://v2.nuxt.com',
template: 'docs',
credits: true,
socialImage: false,
algolia: {
appId: '1V8G7N9GF0',
apiKey: '60a01900a4b726d667eab75b6f337592',
indexName: 'nuxtjs',
facetFilters: ['tags:main']
},
layout: {
aside: false,
banner: true
},
github: {
repo: 'nuxt/website-v2',
branch: 'main',
releases: 'nuxt/nuxt'
},
theme: {
header: {
logo: true,
title: false
},
colors: {
primary: '#00DC82',
logo: '#003543'
},
shortcuts: {
'd-logo': 'w-auto h-6 md:h-7 text-logo dark:text-white',
'd-body-bg': 'bg-white dark:bg-secondary-black',
'd-body-text-color': 'text-secondary-darker dark:text-white', // text-secondary dark:text-white
'd-secondary-bg': 'bg-gray-500 dark:bg-cloud-light',
'd-secondary-text': 'text-gray-500 dark:text-cloud-light',
'd-secondary-text-hover': 'text-gray-700 dark:text-cloud-lightest',
'd-secondary-text-active': 'text-gray-900 dark:text-cloud-surface',
'd-primary-text-hover': 'text-gray-600 dark:text-cloud-lighter',
'd-prose-code-inline-bg': 'bg-gray-100 dark:bg-secondary-darkest',
'd-prose-code-bg': 'bg-gray-100 dark:bg-secondary-darkest',
'd-header-home':
'sticky w-full top-0 z-50 bg-secondary-black bg-opacity-80 d-border-header d-blur-header h-header',
'd-bg-header': 'bg-white bg-opacity-80 dark:bg-secondary-black dark:bg-opacity-80',
'd-bg-header-home': 'bg-opacity-80 bg-secondary-black',
'd-border': 'light:border-gray-200 light:border-opacity-50 dark:border-secondary-darker',
'd-border-hover': 'border-primary-200 dark:border-secondary-dark',
'd-border-header': 'border-none',
'd-page-mobile-toc-bg': 'd-body-bg bg-opacity-80 dark:bg-opacity-80',
'd-aside-header-bg': 'bg-gray-50 dark:bg-secondary-darkest',
'd-aside-header-home-bg': 'bg-secondary-darkest',
'd-active-aside-navigation-item-bg': 'bg-primary-50 dark:bg-secondary-darkest',
'd-active-aside-navigation-item-text': 'text-primary-500 dark:text-primary-400 ',
'd-code-group-header-bg': 'bg-gray-200 dark:bg-secondary-darker',
'd-code-group-tab': 'bg-gray-300 dark:bg-secondary-dark',
'd-prose-code-filename-bg': 'bg-gray-100 dark:bg-secondary-darker',
'd-prose-code-filename-text': 'text-gray-600 dark:text-secondary-light',
'd-prose-thead-border': 'border-b border-gray-200 dark:border-secondary-dark',
'd-prose-tr-border': 'border-b border-gray-100 dark:border-secondary-darker',
'd-prose-blockquote-border': 'border-l-2 border-gray-200 dark:border-secondary-darker',
'd-tertiary-text': 'text-gray-400 dark:text-cloud-dark',
'd-prose-hr-border': 'border-t border-gray-100 dark:border-secondary-darker',
'd-prose-ul-li-bullet': 'd-secondary-bg',
'd-scrollbar':
'scrollbar-thin scrollbar-thumb-gray-200 dark:scrollbar-thumb-secondary-dark scrollbar-thumb-rounded'
}
}
}