Skip to content

Commit ad7f481

Browse files
committed
Update alert styling to use consistent dark theme colors
- Apply dark background (#25284B) with light text (#d9d9d9) for better readability - Maintain visual consistency across all alert components - Improve contrast and accessibility for notification messages
1 parent b714f50 commit ad7f481

2 files changed

Lines changed: 23 additions & 13 deletions

File tree

src/components/allowed-users/components/PermissionsConfig/PermissionsConfig.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ export const PermissionsConfig: React.FC<PermissionsConfigProps> = ({
7272
description="Your relay is configured to allow read access to all users. This means anyone can read events from your relay."
7373
type="warning"
7474
showIcon
75-
style={{ marginBottom: '1rem' }}
75+
style={{
76+
marginBottom: '1rem',
77+
backgroundColor: '#25284B',
78+
border: '1px solid #d9d9d9',
79+
color: '#d9d9d9'
80+
}}
7681
/>
7782
)}
7883

src/components/allowed-users/components/TiersConfig/TiersConfig.tsx

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ export const TiersConfig: React.FC<TiersConfigProps> = ({
157157
showIcon
158158
style={{
159159
marginBottom: '1rem',
160-
backgroundColor: '#ffffff !important',
161-
border: '1px solid #ffd666 !important',
162-
color: '#1f1f1f !important'
160+
backgroundColor: '#25284B',
161+
border: '1px solid #d9d9d9',
162+
color: '#d9d9d9'
163163
}}
164164
/>
165165
)}
@@ -172,9 +172,9 @@ export const TiersConfig: React.FC<TiersConfigProps> = ({
172172
showIcon
173173
style={{
174174
marginBottom: '1rem',
175-
backgroundColor: '#ffffff !important',
176-
border: '1px solid #52c41a !important',
177-
color: '#1f1f1f !important'
175+
backgroundColor: '#25284B',
176+
border: '1px solid #d9d9d9',
177+
color: '#d9d9d9'
178178
}}
179179
/>
180180
)}
@@ -187,9 +187,9 @@ export const TiersConfig: React.FC<TiersConfigProps> = ({
187187
showIcon
188188
style={{
189189
marginBottom: '1rem',
190-
backgroundColor: '#ffffff !important',
191-
border: '1px solid #1890ff !important',
192-
color: '#1f1f1f !important'
190+
backgroundColor: '#25284B',
191+
border: '1px solid #d9d9d9',
192+
color: '#d9d9d9'
193193
}}
194194
/>
195195
)}
@@ -269,6 +269,11 @@ export const TiersConfig: React.FC<TiersConfigProps> = ({
269269
message="Note: Free tiers (price = 0) are not allowed in paid mode"
270270
type="warning"
271271
showIcon
272+
style={{
273+
backgroundColor: '#fafafa',
274+
border: '1px solid #d9d9d9',
275+
color: '#262626'
276+
}}
272277
/>
273278
)}
274279

@@ -278,9 +283,9 @@ export const TiersConfig: React.FC<TiersConfigProps> = ({
278283
type="success"
279284
showIcon
280285
style={{
281-
backgroundColor: '#ffffff !important',
282-
border: '1px solid #52c41a !important',
283-
color: '#1f1f1f !important'
286+
backgroundColor: '#fafafa',
287+
border: '1px solid #d9d9d9',
288+
color: '#262626'
284289
}}
285290
/>
286291
)}

0 commit comments

Comments
 (0)