Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions web/packages/design/src/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const Alert = ({
wrapContents = false,
...otherProps
}: AlertProps) => {
const alertIconSize = kind === 'neutral' ? 'large' : 'small';
const alertIconSize = 'small';
const [dismissed, setDismissed] = useState(false);

const onDismissClick = () => {
Expand Down Expand Up @@ -324,7 +324,8 @@ const iconContainerStyles = ({
case 'neutral':
return {
color: theme.colors.text.main,
background: 'none',
background: theme.colors.interactive.tonal.neutral[0],
padding: `${theme.space[2]}px`,
};
}
};
Expand Down Expand Up @@ -387,7 +388,7 @@ const ActionButtons = ({
)}
{secondaryAction && (
<ActionButton
fill="minimal"
fill={kind === 'neutral' ? 'filled' : 'minimal'}
intent="neutral"
action={secondaryAction}
/>
Expand Down
Loading