Browse Source

Never use local font

main
Dan Abramov 3 years ago
parent
commit
45ac43a9f1
  1. 3
      beta/src/styles/fonts.css
  2. 3
      beta/src/styles/index.css

3
beta/src/styles/fonts.css

@ -7,8 +7,7 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Source Code Pro'), src: url('/fonts/Source-Code-Pro-Regular.woff2') format('woff2');
url('/fonts/Source-Code-Pro-Regular.woff2') format('woff2');
} }
@font-face { @font-face {

3
beta/src/styles/index.css

@ -12,8 +12,7 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: local('Source Code Pro'), src: url('/fonts/Source-Code-Pro-Regular.woff2') format('woff2');
url('/fonts/Source-Code-Pro-Regular.woff2') format('woff2');
} }
/* Write your own custom base styles here */ /* Write your own custom base styles here */

Loading…
Cancel
Save