From 87b40fb6c4af83f4801933ce7fd3627666b903a3 Mon Sep 17 00:00:00 2001 From: Soitora Date: Fri, 8 Sep 2023 23:02:20 +0200 Subject: [PATCH] Add divider color to home footer --- website/src/.vitepress/config/themeConfig.ts | 2 +- website/src/.vitepress/theme/styles/base.styl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/website/src/.vitepress/config/themeConfig.ts b/website/src/.vitepress/config/themeConfig.ts index 813a7d0c..ec3b9cb4 100644 --- a/website/src/.vitepress/config/themeConfig.ts +++ b/website/src/.vitepress/config/themeConfig.ts @@ -47,7 +47,7 @@ const themeConfig: DefaultTheme.Config = { ], footer: { - message: "Open-source Apache Licensed | Privacy policy | Powered by Netlify \"Netlify", + message: "Open-source Apache Licensed | Privacy policy | Powered by Netlify \"Netlify", copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`, }, diff --git a/website/src/.vitepress/theme/styles/base.styl b/website/src/.vitepress/theme/styles/base.styl index 73e20356..c60668d0 100644 --- a/website/src/.vitepress/theme/styles/base.styl +++ b/website/src/.vitepress/theme/styles/base.styl @@ -79,6 +79,12 @@ html:not(.dark) { } } +.VPFooter { + .divider { + color: var(--vp-c-divider) + } +} + /** * Component: Custom Block * -------------------------------------------------------------------------- */