@metamask/design-system-react-native
Version:
32 lines • 1.82 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAP_TEXT_VARIANT_FONTWEIGHT = exports.TWCLASSMAP_TEXT_FONTWEIGHT = void 0;
const design_tokens_1 = require("@metamask/design-tokens");
const types_1 = require("../../types/index.cjs");
// Mappings
exports.TWCLASSMAP_TEXT_FONTWEIGHT = {
[]: '-regular',
[]: '-medium',
[]: '-bold',
};
exports.MAP_TEXT_VARIANT_FONTWEIGHT = {
[]: design_tokens_1.typography.sDisplayLG.fontWeight,
[]: design_tokens_1.typography.sDisplayMD.fontWeight,
[]: design_tokens_1.typography.sHeadingLG.fontWeight,
[]: design_tokens_1.typography.sHeadingMD.fontWeight,
[]: design_tokens_1.typography.sHeadingSM.fontWeight,
[]: design_tokens_1.typography.sBodyLGMedium.fontWeight,
[]: design_tokens_1.typography.sBodyMD.fontWeight,
[]: design_tokens_1.typography.sBodySM.fontWeight,
[]: design_tokens_1.typography.sBodyXS.fontWeight,
[]: design_tokens_1.typography.sPageHeading.fontWeight,
[]: design_tokens_1.typography.sSectionHeading
.fontWeight,
[]: design_tokens_1.typography.sButtonLabelMd
.fontWeight,
[]: design_tokens_1.typography.sButtonLabelLg
.fontWeight,
[]: design_tokens_1.typography.sAmountDisplayLg
.fontWeight,
};
//# sourceMappingURL=Text.constants.cjs.map