@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
65 lines (60 loc) • 2.07 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var colors = require('./colors.js');
const MANTINE_COLORS = Object.keys(colors['default']);
const MANTINE_SIZES = ["xs", "sm", "md", "lg", "xl"];
const DEFAULT_THEME = {
colorScheme: "light",
white: "#fff",
black: "#000",
transitionTimingFunction: "cubic-bezier(.51,.3,0,1.21)",
colors: colors['default'],
lineHeight: 1.4,
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",
fontFamilyMonospace: "Menlo, Monaco, Lucida Console, monospace",
primaryColor: "blue",
shadows: {
xs: "0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1)",
sm: "0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 10px 15px -5px, rgba(0, 0, 0, 0.04) 0px 7px 7px -5px",
md: "0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px",
lg: "0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 28px 23px -7px, rgba(0, 0, 0, 0.04) 0px 12px 12px -7px",
xl: "0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 36px 28px -7px, rgba(0, 0, 0, 0.04) 0px 17px 17px -7px"
},
fontSizes: {
xs: 12,
sm: 14,
md: 16,
lg: 18,
xl: 20
},
radius: {
xs: 2,
sm: 4,
md: 8,
lg: 16,
xl: 32
},
spacing: {
xs: 10,
sm: 12,
md: 16,
lg: 20,
xl: 24
},
headings: {
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",
fontWeight: 700,
sizes: {
h1: { fontSize: 34, lineHeight: 1.3 },
h2: { fontSize: 26, lineHeight: 1.35 },
h3: { fontSize: 22, lineHeight: 1.4 },
h4: { fontSize: 18, lineHeight: 1.45 },
h5: { fontSize: 16, lineHeight: 1.5 },
h6: { fontSize: 14, lineHeight: 1.5 }
}
}
};
exports.DEFAULT_THEME = DEFAULT_THEME;
exports.MANTINE_COLORS = MANTINE_COLORS;
exports.MANTINE_SIZES = MANTINE_SIZES;
//# sourceMappingURL=default-theme.js.map