Skip to content

Commit

Permalink
Merge of #9432
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 22, 2024
2 parents 2279ac4 + 0101cf5 commit 5f7dfec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/app/src/client/components/StaffCredit/StaffCredit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const logger = loggerFactory('growi:cli:StaffCredit');
const pressStart2P = localFont({
src: '../../../../resource/fonts/PressStart2P-latin.woff2',
display: 'block',
preload: false,
});


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const materialSymbolsOutlined = localFont({
src: '../../../resource/fonts/MaterialSymbolsOutlined-opsz,wght,FILL@20..48,300,0..1.woff2',
adjustFontFallback: false,
display: 'block',
preload: false,
});

export const useMaterialSymbolsOutlined: DefineStyle = () => (
Expand Down
6 changes: 4 additions & 2 deletions apps/app/src/components/FontFamily/use-source-han-code-jp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import type { DefineStyle } from './types';

const sourceHanCodeJPSubsetMain = localFont({
src: '../../../resource/fonts/SourceHanCodeJP-Regular-subset-main.woff2',
display: 'optional',
display: 'swap',
preload: false,
});
const sourceHanCodeJPSubsetJis2 = localFont({
src: '../../../resource/fonts/SourceHanCodeJP-Regular-subset-jis2.woff2',
display: 'optional',
display: 'swap',
preload: false,
});

export const useSourceHanCodeJP: DefineStyle = () => (
Expand Down

0 comments on commit 5f7dfec

Please sign in to comment.