Skip to content

Commit

Permalink
move font assets to public
Browse files Browse the repository at this point in the history
  • Loading branch information
ykumards committed Aug 28, 2024
1 parent 08e5f69 commit 222b0b1
Show file tree
Hide file tree
Showing 41 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/GlobalStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ import { createGlobalStyle } from 'styled-components';
const GlobalStyles = createGlobalStyle`
@font-face {
font-family: 'Open Sans';
src: url('/assets/fonts/static/OpenSans-Regular.ttf') format('truetype');
src: url('/assets/fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('/assets/fonts/static/OpenSans-Bold.ttf') format('truetype');
src: url('/assets/fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('/assets/fonts/static/OpenSans-Italic.ttf') format('truetype');
src: url('/assets/fonts/Open_Sans/static/OpenSans-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
:root {
font-family: 'Open Sans', 'Menlo', sans-serif;
font-family: 'Open Sans';
line-height: 1.5;
font-weight: 400;
Expand Down

0 comments on commit 222b0b1

Please sign in to comment.