1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/components/component-library/text/text.constants.js
Garrett Bear 4ba081a096
add text directions (#16901)
* add text directions

* add text direction test

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2022-12-15 10:49:47 -08:00

22 lines
534 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,
};
export const TEXT_DIRECTIONS = {
LEFT_TO_RIGHT: 'ltr',
RIGHT_TO_LEFT: 'rtl',
AUTO: 'auto',
};