Skip to content

Commit

Permalink
fix(input): checkout and radio theme
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenshuaiwws committed Aug 14, 2019
1 parent 1d0c8f8 commit 30bb44c
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions src/form/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
@include set-input-hover-border($input-hover-border-color);
}

@include form-validation-state("invalid", $form-feedback-invalid-color);
@include form-validation-state('invalid', $form-feedback-invalid-color);


input[type="radio"],
input[type="checkbox"] {
input[type='radio'],
input[type='checkbox'] {
border: solid 1px $input-form-check-border-color;

&:disabled {
Expand Down Expand Up @@ -44,3 +43,20 @@ input[type="checkbox"] {
color: $primary;
}
}

// checkbox
input[type='checkbox'] {
&:before {
background: $primary;
}
&:after {
background: $primary;
}
}

//radio
input[type='radio'] {
&:after {
background: $primary;
}
}

0 comments on commit 30bb44c

Please sign in to comment.