[Improvement] border color variable (#1412)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
$border-poses: top, right, bottom, left;
|
||||
|
||||
@define-mixin border-retina $poses: $border-poses, $border-retina-color: $gray-light {
|
||||
@define-mixin border-retina $poses: $border-poses, $border-retina-color: $border-color {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -19,7 +19,7 @@ $border-poses: top, right, bottom, left;
|
||||
}
|
||||
}
|
||||
|
||||
@define-mixin hairline $border-retina-color: $gray-light {
|
||||
@define-mixin hairline $border-retina-color: $border-color {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -31,4 +31,4 @@ $border-poses: top, right, bottom, left;
|
||||
pointer-events: none;
|
||||
box-sizing: border-box;
|
||||
border: 0 solid $border-retina-color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user