diff --git a/packages/frontend/src/styles-font/chongxiseal.scss b/packages/frontend/src/styles-font/chongxiseal.scss new file mode 100644 index 000000000..95b4e5ec3 --- /dev/null +++ b/packages/frontend/src/styles-font/chongxiseal.scss @@ -0,0 +1,18 @@ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'YiShanBeiZhuanTi'; + font-style: normal; + font-weight: 400; + src: url('/static-assets/fonts/YiShanBeiZhuanTi.ttf') format('opentype'); +} +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "Chong Xi Small Seal"; + font-style: normal; + font-weight: 400; + src: url('/static-assets/fonts/chongxi_seal.woff2') format('woff2'); +} + +html.default-font-chongxiseal { + font-family: 'sharkey-theme-font-face', "Chong Xi Small Seal", 'YiShanBeiZhuanTi','Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; +} diff --git a/packages/frontend/src/styles-font/lgtw-marker-gothic.scss b/packages/frontend/src/styles-font/lxgw-marker-gothic.scss similarity index 100% rename from packages/frontend/src/styles-font/lgtw-marker-gothic.scss rename to packages/frontend/src/styles-font/lxgw-marker-gothic.scss diff --git a/packages/frontend/src/styles-font/lgtw-wenkai.scss b/packages/frontend/src/styles-font/lxgw-wenkai.scss similarity index 100% rename from packages/frontend/src/styles-font/lgtw-wenkai.scss rename to packages/frontend/src/styles-font/lxgw-wenkai.scss diff --git a/packages/frontend/src/styles-font/usual.scss b/packages/frontend/src/styles-font/usual.scss deleted file mode 100644 index edf6c311f..000000000 --- a/packages/frontend/src/styles-font/usual.scss +++ /dev/null @@ -1,19 +0,0 @@ -html.default-font-system-ui { - font-family: system-ui; -} - -html.default-font-misskey-biz { - font-family: "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; -} - -html.default-font-roboto { - font-family: Roboto, Arial, sans-serif; -} - -html.default-font-arial { - font-family: Arial, sans-serif; -} - -html.default-font-times { - font-family: 'Times New Roman', Times, serif; -} diff --git a/packages/frontend/src/styles-font/zhuanti.scss b/packages/frontend/src/styles-font/yishanbeizhuan.scss similarity index 65% rename from packages/frontend/src/styles-font/zhuanti.scss rename to packages/frontend/src/styles-font/yishanbeizhuan.scss index e14ae407a..dcb1481c5 100644 --- a/packages/frontend/src/styles-font/zhuanti.scss +++ b/packages/frontend/src/styles-font/yishanbeizhuan.scss @@ -14,8 +14,5 @@ } html.default-font-yishanbeizhuan { - font-family: 'YiShanBeiZhuanTi', "Chong Xi Small Seal",'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; -} -html.default-font-chongxiseal { - font-family: "Chong Xi Small Seal", 'YiShanBeiZhuanTi','Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; + font-family: 'sharkey-theme-font-face', 'YiShanBeiZhuanTi', "Chong Xi Small Seal",'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; }