46 lines
1.5 KiB
CSS
46 lines
1.5 KiB
CSS
/**
|
|
* GENERATED FILE — do not edit by hand.
|
|
* Source of truth: fonts.config.mjs (run `pnpm run genfonts` to regenerate).
|
|
*
|
|
* Self-hosted Chinese faces for slides imported from PPTX. The importer passes
|
|
* original font-family names through unchanged; a name renders here only if it
|
|
* matches one of these families.
|
|
*
|
|
* Consumers import this once at the app shell:
|
|
* import '@openmaic/renderer/fonts.css';
|
|
*
|
|
* The woff2 files are served from object storage at
|
|
* https://file.maic.chat/fonts/<name>.woff2, fetched on demand the first
|
|
* time a slide actually uses the corresponding font-family.
|
|
*/
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'SourceHanSans';
|
|
src: url('https://file.maic.chat/fonts/SourceHanSans.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'SourceHanSerif';
|
|
src: url('https://file.maic.chat/fonts/SourceHanSerif.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'LXGWWenKai';
|
|
src: url('https://file.maic.chat/fonts/LXGWWenKai.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'ZhuQueFangSong';
|
|
src: url('https://file.maic.chat/fonts/ZhuQueFangSong.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'WenDingPLKaiTi';
|
|
src: url('https://file.maic.chat/fonts/WenDingPLKaiTi.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'ZcoolHappy';
|
|
src: url('https://file.maic.chat/fonts/ZcoolHappy.woff2') format('woff2');
|
|
}
|