Skip to content

Commit 05e793f

Browse files
committed
feat($theme-default): highlight sidebar link text at root level like sidebar group heading text
1 parent 213bb34 commit 05e793f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/@vuepress/theme-default/components/Sidebar.vue

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export default {
4141
padding 0.5rem 0 0.5rem 1.5rem
4242
& > .sidebar-links
4343
padding 1.5rem 0
44+
& > li > a.sidebar-link
45+
font-size 1.1em
46+
line-height 1.7
47+
font-weight bold
4448
& > li:not(:first-child)
4549
margin-top .75rem
4650

0 commit comments

Comments
 (0)