diff --git a/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf new file mode 100644 index 0000000000..6861f73dff Binary files /dev/null and b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf differ diff --git a/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf new file mode 100644 index 0000000000..f02ae332d1 Binary files /dev/null and b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf differ diff --git a/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro L.otf b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro L.otf new file mode 100644 index 0000000000..983c7fbd01 Binary files /dev/null and b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro L.otf differ diff --git a/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro M.otf b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro M.otf new file mode 100644 index 0000000000..0396bdc6b7 Binary files /dev/null and b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro M.otf differ diff --git a/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro UB.otf b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro UB.otf new file mode 100644 index 0000000000..150c41341e Binary files /dev/null and b/packages/backend/assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro UB.otf differ diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index d990a706b3..fc1d6bbe3e 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -1,5 +1,6 @@ @charset "utf-8"; +// default sharkey font @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Lexend'; @@ -8,6 +9,22 @@ src: url('/static-assets/fonts/Lexend-VariableFont_wght.ttf') format('opentype'); } +// barkey/yeentown font +@font-face { + font-family: 'FOT-NewRodin Pro'; + font-style: normal; + font-weight: 400; + src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro DB.otf') format('opentype'); +} + +// barkey/yeentown font +@font-face { + font-family: 'FOT-NewRodin Pro'; + font-style: normal; + font-weight: 700; + src: url('/static-assets/fonts/FOT-NewRodin Pro/FOT-NewRodin Pro EB.otf') format('opentype'); +} + /* * SPDX-FileCopyrightText: syuilo and misskey-project * @@ -65,7 +82,7 @@ html { accent-color: var(--accent); overflow: auto; overflow-wrap: break-word; - font-family: 'sharkey-theme-font-face', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; + font-family: 'sharkey-theme-font-face', 'FOT-NewRodin Pro', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; font-size: 14px; line-height: 1.35; text-size-adjust: 100%;