Nuxt/docs/docus.config.ts

62 lines
2.8 KiB
TypeScript
Raw Normal View History

2021-06-07 11:49:37 +00:00
export default {
title: 'Nuxt 3',
description: 'The Hybrid Vue Framework',
2021-06-07 11:49:37 +00:00
url: 'https://v3.nuxtjs.org',
credits: false,
template: 'docs',
2021-06-07 11:49:37 +00:00
twitter: 'nuxt_js',
github: {
repo: 'nuxt/framework',
dir: 'docs',
branch: 'main'
},
layout: {
aside: false,
asideClass: ''
},
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'
}
2021-06-07 11:49:37 +00:00
}
}