Skip to content

Commit

Permalink
feat: tweak fonts for windows environment (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
honey32 authored Aug 3, 2023
1 parent 84653bb commit 84bd9b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,17 @@ module.exports = {
display: [
'Optimistic Display',
'-apple-system',
// In Windows, font which is suitable for long text should be selected
// for Japanese characters instead of Yu Gothic UI (system-ui)
'"BIZ UDGothic"',
'Meiryo',
...defaultTheme.fontFamily.sans,
],
text: [
'Optimistic Text',
'-apple-system',
'"BIZ UDGothic"',
'Meiryo',
...defaultTheme.fontFamily.sans,
],
mono: ['"Source Code Pro"', ...defaultTheme.fontFamily.mono],
Expand Down

0 comments on commit 84bd9b1

Please sign in to comment.