diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 420aa05..cd22f6c 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -4,6 +4,11 @@ import { defineConfig } from 'vitepress' export default defineConfig({ title: "Bash", description: "My Bash!", + base: '/docs/', + head: [ + ['link', { rel: 'icon', type: 'image/svg+xml', href: 'favicon.ico' }] + ], + lastUpdated: true, themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ @@ -20,9 +25,5 @@ export default defineConfig({ ] } ], - - socialLinks: [ - { icon: 'github', link: 'https://github.com/vuejs/vitepress' } - ] } }) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 1a61cb1..270d6f6 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -44,6 +44,10 @@ * -------------------------------------------------------------------------- */ :root { + --vp-c-brand-1: #81c122 !important; + --vp-c-brand-2: #98cc4a !important; + --vp-c-brand-3: #9be05e !important; + --vp-c-default-1: var(--vp-c-gray-1); --vp-c-default-2: var(--vp-c-gray-2); --vp-c-default-3: var(--vp-c-gray-3); @@ -70,6 +74,12 @@ --vp-c-danger-soft: var(--vp-c-red-soft); } +.dark { + --vp-c-brand-1: #a5cc69 !important; + --vp-c-brand-2: #98cc4a !important; + --vp-c-brand-3: #9be05e !important; +} + /** * Component: Button * -------------------------------------------------------------------------- */ diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico new file mode 100644 index 0000000..426bab6 Binary files /dev/null and b/docs/public/favicon.ico differ