diff --git a/CHANGELOG.md b/CHANGELOG.md index 7be1a4d..e625932 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ #### More aligned with GitHub style +- Fine-tune the style of the navigation bar. + ##### Template File ### 🐞 Fix diff --git a/src/core/github.ts b/src/core/github.ts index 81cdfb1..d8db07c 100644 --- a/src/core/github.ts +++ b/src/core/github.ts @@ -202,7 +202,7 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor { bg: githubColor.bgColor.emphasis, }, nav: { - bg: githubColor.bgColor.muted, + bg: githubColor.bgColor.inset, hoverBg: githubColor.control.transparent.bgColor.hover, text: themeVars.color.text.self, }, diff --git a/styles/components/navbar.ts b/styles/components/navbar.ts index 6458d3a..9835d90 100644 --- a/styles/components/navbar.ts +++ b/styles/components/navbar.ts @@ -3,7 +3,6 @@ import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars" export const navbarRight = css` #navbar { - border-bottom: 0; padding: 8px 16px; // ä¸Šä¸‹å†…čžščˇ + .navbar-left & .navbar-right įš„ min-height = 64px min-height: 64px; .navbar-left,