From c4504229307f1feb62156d3ef1a11b57afe5b344 Mon Sep 17 00:00:00 2001 From: zvecr Date: Tue, 9 Jul 2024 14:18:34 +0100 Subject: [PATCH] Align navbar icon with docs.qmk.fm --- src/.vitepress/config.mts | 5 ++++- src/public/qmk-logo-dark.svg | 14 ++++++++++++++ src/public/qmk-logo-light.svg | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/public/qmk-logo-dark.svg create mode 100644 src/public/qmk-logo-light.svg diff --git a/src/.vitepress/config.mts b/src/.vitepress/config.mts index 7ac8108..7221420 100644 --- a/src/.vitepress/config.mts +++ b/src/.vitepress/config.mts @@ -12,7 +12,10 @@ export default defineConfig({ head: [['link', { rel: 'icon', href: '/logo.png' }]], themeConfig: { - logo: '/logo.png', + logo: { + light: "/qmk-logo-light.svg", + dark: "/qmk-logo-dark.svg", + }, sidebar, diff --git a/src/public/qmk-logo-dark.svg b/src/public/qmk-logo-dark.svg new file mode 100644 index 0000000..b89e1de --- /dev/null +++ b/src/public/qmk-logo-dark.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/public/qmk-logo-light.svg b/src/public/qmk-logo-light.svg new file mode 100644 index 0000000..46b286c --- /dev/null +++ b/src/public/qmk-logo-light.svg @@ -0,0 +1,14 @@ + + + + + +