Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🎨 Improve visibility of unchecked checkboxes (#851)
Browse files Browse the repository at this point in the history
no issue

* Checkboxes now have greater contrast when unchecked to make them more visible
* Checkbox colour tweaks for nightshift
  • Loading branch information
JohnONolan authored and kevinansfield committed Sep 10, 2017
1 parent 87449eb commit 051ae12
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/styles/app-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,8 @@ input,
.gh-contributors a:before {
color: var(--lightgrey);
}

.settings-menu-content .for-radio .input-toggle-component,
.settings-menu-content .for-checkbox .input-toggle-component {
background: var(--lightgrey);
}
6 changes: 6 additions & 0 deletions app/styles/components/settings-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@
margin-right: 0;
}

.settings-menu-content .for-radio .input-toggle-component,
.settings-menu-content .for-checkbox .input-toggle-component {
background: #fff;
}


/* Background
/* ---------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion app/styles/patterns/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ textarea {
height: 18px;
margin-right: 7px;
border: 1px solid color(var(--lightgrey) l(-5%) s(-10%));
background: #fff;
background: color(var(--lightgrey) l(+4%));
}

.for-checkbox label:hover input:not(:checked) + .input-toggle-component,
Expand Down

0 comments on commit 051ae12

Please sign in to comment.