mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
style: --van-border-color should affect hairline (#9751)
This commit is contained in:
parent
112215a74d
commit
1c630fb87b
@ -7,7 +7,7 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hairline(@color: @border-color) {
|
||||
.hairline(@color: var(--van-border-color)) {
|
||||
.hairline-common();
|
||||
|
||||
top: -50%;
|
||||
@ -18,7 +18,7 @@
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
.hairline-top(@color: @border-color, @left: 0, @right: 0) {
|
||||
.hairline-top(@color: var(--van-border-color), @left: 0, @right: 0) {
|
||||
.hairline-common();
|
||||
|
||||
top: 0;
|
||||
@ -28,7 +28,7 @@
|
||||
transform: scaleY(0.5);
|
||||
}
|
||||
|
||||
.hairline-bottom(@color: @border-color, @left: 0, @right: 0) {
|
||||
.hairline-bottom(@color: var(--van-border-color), @left: 0, @right: 0) {
|
||||
.hairline-common();
|
||||
|
||||
right: @right;
|
||||
|
Loading…
x
Reference in New Issue
Block a user