Skip to content

Commit

Permalink
QMK Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed May 27, 2024
1 parent 54ad1cf commit f249d61
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions builddefs/docsgen/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ export default defineConfig(({ mode }) => {
},
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: {
light: "/gitbook/images/badge-community-light.svg",
dark: "/gitbook/images/badge-community-dark.svg",
},
siteTitle: false,

nav: [{ text: "Home", link: "./" }],

search: {
Expand Down
12 changes: 12 additions & 0 deletions builddefs/docsgen/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,15 @@ 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;
}
1 change: 1 addition & 0 deletions docs/gitbook/images/badge-community-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/gitbook/images/badge-community-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f249d61

Please sign in to comment.