@docus/agency-theme-edge
Advanced tools
Comparing version 1.0.0-27288858.4bff542 to 1.0.0-27288863.2ed7804
@@ -1,42 +0,5 @@ | ||
import { defineThemeNuxtConfig, withDocus } from '@docus/app/kit' | ||
import { withDocus } from '@docus/app/kit' | ||
import { resolveThemeDir } from './dirs' | ||
import themeModule from './module' | ||
export { defineThemeConfig, themeConfig } from './theme' | ||
import { nuxtConfig } from './index' | ||
export const nuxtConfig = defineThemeNuxtConfig({ | ||
// Your theme name. | ||
themeName: 'agencyTheme', | ||
// Don't touch this, useful for theming features. | ||
themeDir: __dirname, | ||
head: { | ||
bodyAttrs: { | ||
class: ['bg-black text-white text-root min-w-base antialiased overflow-y-scroll'] | ||
} | ||
}, | ||
// CSS | ||
css: [resolveThemeDir('./css/main.css')], | ||
/** | ||
* @nuxt/components definitions. | ||
* https://github.com/nuxt/components | ||
*/ | ||
components: [ | ||
{ | ||
path: resolveThemeDir('./components'), | ||
prefix: '', | ||
isAsync: false, | ||
level: 2 | ||
}, | ||
{ | ||
path: resolveThemeDir('./components/templates'), | ||
prefix: '', | ||
isAsync: false, | ||
level: 2 | ||
} | ||
], | ||
/** | ||
* Your theme build modules. | ||
*/ | ||
buildModules: [themeModule, '@docus/windicss'] | ||
}) | ||
/** | ||
@@ -43,0 +6,0 @@ * Export default for local development. |
{ | ||
"name": "@docus/agency-theme-edge", | ||
"version": "1.0.0-27288858.4bff542", | ||
"version": "1.0.0-27288863.2ed7804", | ||
"description": "Docus agency theme.", | ||
@@ -14,8 +14,8 @@ "keywords": [ | ||
".": { | ||
"require": "./nuxt.config.ts", | ||
"import": "./nuxt.config.ts" | ||
"require": "./index.ts", | ||
"import": "./index.ts" | ||
} | ||
}, | ||
"main": "./nuxt.config.ts", | ||
"module": "./nuxt.config.ts", | ||
"main": "./index.ts", | ||
"module": "./index.ts", | ||
"files": [ | ||
@@ -22,0 +22,0 @@ "components", |
13107
119