From 49f5314caac5a4a4970756ec0ca926670317e827 Mon Sep 17 00:00:00 2001 From: ZanzyTHEbar Date: Fri, 6 Jan 2023 18:32:19 +0000 Subject: [PATCH] update: change to theme.css - remove custom.css - rename to theme.css - use import style --- vitepress/docs/.vitepress/theme/index.ts | 3 +-- vitepress/docs/src/styles/imports.css | 1 + .../docs/{.vitepress/theme/custom.css => src/styles/theme.css} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename vitepress/docs/{.vitepress/theme/custom.css => src/styles/theme.css} (100%) diff --git a/vitepress/docs/.vitepress/theme/index.ts b/vitepress/docs/.vitepress/theme/index.ts index 6e9faf4..6b16ba7 100644 --- a/vitepress/docs/.vitepress/theme/index.ts +++ b/vitepress/docs/.vitepress/theme/index.ts @@ -1,8 +1,7 @@ //https://vitepress.vuejs.org/guide/theme-introduction#customizing-css import { ThemeSettings } from '../../src/custom/theme' -import '../../src/styles/imports.css' import DefaultTheme from 'vitepress/theme' -import "./custom.css"; +import '../../src/styles/imports.css' const CustomTheme = { ...DefaultTheme, diff --git a/vitepress/docs/src/styles/imports.css b/vitepress/docs/src/styles/imports.css index 85c8509..28d84c4 100644 --- a/vitepress/docs/src/styles/imports.css +++ b/vitepress/docs/src/styles/imports.css @@ -9,6 +9,7 @@ @import url('https://fonts.googleapis.com/css?family=Ubuntu:500'); /* Custom Imports */ +@import 'theme.css'; @import 'index.css'; @import 'scrollbar.css'; diff --git a/vitepress/docs/.vitepress/theme/custom.css b/vitepress/docs/src/styles/theme.css similarity index 100% rename from vitepress/docs/.vitepress/theme/custom.css rename to vitepress/docs/src/styles/theme.css