Skip to content

Commit c5c4f15

Browse files
committed
transparentize($black, 0.8) -> $border-color-button
1 parent 7fd97bf commit c5c4f15

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/buttons/button.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
background-position: -1px -1px;
1919
background-size: 110% 110%;
2020
// stylelint-disable-next-line primer/borders
21-
border: $border-width $border-style transparentize($black, 0.8);
21+
border: $border-width $border-style $border-color-button;
2222
// stylelint-disable-next-line primer/borders
2323
border-radius: 0.25em;
2424
appearance: none; // Corrects inability to style clickable `input` types in iOS.

src/buttons/misc.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
vertical-align: middle;
7575
background-color: $bg-white;
7676
// stylelint-disable-next-line primer/borders
77-
border: $border-width $border-style transparentize($black, 0.8); // match with .btn
77+
border: $border-width $border-style $border-color-button; // match with .btn
7878
border-left: 0;
7979
border-top-right-radius: $border-radius;
8080
border-bottom-right-radius: $border-radius;

src/support/mixins/buttons.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
color: rgba($color, 0.4);
3535
background-color: $bg2;
3636
background-image: none;
37-
border-color: transparentize($black, 0.8); // back to default .btn
37+
border-color: $border-color-button;
3838
box-shadow: none;
3939
}
4040

@@ -67,7 +67,7 @@
6767
color: rgba($color, 0.75);
6868
background-color: mix($bg2, $white, 50%);
6969
background-image: none;
70-
border-color: transparentize($black, 0.8); // repeat .btn default to avoid shift on click-drag off of button
70+
border-color: $border-color-button;
7171
box-shadow: none;
7272
}
7373

@@ -114,7 +114,7 @@
114114
color: rgba($color, 0.4);
115115
background-color: $bg2;
116116
background-image: none;
117-
border-color: transparentize($black, 0.8); // back to default .btn
117+
border-color: $border-color-button;
118118
box-shadow: none;
119119
}
120120
}

0 commit comments

Comments
 (0)