@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
17 lines (16 loc) • 645 B
JavaScript
"use client";
//#region packages/@mantine/core/src/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.ts
const values = {
text: "var(--mantine-font-family)",
mono: "var(--mantine-font-family-monospace)",
monospace: "var(--mantine-font-family-monospace)",
heading: "var(--mantine-font-family-headings)",
headings: "var(--mantine-font-family-headings)"
};
function fontFamilyResolver(fontFamily) {
if (typeof fontFamily === "string" && fontFamily in values) return values[fontFamily];
return fontFamily;
}
//#endregion
exports.fontFamilyResolver = fontFamilyResolver;
//# sourceMappingURL=font-family-resolver.cjs.map