Skip to content

Commit

Permalink
fix(fieldnote): match error icon color to mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin Lee committed Aug 30, 2022
1 parent 796970d commit 19e4f2e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/FieldNote/FieldNote.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@
margin-right: var(--eds-size-half);
}

/**
* Disabled variant
*/
.field-note--disabled {
color: var(--eds-theme-color-text-disabled);
}

/**
* Error variant
*/
.field-note--error {
color: var(--eds-theme-color-text-utility-error);
}
.field-note--disabled {
color: var(--eds-theme-color-text-disabled);
}
.field-note--error.field-note__icon {
.field-note--error > .field-note__icon {
color: var(--eds-theme-color-icon-utility-error);
}

Expand Down

0 comments on commit 19e4f2e

Please sign in to comment.