1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/ui/css/design-system/colors.scss
Victorien Gauch a04fa20f96
feat: add the ConsenSys zkEVM (Linea) as a default network (#17875)
* feat: add the consensys zkEVM as a default network

* fix: change infuraNetworkStatus in navigate-txs file

* fix: remove account tracker for zkEVM + remove zkEVM from infura list

* fix: change consensys zkevm name to linea + change rpc url for linea network

* fix: rebase conflicts

* feat: add new colors for linea goerli network

* feat: add new function inside network dropdown to render non infura networks

* feat: add feature toggle for linea network

* fix: add new unit test

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-03-21 13:58:38 -02:30

51 lines
2.1 KiB
SCSS

$color-map: (
'background-default': --color-background-default,
'background-alternative': --color-background-alternative,
'text-default': --color-text-default,
'text-alternative': --color-text-alternative,
'text-muted': --color-text-muted,
'icon-default': --color-icon-default,
'icon-alternative': --color-icon-alternative,
'icon-muted': --color-icon-muted,
'border-default': --color-border-default,
'border-muted': --color-border-muted,
'overlay-default': --color-overlay-default,
'overlay-inverse': --color-overlay-inverse,
'primary-default': --color-primary-default,
'primary-alternative': --color-primary-alternative,
'primary-muted': --color-primary-muted,
'primary-inverse': --color-primary-inverse,
'primary-disabled': --color-primary-disabled,
'error-default': --color-error-default,
'error-alternative': --color-error-alternative,
'error-muted': --color-error-muted,
'error-inverse': --color-error-inverse,
'error-disabled': --color-error-disabled,
'warning-default': --color-warning-default,
'warning-alternative': --color-warning-alternative,
'warning-muted': --color-warning-muted,
'warning-inverse': --color-warning-inverse,
'warning-disabled': --color-warning-disabled,
'success-default': --color-success-default,
'success-alternative': --color-success-alternative,
'success-muted': --color-success-muted,
'success-inverse': --color-success-inverse,
'success-disabled': --color-success-disabled,
'info-default': --color-info-default,
'info-alternative': --color-info-alternative,
'info-muted': --color-info-muted,
'info-inverse': --color-info-inverse,
'info-disabled': --color-info-disabled,
'mainnet': --mainnet,
'goerli': --color-network-goerli-default,
'sepolia': --color-network-sepolia-default,
'goerli-inverse':--color-network-goerli-inverse,
'sepolia-inverse': --color-network-sepolia-inverse,
'lineatestnet': --color-network-linea-testnet-default,
'lineatestnet-inverse': --color-network-linea-testnet-inverse,
'localhost': --color-network-localhost-default,
'transparent': --transparent,
'flask-purple': --color-flask-default,
'inherit': --inherit,
);