From 8b84fa6b505b29f568164551d85944ba8e2db7c2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 30 May 2024 19:09:07 +1000 Subject: [PATCH 1/2] [docs] Better logo SVG (#23828) --- builddefs/docsgen/.vitepress/config.mts | 6 +++--- builddefs/docsgen/.vitepress/theme/custom.css | 12 ------------ docs/public/qmk-logo-dark.svg | 14 ++++++++++++++ docs/public/qmk-logo-light.svg | 14 ++++++++++++++ 4 files changed, 31 insertions(+), 15 deletions(-) create mode 100644 docs/public/qmk-logo-dark.svg create mode 100644 docs/public/qmk-logo-light.svg diff --git a/builddefs/docsgen/.vitepress/config.mts b/builddefs/docsgen/.vitepress/config.mts index f2111eeb7c..289e08ef91 100644 --- a/builddefs/docsgen/.vitepress/config.mts +++ b/builddefs/docsgen/.vitepress/config.mts @@ -28,10 +28,10 @@ export default defineConfig(({ mode }) => { themeConfig: { // https://vitepress.dev/reference/default-theme-config logo: { - light: "/badge-community-light.svg", - dark: "/badge-community-dark.svg", + light: "/qmk-logo-light.svg", + dark: "/qmk-logo-dark.svg", }, - siteTitle: false, + title: 'QMK Firmware', nav: [{ text: "Home", link: "./" }], diff --git a/builddefs/docsgen/.vitepress/theme/custom.css b/builddefs/docsgen/.vitepress/theme/custom.css index 646d215c1f..77726adede 100644 --- a/builddefs/docsgen/.vitepress/theme/custom.css +++ b/builddefs/docsgen/.vitepress/theme/custom.css @@ -5,15 +5,3 @@ kbd { margin: 0.2em; padding: 0.2em; } - -:root { - --vp-nav-logo-height: 100%; -} - -.logo { - padding-bottom: 0.2em; -} - -.VPNavBarTitle.has-sidebar .title { - border-bottom: 0; -} diff --git a/docs/public/qmk-logo-dark.svg b/docs/public/qmk-logo-dark.svg new file mode 100644 index 0000000000..b89e1de6c8 --- /dev/null +++ b/docs/public/qmk-logo-dark.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/docs/public/qmk-logo-light.svg b/docs/public/qmk-logo-light.svg new file mode 100644 index 0000000000..46b286c8b1 --- /dev/null +++ b/docs/public/qmk-logo-light.svg @@ -0,0 +1,14 @@ + + + + + + From 8a394503c714aaf053e51bb3bbf2a4f8ea503c7b Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 30 May 2024 10:10:00 +0100 Subject: [PATCH 2/2] [docs] Update "Get Started" blocks (#23830) Update "Get Started" blocks --- docs/index.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/index.md b/docs/index.md index 91f27a8a80..166bdc8ad9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,19 +6,17 @@ QMK (*Quantum Mechanical Keyboard*) is an open source community centered around ## Get Started -
+::: tip Basic +[QMK Configurator](newbs_building_firmware_configurator) -::: tip -**Basic** [QMK Configurator](newbs_building_firmware_configurator)
-::: User friendly graphical interfaces, no programming knowledge required. - -::: tip -**Advanced** [Use The Source](newbs)
::: -More powerful, but harder to use. -
+::: warning Advanced +[Use The Source](newbs) + +More powerful, but harder to use. +::: ## Make It Yours