1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
metamask-extension/ui/components/component-library/text/text.constants.js
Garrett Bear 1007930078
Feat/16187/text housekeeping (#16589)
* text housekeeping

* update testing

* Text constant

* TEXT const to story

* format text sizes

* add associated constants to text component

* add all exports to global index.js

* update snapshot

* update text component variants

* Update ui/components/component-library/text/README.mdx

Co-authored-by: George Marshall <george.marshall@consensys.net>

* update rearrangements

* update text in tests

Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-12-01 09:26:19 -08:00

16 lines
433 B
JavaScript

import { TEXT } from '../../../helpers/constants/design-system';
export const TEXT_VARIANTS = {
DISPLAY_MD: TEXT.DISPLAY_MD,
HEADING_LG: TEXT.HEADING_LG,
HEADING_MD: TEXT.HEADING_MD,
HEADING_SM: TEXT.HEADING_SM,
BODY_LG_MEDIUM: TEXT.BODY_LG_MEDIUM,
BODY_MD: TEXT.BODY_MD,
BODY_MD_BOLD: TEXT.BODY_MD_BOLD,
BODY_SM: TEXT.BODY_SM,
BODY_SM_BOLD: TEXT.BODY_SM_BOLD,
BODY_XS: TEXT.BODY_XS,
INHERIT: TEXT.INHERIT,
};