-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This replaces the existing fonts with the new ones. "IBM Plex Mono" wasn't used at all anymore, so I just removed that.
- Loading branch information
Showing
15 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,47 @@ | ||
@font-face { | ||
font-family: 'Euclid Circular B'; | ||
font-family: 'MM Sans'; | ||
font-weight: 1 1000; | ||
src: url('./MM-Sans-Variable.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Centra No1'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('./EuclidCircularB-Regular.woff2') format('woff2'); | ||
src: url('./CentraNo1-Book.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Centra No1'; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: url('./CentraNo1-Book-Italic.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Euclid Circular B'; | ||
font-family: 'Centra No1'; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url('./EuclidCircularB-Medium.woff2') format('woff2'); | ||
src: url('./CentraNo1-Medium.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Euclid Circular B'; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: url('./EuclidCircularB-Semibold.woff2') format('woff2'); | ||
font-family: 'Centra No1'; | ||
font-style: italic; | ||
font-weight: 500; | ||
src: url('./CentraNo1-Medium-Italic.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Euclid Circular B'; | ||
font-family: 'Centra No1'; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url('./EuclidCircularB-Bold.woff2') format('woff2'); | ||
src: url('./CentraNo1-Bold.woff2') format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'IBM Plex Mono'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('./IBMPlexMono-Regular.woff2') format('woff2'); | ||
font-family: 'Centra No1'; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: url('./CentraNo1-Bold-Italic.woff2') format('woff2'); | ||
} |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
export const DEFAULT_FONT = `"Euclid Circular B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`; | ||
export const DEFAULT_FONT = | ||
'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'; | ||
|
||
export const fonts: Record<string, string> = { | ||
heading: DEFAULT_FONT, | ||
body: DEFAULT_FONT, | ||
heading: `"MM Sans", ${DEFAULT_FONT}`, | ||
body: `"Centra No1", ${DEFAULT_FONT}`, | ||
code: `SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace`, | ||
}; |
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