Skip to content

Commit 1ace28d

Browse files
authored
feat(font): add iosevka (@leana8959) (monkeytypegame#6674)
### Description <!-- Please describe the change(s) made in your PR --> - added woff2 font file - updated `frontend/static/{fonts/_list.json,styles/fonts.scss}` files - tested locally, the font looks as such: ![image](https://github.com/user-attachments/assets/5a853477-335f-4c9e-b845-589f300243d4) ### Checks - [ ] Adding quotes? - [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content. - [ ] Adding a language? - Make sure to follow the [languages documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md) - [ ] Add language to `packages/contracts/src/schemas/languages.ts` - [ ] Add language to exactly one group in `frontend/src/ts/constants/languages.ts` - [ ] Add language json file to `frontend/static/languages` - [ ] Adding a theme? - Make sure to follow the [themes documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/THEMES.md) - [ ] Add theme to `packages/contracts/src/schemas/themes.ts` - [ ] Add theme to `frontend/src/ts/constants/themes.ts` - [ ] Add theme css file to `frontend/static/themes` - Also please add a screenshot of the theme, it would be extra awesome if you do so! - [ ] Adding a layout? - [ ] Make sure to follow the [layouts documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md) - [ ] Add layout to `packages/contracts/src/schemas/layouts.ts` - [ ] Add layout json file to `frontend/static/layouts` - [ ] Check if any open issues are related to this PR; if so, be sure to tag them below. - [x] Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info) - [x] Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title. <!-- label(optional scope): pull request title (@your_github_username) --> <!-- I know I know they seem boring but please do them, they help us and you will find out it also helps you.--> <!-- the issue(s) your PR resolves if any (delete if that is not the case) --> <!-- please also reference any issues and or PRs related to your pull request --> <!-- Also remove it if you are not following any issues. --> <!-- pro tip: you can mention an issue, PR, or discussion on GitHub by referencing its hash number e.g: [monkeytypegame#1234](monkeytypegame#1234) --> <!-- pro tip: you can press . (dot or period) in the code tab of any GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
1 parent 3724389 commit 1ace28d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

frontend/src/styles/fonts.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ $fonts: (
107107
"Geist Mono": (
108108
"src": "GeistMono-Medium",
109109
),
110+
"Iosevka": (
111+
"src": "Iosevka-Regular",
112+
),
110113
);
111114

112115
$font-defauls: (

frontend/static/fonts/_list.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,8 @@
114114
},
115115
{
116116
"name": "Geist Mono"
117+
},
118+
{
119+
"name": "Iosevka"
117120
}
118-
]
121+
]
1.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)