Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Some More Fonts #978

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/fonts/99_percent_OCCUPY.ttf
Binary file not shown.
Binary file added src/fonts/Dpdorkdiary-P267.ttf
Binary file not shown.
Binary file added src/fonts/Kalam-Regular.ttf
Binary file not shown.
Binary file added src/fonts/Overtherainbow.ttf
Binary file not shown.
Binary file added src/fonts/RustyColaPen-Regular.otf
Binary file not shown.
25 changes: 25 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,31 @@
src: url(./fonts/Norm-Regular.ttf);
}

@font-face {
font-family: OverTheRainbow;
src: url(./fonts/Overtherainbow.ttf);
}

@font-face {
font-family: RustyColaPen;
src: url(./fonts/RustyColaPen-Regular.otf);
}

@font-face {
font-family: Kalam;
src: url(./fonts/Kalam-Regular.ttf);
}

@font-face {
font-family: DpDorkDiary;
src: url(./fonts/Dpdorkdiary-P267.ttf);
}

@font-face {
font-family: Occupy;
src: url(./fonts/99_percent_OCCUPY.ttf);
}

* {
margin: 0;
padding: 0;
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Editor/sections/Settings/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ const Settings = () => {
"RGhandwritten",
"Moody",
"Norm",
"OverTheRainbow"
"RustyColaPen"
"Kalam"
"DpDorkDiary"
"Occupy"
]}
active={editContext.bodyValues.bodyFont}
/>
Expand Down