Commit 98ca811
feat(font): add Kanit and Sarabun (@JNX03) (monkeytypegame#6500)
### Description
<!-- Please describe the change(s) made in your PR -->
- Imported `Kanit-Regular.woff2` and `Sarabun-Bold.woff` into the
project’s webfonts directory.
- Updated `frontend/static/fonts/_list.json` to register the new fonts
under “availableFonts.”
- Modified `frontend/src/styles/fonts.scss` to include `@font-face`
declarations for both Kanit Regular and Sarabun Bold, with appropriate
`font-family`, `font-weight`, and `font-style` settings.
---
### 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 or a theme?
- [ ] If it’s a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
- [ ] If it’s a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] 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.
---------
Co-authored-by: Miodec <[email protected]>1 parent 69d9b38 commit 98ca811
File tree
4 files changed
+12
-0
lines changed- frontend
- src/styles
- static
- fonts
- webfonts
4 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments