From 05e793f0ba72fedb3bc96bc894824a0a4009e905 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Fri, 8 Feb 2019 22:58:23 +0800 Subject: [PATCH] feat($theme-default): highlight sidebar link text at root level like sidebar group heading text --- packages/@vuepress/theme-default/components/Sidebar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/@vuepress/theme-default/components/Sidebar.vue b/packages/@vuepress/theme-default/components/Sidebar.vue index 1976143558..e59ec5d010 100644 --- a/packages/@vuepress/theme-default/components/Sidebar.vue +++ b/packages/@vuepress/theme-default/components/Sidebar.vue @@ -41,6 +41,10 @@ export default { padding 0.5rem 0 0.5rem 1.5rem & > .sidebar-links padding 1.5rem 0 + & > li > a.sidebar-link + font-size 1.1em + line-height 1.7 + font-weight bold & > li:not(:first-child) margin-top .75rem