Skip to content

Commit

Permalink
feat: add a CSS variable to define box-shadow color of gv-input in …
Browse files Browse the repository at this point in the history
…invalid state
  • Loading branch information
gaetanmaisse committed Jun 10, 2021
1 parent 2a5be23 commit 3b8761a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/input-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function InputElement(ParentClass) {
:host([invalid]) :not(.clipboard) input,
:host([invalid]) :not(.clipboard) .box-icon-left,
:host([invalid]) :not(.clipboard) textarea {
box-shadow: inset 3px 0 0 var(--gv-theme-color-error-dark, #d32f2f);
box-shadow: inset 3px 0 0 var(--gv-input-invalid--bxshc, var(--gv-theme-color-error, #da1a1b));
}
:host([readonly]) :not(.clipboard) input,
Expand Down

0 comments on commit 3b8761a

Please sign in to comment.