-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4f0168
commit a22e660
Showing
12 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import React from "react" | ||
import { Global } from "@emotion/react" | ||
|
||
import SegmentRegular from "../../fonts/Segment-Regular.otf" | ||
import SegmentMedium from "../../fonts/Segment-Medium.otf" | ||
import SegmentSemiBold from "../../fonts/Segment-SemiBold.otf" | ||
import SegmentBold from "../../fonts/Segment-Bold.otf" | ||
import SegmentBlack from "../../fonts/Segment-Black.otf" | ||
|
||
export default function GlobalStyles() { | ||
return ( | ||
<Global | ||
styles={` | ||
@font-face { | ||
font-family: "Segment"; | ||
src: url(${SegmentRegular}) format("otf"); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: "Segment"; | ||
src: url(${SegmentMedium}) format("otf"); | ||
font-weight: 500; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: "Segment"; | ||
src: url(${SegmentSemiBold}) format("otf"); | ||
font-weight: 600; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: "Segment"; | ||
src: url(${SegmentBold}) format("otf"); | ||
font-weight: 700; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
font-family: "Segment"; | ||
src: url(${SegmentBlack}) format("otf"); | ||
font-weight: 900; | ||
font-style: normal; | ||
} | ||
`} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters