Skip to content

Commit

Permalink
add manual rule for disabled buttons, fixes #1184
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jul 21, 2020
1 parent c689519 commit 7e4f9f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions github-dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -21906,6 +21906,11 @@
.Toast--warning .Toast-icon {
color: #222;
}
/* change forground color of disabled things */
.btn-primary.disabled, .btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
color: hsla(0, 0%, 100%, .3);
}
/* svg styling */
line, rect, path {
shape-rendering: geometricPrecision !important;
Expand Down
5 changes: 5 additions & 0 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,11 @@
.Toast--warning .Toast-icon {
color: #222;
}
/* change forground color of disabled things */
.btn-primary.disabled, .btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
color: hsla(0, 0%, 100%, .3);
}
/* svg styling */
line, rect, path {
shape-rendering: geometricPrecision !important;
Expand Down

0 comments on commit 7e4f9f0

Please sign in to comment.