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