Skip to content

Commit

Permalink
fix: some icon colors and sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Aug 14, 2023
1 parent e345cd2 commit d4a4e34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/ErrorState/error-state.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ins-c-error-state.pf-v5-c-empty-state {
.pf-v5-c-empty-state__icon {
.pf-v5-c-empty-state__icon svg {
fill: var(--pf-v5-global--danger-color--100);
}
}
2 changes: 1 addition & 1 deletion packages/components/src/Maintenance/maintenance.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
.pf-v5-c-empty-state__body {
color: var(--pf-v5-global--Color--100);
}
.pf-v5-c-empty-state__icon { fill: #EE0000; } // This is Red Hat's red, not Patternfly's red.
.pf-v5-c-empty-state__icon svg { fill: #EE0000; } // This is Red Hat's red, not Patternfly's red.
.pf-v5-c-title { font-weight: 500; }
}
2 changes: 1 addition & 1 deletion packages/components/src/Shield/Shield.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface ShieldProps {
size?: IconComponentProps['size'];
}

const Shield: React.FunctionComponent<ShieldProps> = ({ impact = 'N/A', hasLabel = false, size = 'sm', hasTooltip = true }) => {
const Shield: React.FunctionComponent<ShieldProps> = ({ impact = 'N/A', hasLabel = false, size = 'md', hasTooltip = true }) => {
const attributes = impactList?.[impact as keyof typeof impactList] ?? impactList.Unknown;
const badgeProps: SVGIconProps = {
'aria-hidden': 'false',
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/TagCount/TagCount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface TagCountProps extends ButtonProps {
const TagCount: React.FunctionComponent<TagCountProps> = ({ count, onTagClick = () => undefined, className, ...props }) => {
return (
<Button {...props} variant="plain" isDisabled={!count} className={classNames('ins-c-tag-count', className)} onClick={onTagClick}>
<Icon size="md">
<Icon size="lg">
<TagIcon />
</Icon>
<span className="ins-c-tag__text">{count}</span>
Expand Down

0 comments on commit d4a4e34

Please sign in to comment.