1
1
mirror of https://github.com/primer/css.git synced 2024-11-10 07:58:36 +03:00

Merge pull request #418 from primer/btn_contrast

Button color contrast improvements
This commit is contained in:
Diana Mounter 2018-01-16 18:51:13 -05:00 committed by GitHub
commit 1de8a9f734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
i {
font-style: normal;
font-weight: $font-weight-semibold;
opacity: 0.6;
opacity: 0.75;
}
.octicon {

View File

@ -43,7 +43,7 @@
} @else {
&:focus,
&.focus {
box-shadow: 0 0 0 0.2em rgba($bg, 0.3);
box-shadow: 0 0 0 0.2em rgba($bg, 0.4);
}
&:hover,
@ -86,7 +86,7 @@
background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
&:focus {
box-shadow: 0 0 0 0.2em rgba($color, 0.3);
box-shadow: 0 0 0 0.2em rgba($color, 0.4);
}
&:hover {
@ -147,7 +147,7 @@
&:focus {
border-color: $text-color;
box-shadow: 0 0 0 0.2em rgba($text-color, 0.3);
box-shadow: 0 0 0 0.2em rgba($text-color, 0.4);
}
&:disabled,