Skip to content

Commit

Permalink
fix(unsupported text): RHICOMPL-1207 Darker yellow
Browse files Browse the repository at this point in the history
Unsupported text next to the warning icon should be
--pf-global--warning-color--200 to match the mocks

Signed-off-by: Andrew Kofink <akofink@redhat.com>
  • Loading branch information
akofink committed Dec 16, 2020
1 parent 73dbf94 commit bc4c3e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const UnsupportedSSGVersion = ({ ssgVersion }) => {

return <div className='pf-c-alert pf-m-warning pf-m-inline' style={ divStyle }>
<ExclamationTriangleIcon className='ins-u-warning' style={ { marginRight: '.25em' } } />
<Text component={ 'strong' } className='ins-u-warning' style={ { color: 'var(--pf-global--palette--gold-500)' } }>
<Text component={ 'strong' } className='ins-c-warning-text'>
Unsupported SSG version ({ ssgVersion })
</Text>
<Popover position='right' { ...{ bodyContent, footerContent } }>
Expand Down
4 changes: 4 additions & 0 deletions packages/inventory-compliance/src/compliance.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
color: var(--pf-global--warning-color--100);
}

.ins-c-warning-text {
color: var(--pf-global--warning-color--200);
}

.ins-c-compliance-system-rule-check {
color: var(--pf-global--success-color--200)
}
Expand Down

0 comments on commit bc4c3e5

Please sign in to comment.