Skip to content

Commit

Permalink
set default colormode to light, adjust navbar item highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Sep 17, 2024
1 parent 45785f6 commit 219a26c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export default defineUserConfig({
logo: "/needle-logo-black.svg",
logoDark: "/needle-logo-white.svg",
colorModeSwitch: true,
colorMode: "light",
lastUpdated: true, // useful for locally testing / seeing which pages are outdated
contributors: false,
editLink: true,
Expand Down
14 changes: 14 additions & 0 deletions documentation/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -463,4 +463,18 @@ div[class*=language-] > pre code {
display: inline-block;
margin: 0;
padding: 0;
}

.vp-navbar button:hover {
cursor: pointer;
background: none;
}

.vp-navbar-item > div > button:hover {
margin-bottom: -2px;
border-bottom: 2px solid var(--vp-c-accent);
}

.vp-navbar-item > a:hover, .vp-navbar-item a.route-link-active {
color: var(--vp-c-text);
}

0 comments on commit 219a26c

Please sign in to comment.