Skip to content

Commit

Permalink
feat: Change from 1px to 2px outline on input for error state
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Jan 21, 2019
1 parent d3d0575 commit 0d12ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ exports[`Input scss have to match default theme snapshot 1`] = `
border-color: transparent; }
.dnb-input__status--error .dnb-input__shell {
border-color: var(--color-cherry-red); }
.dnb-input__status--error .dnb-input__shell, .dnb-input__status--error .dnb-input__shell[data-input-state='focus'] {
box-shadow: 0 0 0 1px var(--color-cherry-red); }
.dnb-input__placeholder {
color: var(--color-sea-green); }
.dnb-input__shell[data-input-state='focus'][data-has-content='false'] .dnb-input__placeholder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
&,
&[data-input-state='focus'] {
// In case we want to have a larger border size on the input
// @include extendBorder(var(--color-cherry-red));
@include extendBorder(var(--color-cherry-red));
}
}

Expand Down

0 comments on commit 0d12ef1

Please sign in to comment.