import color from './colors'; import { css } from 'styled-components'; const heading = css` -webkit-font-smoothing: antialiased; color: ${color.grey}; fill: ${color.grey}; font-family: 'open-sans', sans-serif; font-size: 36px; font-style: normal; font-weight: 600; letter-spacing: 0; `; const h1 = css` font-size: 36px; line-height: 40px; letter-spacing: -0.75px; `; const h2 = css` font-size: 28px; line-height: 36px; `; const h3 = css` font-size: 24px; font-weight: 700; line-height: 32px; `; const h4 = css` font-size: 20px; line-height: 28px; `; const h5 = css` font-size: 16px; line-height: 25px; `; const ibm = css` font-family: IBM Plex Mono, 'Lucida Console', sans-serif; font-size: 16px; font-style: normal; `; const ibmMono = css` font-family: IBM Plex Mono, 'Lucida Console', monospace; font-size: 14px; `; const text = css` -webkit-font-smoothing: antialiased; color: ${color.grey}; fill: ${color.grey}; font-family: 'Open Sans', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: 0; line-height: 24px; `; const textBold500 = css` font-weight: 500; `; const textBold = css` font-weight: 600; `; const textBold700 = css` font-weight: 700; `; const textSmall = css` font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 24px; `; const semiBold = css` ${text}; font-weight: 600; `; const openSans = css` -webkit-font-smoothing: antialiased; font-family: 'Open Sans', Tahoma, sans-serif; `; const fonts = { h1, h2, h3, h4, h5, heading, ibm, ibmMono, text, textBold, textBold700, textSmall, semiBold, textBold500, openSans, }; export default fonts;