Skip to content

Commit d65a5e8

Browse files
committed
navbar style
1 parent 86d67a4 commit d65a5e8

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#### More aligned with GitHub style
44

5+
- Fine-tune the style of the navigation bar.
6+
57
##### Template File
68

79
### 🐞 Fix

src/core/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
202202
bg: githubColor.bgColor.emphasis,
203203
},
204204
nav: {
205-
bg: githubColor.bgColor.muted,
205+
bg: githubColor.bgColor.inset,
206206
hoverBg: githubColor.control.transparent.bgColor.hover,
207207
text: themeVars.color.text.self,
208208
},

styles/components/navbar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars"
33

44
export const navbarRight = css`
55
#navbar {
6-
border-bottom: 0;
76
padding: 8px 16px; // 上下内边距 + .navbar-left & .navbar-right 的 min-height = 64px
87
min-height: 64px;
98
.navbar-left,

0 commit comments

Comments
 (0)