mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Dark Mode: updating COLORS.BLACK to COLORS.TEXT_DEFAULT (#14063)
This commit is contained in:
parent
40c341f1c0
commit
9d1818df1b
@ -3,7 +3,7 @@
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-size: 12px;
|
||||
color: var(--color-text-alternative);
|
||||
color: var(--color-text-muted);
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ const GasDetailsItem = ({ userAcknowledgedGasMissing = false }) => {
|
||||
<TransactionDetailItem
|
||||
key="gas-item"
|
||||
detailTitle={<GasDetailsItemTitle />}
|
||||
detailTitleColor={COLORS.BLACK}
|
||||
detailTitleColor={COLORS.TEXT_DEFAULT}
|
||||
detailText={
|
||||
<div className="gas-details-item__currency-container">
|
||||
<LoadingHeartBeat estimateUsed={estimateUsed} />
|
||||
|
@ -102,7 +102,6 @@ UI1: 'ui-1',
|
||||
UI2: 'ui-2',
|
||||
UI3: 'ui-3',
|
||||
UI4: 'ui-4',
|
||||
BLACK: 'black',
|
||||
GREY: 'grey',
|
||||
NEUTRAL_GREY: 'neutral-grey',
|
||||
WHITE: 'white',
|
||||
|
@ -58,7 +58,7 @@ export const WithTypographyControl = () => (
|
||||
gapSize={select('gapSize', SIZES, SIZES.SM)}
|
||||
termTypography={{
|
||||
variant: select('termTypography.variant', TYPOGRAPHY, TYPOGRAPHY.H6),
|
||||
color: select('termTypography.color', COLORS, COLORS.BLACK),
|
||||
color: select('termTypography.color', COLORS, COLORS.TEXT_DEFAULT),
|
||||
}}
|
||||
definitionTypography={{
|
||||
variant: select(
|
||||
@ -66,7 +66,7 @@ export const WithTypographyControl = () => (
|
||||
TYPOGRAPHY,
|
||||
TYPOGRAPHY.H6,
|
||||
),
|
||||
color: select('definitionTypography.color', COLORS, COLORS.BLACK),
|
||||
color: select('definitionTypography.color', COLORS, COLORS.TEXT_DEFAULT),
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
@ -118,7 +118,6 @@ UI1: 'ui-1',
|
||||
UI2: 'ui-2',
|
||||
UI3: 'ui-3',
|
||||
UI4: 'ui-4',
|
||||
BLACK: 'black',
|
||||
GREY: 'grey',
|
||||
NEUTRAL_GREY: 'neutral-grey',
|
||||
WHITE: 'white',
|
||||
|
@ -36,7 +36,6 @@ export const ValidColors = [
|
||||
COLORS.UI2,
|
||||
COLORS.UI3,
|
||||
COLORS.UI4,
|
||||
COLORS.BLACK,
|
||||
COLORS.GREY,
|
||||
COLORS.NEUTRAL_GREY,
|
||||
COLORS.WHITE,
|
||||
|
@ -60,7 +60,6 @@ export const COLORS = {
|
||||
UI2: 'ui-2',
|
||||
UI3: 'ui-3',
|
||||
UI4: 'ui-4',
|
||||
BLACK: 'black',
|
||||
GREY: 'grey',
|
||||
NEUTRAL_GREY: 'neutral-grey',
|
||||
WHITE: 'white',
|
||||
|
@ -490,7 +490,6 @@ export default class ConfirmTransactionBase extends Component {
|
||||
</>
|
||||
)
|
||||
}
|
||||
detailTitleColor={COLORS.BLACK}
|
||||
detailText={
|
||||
!isMultiLayerFeeNetwork && (
|
||||
<div className="confirm-page-container-content__currency-container">
|
||||
|
@ -188,7 +188,7 @@ export default function ConfirmationPage() {
|
||||
<NetworkDisplay
|
||||
colored={false}
|
||||
indicatorSize={SIZES.XS}
|
||||
labelProps={{ color: COLORS.BLACK }}
|
||||
labelProps={{ color: COLORS.TEXT_DEFAULT }}
|
||||
/>
|
||||
</Box>
|
||||
) : null}
|
||||
|
Loading…
Reference in New Issue
Block a user