Skip to content

Commit 98643f9

Browse files
committed
UI/UX: table alert "scanning new transactions..." (#2957)
Fixes #2935
1 parent 5740792 commit 98643f9

6 files changed

+3
-3
lines changed

toolkit/theme/foundations/semanticTokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
253253
},
254254
bg: {
255255
info: { value: { _light: '{colors.blackAlpha.50}', _dark: '{colors.whiteAlpha.100}' } },
256-
warning: { value: { _light: '{colors.orange.100}', _dark: '{colors.orange.800/60}' } },
257-
warning_table: { value: { _light: '{colors.orange.50}', _dark: '{colors.orange.800/60}' } },
256+
warning: { value: { _light: '{colors.orange.100}', _dark: '{colors.orange.800/44}' } },
257+
warning_table: { value: { _light: '{colors.orange.50}', _dark: '{colors.orange.800/44}' } },
258258
success: { value: { _light: '{colors.green.100}', _dark: '{colors.green.900}' } },
259259
error: { value: { _light: '{colors.red.100}', _dark: '{colors.red.900}' } },
260260
},

ui/shared/SocketNewItemsNotice.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const SocketNewItemsNotice = chakra(({ children, className, url, num, showErrorA
6666
const content = !isLoading ? (
6767
<Alert
6868
className={ className }
69-
status="warning_table"
69+
status={ showErrorAlert || !num ? 'warning_table' : 'info' }
7070
px={ 4 }
7171
py="6px"
7272
fontSize="sm"
-58 Bytes
Loading
8 Bytes
Loading
-147 Bytes
Loading
2 Bytes
Loading

0 commit comments

Comments
 (0)