fonts.js 517 B

1234567891011121314151617181920
  1. import { createGlobalStyle } from 'styled-components';
  2. import ProximaNova from '../fonts/proximanova-regular.woff';
  3. import RobotoMono from '../fonts/robotomono-regular.ttf';
  4. const Fonts = createGlobalStyle`
  5. /* stylelint-disable sh-waqar/declaration-use-variable */
  6. @font-face {
  7. font-family: 'proxima-nova';
  8. src: url(${ProximaNova});
  9. }
  10. @font-face {
  11. font-family: 'Roboto Mono';
  12. src: url(${RobotoMono});
  13. }
  14. /* stylelint-enable sh-waqar/declaration-use-variable */
  15. `;
  16. export default Fonts;