mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Changes to custody-labels.js (#19038)
This commit is contained in:
parent
37b481f305
commit
c4e7b5532d
@ -2,10 +2,10 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Text, Label } from '../../component-library';
|
import { Text, Label } from '../../component-library';
|
||||||
import {
|
import {
|
||||||
TEXT_TRANSFORM,
|
TextTransform,
|
||||||
BackgroundColor,
|
BackgroundColor,
|
||||||
TextColor,
|
TextColor,
|
||||||
FONT_WEIGHT,
|
FontWeight,
|
||||||
BorderRadius,
|
BorderRadius,
|
||||||
TypographyVariant,
|
TypographyVariant,
|
||||||
} from '../../../helpers/constants/design-system';
|
} from '../../../helpers/constants/design-system';
|
||||||
@ -25,7 +25,7 @@ const CustodyLabels = (props) => {
|
|||||||
{filteredLabels.map((item) => (
|
{filteredLabels.map((item) => (
|
||||||
<Text
|
<Text
|
||||||
key={item.key}
|
key={item.key}
|
||||||
textTransform={TEXT_TRANSFORM.UPPERCASE}
|
textTransform={TextTransform.Uppercase}
|
||||||
className="custody-label"
|
className="custody-label"
|
||||||
style={background ? { background } : {}}
|
style={background ? { background } : {}}
|
||||||
marginTop={1}
|
marginTop={1}
|
||||||
@ -37,7 +37,7 @@ const CustodyLabels = (props) => {
|
|||||||
paddingRight={2}
|
paddingRight={2}
|
||||||
backgroundColor={BackgroundColor.backgroundAlternative}
|
backgroundColor={BackgroundColor.backgroundAlternative}
|
||||||
color={TextColor.textMuted}
|
color={TextColor.textMuted}
|
||||||
fontWeight={FONT_WEIGHT.NORMAL}
|
fontWeight={FontWeight.Normal}
|
||||||
borderRadius={BorderRadius.SM}
|
borderRadius={BorderRadius.SM}
|
||||||
variant={TypographyVariant.H9}
|
variant={TypographyVariant.H9}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user