[improvement] IndexBar: add default highlight color and more less vars

This commit is contained in:
陈嘉涵
2019-05-30 16:04:10 +08:00
parent 37ed9bd9ba
commit d67cec269f
7 changed files with 19 additions and 8 deletions
+4
View File
@@ -243,9 +243,13 @@
// IndexAnchor
@index-anchor-padding: 0 15px;
@index-anchor-text-color: @text-color;
@index-anchor-font-weight: 500;
@index-anchor-font-size: 14px;
@index-anchor-line-height: 32px;
@index-anchor-background-color: transparent;
@index-anchor-sticky-background-color: @white;
@index-anchor-transition-duration: .2s;
// IndexBar
@index-bar-index-font-size: 10px;