@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
57 lines • 1.25 kB
JavaScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var TYPOGRAPHY = {
body1: {
fontSize: '1em',
fontWeight: 400,
lineHeight: '1em',
},
body2: {
fontSize: '0.9em',
fontWeight: 400,
lineHeight: '0.9em',
},
button: {
textTransform: 'none',
},
fontFamily: ['Montserrat', 'Helvetica', 'sans-serif'].join(','),
fontSize: 16,
fontWeightBold: 700,
fontWeightLight: 300,
fontWeightMedium: 600,
fontWeightRegular: 500,
h1: {
fontSize: '2.5em',
fontWeight: 700,
marginBottom: '1.5rem',
},
h2: {
fontSize: '2.125em',
fontWeight: 700,
marginBottom: '1.3rem',
},
h3: {
fontSize: '1.75em',
fontWeight: 700,
marginBottom: '1rem',
},
h4: {
fontSize: '1.5em',
fontWeight: 700,
},
h5: {
fontSize: '1.125em',
fontWeight: 600,
},
h6: {
fontSize: '1em',
fontWeight: 600,
},
htmlFontSize: 16,
};
export default TYPOGRAPHY;
//# sourceMappingURL=typography.js.map