Skip to content

Commit 961d472

Browse files
fix: Alert level colors (#9280)
* fix: Alert level colors * [getsentry/action-github-commit] Auto commit --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
1 parent 634a681 commit 961d472

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/components/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type Props = {
44
children?: any;
55
deepLink?: string;
66
dismiss?: boolean;
7-
level?: string;
7+
level?: 'info' | 'warning' | 'danger' | 'success' | '';
88
title?: string;
99
};
1010

src/styles/_includes/bootstrap-overrides.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ $cyan: $jewel1;
4646
$primary: $purple;
4747

4848
$theme-colors: (
49-
'info': $brandLink,
50-
'warning': $brandPink,
49+
'info': $blue,
50+
'warning': $orange,
51+
'danger': $red,
52+
'success': $green,
5153
);
5254

5355
$code-color: $codeColor;

0 commit comments

Comments
 (0)