UNPKG

@wordpress/global-styles-ui

Version:
33 lines (32 loc) • 1.16 kB
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); let _wordpress_i18n = require("@wordpress/i18n"); // packages/global-styles-ui/src/font-library/utils/constants.ts const ALLOWED_FILE_EXTENSIONS = [ "otf", "ttf", "woff", "woff2" ]; const FONT_WEIGHTS = { 100: (0, _wordpress_i18n._x)("Thin", "font weight"), 200: (0, _wordpress_i18n._x)("Extra-light", "font weight"), 300: (0, _wordpress_i18n._x)("Light", "font weight"), 400: (0, _wordpress_i18n._x)("Normal", "font weight"), 500: (0, _wordpress_i18n._x)("Medium", "font weight"), 600: (0, _wordpress_i18n._x)("Semi-bold", "font weight"), 700: (0, _wordpress_i18n._x)("Bold", "font weight"), 800: (0, _wordpress_i18n._x)("Extra-bold", "font weight"), 900: (0, _wordpress_i18n._x)("Black", "font weight") }; const FONT_STYLES = { normal: (0, _wordpress_i18n._x)("Normal", "font style"), italic: (0, _wordpress_i18n._x)("Italic", "font style") }; exports.ALLOWED_FILE_EXTENSIONS = ALLOWED_FILE_EXTENSIONS; exports.FONT_STYLES = FONT_STYLES; exports.FONT_WEIGHTS = FONT_WEIGHTS; //# sourceMappingURL=constants.cjs.map