-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seekJobs: Use Tahoma for Thai fallback font
- Loading branch information
1 parent
dedf951
commit 77162b4
Showing
2 changed files
with
19 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
'braid-design-system': minor | ||
--- | ||
|
||
--- | ||
updated: | ||
- seekJobs | ||
--- | ||
|
||
**seekJobs:** Use Tahoma for Thai fallback font | ||
|
||
Currently in the `seekJobs` theme, the fallback font for the Thai character set resolves to the default system font which differs by operating system. | ||
By choosing a deterministic fallback that is available across operating systems, we can use [Capsize] to [improve the alignment] with the SEEK Sans web font, and reduce Cumulative Layout Shift for experiences that use Thai. | ||
|
||
Additionally, adding `sans-serif` as an ultimate fallback in the event that we ever fall all the way through the stack on an obscure operating system. | ||
|
||
[Capsize]: https://seek-oss.github.io/capsize/ | ||
[improve the alignment]: https://github.com/seek-oss/capsize?tab=readme-ov-file#createfontstack |
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