Skip to content

Commit

Permalink
fix(forms): use subtle-text variable for form styling
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Feb 25, 2021
1 parent dd4c102 commit 68dae9f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/default/scss/forms/_theme.scss
Expand Up @@ -2,35 +2,35 @@

.k-form,
.k-form-inline {
@include fill ( $color: $body-text );
@include fill( $color: $body-text );

fieldset {
legend {
@include fill ( $color: $fieldset-legend-text );
@include fill( $color: $fieldset-legend-text );
}
}

.k-form-legend {
@include fill ( $border: $form-legend-border-color );
@include fill( $border: $form-legend-border-color );
}

.k-field-info {
@include fill ( $color: lighten($body-text, 33%) );
@include fill( $color: $subtle-text );
}

.k-alert-error {
@include fill ( $color: $error );
@include fill( $color: $error );
}
}

.k-form-error,
.k-text-error,
.k-form-field-error .k-label {
@include fill ( $color: $error );
@include fill( $color: $error );
}

.k-form-separator {
@include fill ( $border: $form-separator-border-color );
@include fill( $border: $form-separator-border-color );
}

}

0 comments on commit 68dae9f

Please sign in to comment.