1
0
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:
David Walsh 2022-03-22 13:39:55 -05:00 committed by GitHub
parent 8ab4ec67f3
commit 62024d0ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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 =

View File

@ -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 {