Skip to content

Commit e976c42

Browse files
committed
fix: edited styles of status banner
1 parent b28415f commit e976c42

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/account/src/Configs/get-status-badge-config.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const getStatusBadgeConfig = (
5252
return {
5353
text: (
5454
<Localize
55-
i18n_default_text='<0>Needs verification.</0><1>Verify now</1>'
55+
i18n_default_text='<1>Needs verification.</1>'
5656
components={[
5757
<Text key={0} weight='bold' size='xxxs' color='var(--status-info)' />,
5858
setIsVerificationModalVisible ? (

packages/components/src/components/status-badge/status-badge.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
padding: 2px 7px;
99
color: var(--status-info);
1010
border-radius: 4px;
11-
border: 1.5px solid var(--status-info);
1211
align-items: center;
1312
white-space: nowrap;
14-
13+
background-color: var(--status-info-transparent);
1514
&--migrated_with_position,
1615
&--migrated_without_position,
1716
&--pending,
@@ -21,10 +20,12 @@
2120
color: var(--status-warning);
2221
font-size: var(--text-size-xxxs);
2322
align-items: center;
23+
background-color: var(--status-warning-transparent);
2424
}
2525
&--failed {
2626
border-color: var(--status-danger);
2727
color: var(--status-danger);
28+
background-color: var(--status-danger-transparent);
2829
}
2930

3031
&--icon {

packages/shared/src/styles/themes.scss

+2
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,13 @@
157157
--status-default: #{$color-grey-3};
158158
--status-adjustment: #{$color-grey-1};
159159
--status-danger: #{$color-red-1};
160+
--status-danger-transparent: #{$alpha-color-red-1};
160161
--status-success: #{$color-green-1};
161162
--status-warning: #{$color-yellow};
162163
--status-warning-transparent: #{$alpha-color-yellow-1};
163164
--status-transfer: #{$color-orange};
164165
--status-info: #{$color-blue};
166+
--status-info-transparent: #{$alpha-color-blue-1};
165167
--status-colored-background: #{$color-white};
166168
--status-alert-background: #{$color-yellow-3};
167169
// Dashboard

0 commit comments

Comments
 (0)