style: decentralized less var (#8369)
* style: decentralized less var * chore: remove emtpy var file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@import '../style/var.less';
|
||||
@import './var.less';
|
||||
|
||||
.van-index-anchor {
|
||||
z-index: @index-anchor-z-index;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
@import '../style/var.less';
|
||||
|
||||
@index-anchor-z-index: 1;
|
||||
@index-anchor-padding: 0 @padding-md;
|
||||
@index-anchor-text-color: @text-color;
|
||||
@index-anchor-font-weight: @font-weight-bold;
|
||||
@index-anchor-font-size: @font-size-md;
|
||||
@index-anchor-line-height: 32px;
|
||||
@index-anchor-background-color: transparent;
|
||||
@index-anchor-sticky-text-color: @red;
|
||||
@index-anchor-sticky-background-color: @white;
|
||||
Reference in New Issue
Block a user