diff --git a/public/assets/fonts/HelveticaNowDisplay-ExtraBold.woff2 b/public/assets/fonts/HelveticaNowDisplay-ExtraBold.woff2 new file mode 100644 index 0000000..353ed45 Binary files /dev/null and b/public/assets/fonts/HelveticaNowDisplay-ExtraBold.woff2 differ diff --git a/src/app/font.scss b/src/app/font.scss index 15519f4..9860e32 100644 --- a/src/app/font.scss +++ b/src/app/font.scss @@ -10,8 +10,6 @@ $rodin-langs: ('en': $rodin-en-ranges, 'jp': $rodin-jp-ranges , 'rest': $rodin-r $weight-val: nth($weight, 2); @each $lang, $range in $rodin-langs { - - @font-face { font-family: FOT-RodinProN; src: url(#{$asset-url}fonts/FOT-RodinProN-#{$weight-type}-#{$lang}.woff2) format("woff2"); @@ -22,6 +20,18 @@ $rodin-langs: ('en': $rodin-en-ranges, 'jp': $rodin-jp-ranges , 'rest': $rodin-r } } +@font-face { + font-family: HelveticaNowDisplay; + src: url(#{$asset-url}fonts/HelveticaNowDisplay-ExtraBold.woff2) format("woff2"); + font-weight: 800; + unicode-range: U+21-7e; + font-display: swap; +} + html { font-family: FOT-RodinProN, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } + +.font-helvetica { + font-family: HelveticaNowDisplay, "Helvetica Neue", Helvetica, Aria, ui-sans-serif, system-ui; +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b290df1..201cd08 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -14,6 +14,7 @@ export default async function RootLayout({children}: LayoutProps) { +