@hopepaddy/dumi-theme
Version:
dumi-theme-hopepaddy is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui
53 lines • 1.14 kB
JavaScript
export var initialThemeConfig = {
footer: 'Made with 🤯 by <a href="https://lobehub.com" target="_blank">LobeHub</a>',
metadata: {
icons: {
apple: 'https://lobehub.com/apple-touch-icon.png',
icon: 'https://lobehub.com/favicon-32x32.png',
shortcut: 'https://lobehub.com/favicon.ico'
},
openGraph: {
siteName: 'LobeHub'
},
twitter: {
site: '@lobehub'
}
}
};
export var styles = ["html, body { background: transparent; }\n\n @media (prefers-color-scheme: dark) {\n html, body { background: #000; }\n }"];
export var initialState = {
locale: {
id: 'en-US',
name: 'English',
suffix: ''
},
location: {
hash: '',
key: '',
pathname: '',
search: '',
state: ''
},
navData: [],
routeMeta: {
// @ts-ignore
frontmatter: {},
tabs: undefined,
texts: [],
toc: []
},
sidebar: [],
siteData: {
components: {},
demos: {},
entryExports: {},
loading: true,
locales: [],
pkg: {},
// @ts-ignore
setLoading: undefined,
styles: styles,
// @ts-ignore
themeConfig: initialThemeConfig
}
};