@import '../common/style/var.less'; @import '../common/style/theme.less'; .van-index-anchor { .theme(padding, '@index-anchor-padding'); .theme(color, '@index-anchor-text-color'); .theme(font-weight, '@index-anchor-font-weight'); .theme(font-size, '@index-anchor-font-size'); .theme(line-height, '@index-anchor-line-height'); .theme(background-color, '@index-anchor-background-color'); &--active { right: 0; left: 0; .theme(color, '@index-anchor-active-text-color'); .theme(background-color, '@index-anchor-active-background-color'); } }