feat(style): component using basic css variables
This commit is contained in:
@@ -1,11 +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-padding: 0 var(--van-padding-md);
|
||||
@index-anchor-text-color: var(--van-text-color);
|
||||
@index-anchor-font-weight: var(--van-font-weight-bold);
|
||||
@index-anchor-font-size: var(--van-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;
|
||||
@index-anchor-sticky-text-color: var(--van-red);
|
||||
@index-anchor-sticky-background-color: var(--van-white);
|
||||
|
||||
Reference in New Issue
Block a user