Skip to content

Commit

Permalink
Fixed #219 Checkbox icons appear the wrong color when checkbox import…
Browse files Browse the repository at this point in the history
…ed before icons
  • Loading branch information
Jian Liao committed Jul 17, 2019
1 parent 1865fb1 commit 34e20bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/checkbox/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ governing permissions and limitations under the License.
color: var(--spectrum-checkbox-text-color);
}

.spectrum-Checkbox-checkmark,
.spectrum-Checkbox-partialCheckmark {
color: var(--spectrum-checkbox-checkmark-color);
}

.spectrum-Checkbox-box {
border-color: var(--spectrum-checkbox-box-border-color);
background-color: var(--spectrum-checkbox-box-background-color);
Expand Down Expand Up @@ -74,6 +69,11 @@ governing permissions and limitations under the License.
}
}

.spectrum-Checkbox .spectrum-Checkbox-checkmark,
.spectrum-Checkbox .spectrum-Checkbox-partialCheckmark {
color: var(--spectrum-checkbox-checkmark-color);
}

.spectrum-Checkbox-input {
&:disabled + .spectrum-Checkbox-box {
/* Use important to override hover states */
Expand Down

0 comments on commit 34e20bd

Please sign in to comment.