mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Dark Mode: Connected Status Indicator (#14096)
This commit is contained in:
parent
8ab4ec67f3
commit
62024d0ef0
@ -37,13 +37,13 @@ export default function ConnectedStatusIndicator({ onClick }) {
|
||||
}
|
||||
|
||||
let indicatorType = ColorIndicator.TYPES.OUTLINE;
|
||||
let indicatorColor = COLORS.UI4;
|
||||
let indicatorColor = COLORS.INFO_DEFAULT;
|
||||
|
||||
if (status === STATUS_CONNECTED) {
|
||||
indicatorColor = COLORS.SUCCESS1;
|
||||
indicatorColor = COLORS.SUCCESS_DEFAULT;
|
||||
indicatorType = ColorIndicator.TYPES.PARTIAL;
|
||||
} else if (status === STATUS_CONNECTED_TO_ANOTHER_ACCOUNT) {
|
||||
indicatorColor = COLORS.ALERT1;
|
||||
indicatorColor = COLORS.ERROR_DEFAULT;
|
||||
}
|
||||
|
||||
const text =
|
||||
|
@ -32,11 +32,11 @@
|
||||
}
|
||||
|
||||
&__green-circle {
|
||||
border-color: #4cd964;
|
||||
border-color: var(--color-success-default);
|
||||
}
|
||||
|
||||
&__green-circle &__inner-circle {
|
||||
background-color: #4cd964;
|
||||
background-color: var(--color-success-default);
|
||||
}
|
||||
|
||||
&__yellow-circle {
|
||||
|
Loading…
Reference in New Issue
Block a user