Skip to content

Commit

Permalink
UX-360 use Warning icon for banner warning status icon (#677)
Browse files Browse the repository at this point in the history
* UX-360 use Warning icon for banner warning status icon

* UX-360 use ReportProblemOutlined icon

* UX-360 fix Banner test

Co-authored-by: Logan Sparlin <losparlin@Logan-Sparlins-MacBook-Pro.local>
  • Loading branch information
logansparlin and Logan Sparlin authored Nov 6, 2020
1 parent 252107b commit 3f456cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/matchbox/src/components/Banner/styles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { tokens } from '@sparkpost/design-tokens';
import { ErrorOutline, CheckCircleOutline, InfoOutline } from '@sparkpost/matchbox-icons';
import {
ErrorOutline,
CheckCircleOutline,
InfoOutline,
ReportProblemOutlined,
} from '@sparkpost/matchbox-icons';

export function container(props) {
switch (props.status) {
Expand Down Expand Up @@ -63,7 +68,7 @@ export const statusIcons = {
fillMobile: 'blue.700',
},
warning: {
iconName: ErrorOutline,
iconName: ReportProblemOutlined,
iconLabel: 'Warning',
bg: 'yellow.300',
fill: 'yellow.700',
Expand Down

0 comments on commit 3f456cf

Please sign in to comment.