Replace Lexend with Readex Pro

This commit is contained in:
Helen Chong 2025-04-16 00:56:52 +08:00
parent 6a24d8109e
commit 40b3560473
9 changed files with 14 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -23,29 +23,22 @@
<link rel="icon" type="image/svg+xml" href="{{ site.chyrp_url }}/favicon.svg"> <link rel="icon" type="image/svg+xml" href="{{ site.chyrp_url }}/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png">
<link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest"> <link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest">
<link rel="preload" href="/fonts/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="/fonts/readex-pro-v22-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="/fonts/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="/fonts/readex-pro-v22-latin-700.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<style> <style>
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: 'Lexend'; font-family: 'Readex Pro';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url('/fonts/lexend-v19-latin-regular.woff2') format('woff2'); src: url('/fonts/readex-pro-v22-latin-regular.woff2') format('woff2');
} }
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: 'Lexend'; font-family: 'Readex Pro';
font-style: normal;
font-weight: 600;
src: url('/fonts/lexend-v19-latin-600.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Lexend';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: url('/fonts/lexend-v19-latin-700.woff2') format('woff2'); src: url('/fonts/readex-pro-v22-latin-700.woff2') format('woff2');
} }
</style> </style>
{{ theme.feeds() }} {{ theme.feeds() }}

View File

@ -1,3 +1,10 @@
@font-face {
font-display: swap;
font-family: 'Readex Pro';
font-style: normal;
font-weight: 600;
src: url('/fonts/readex-pro-v22-latin-600.woff2') format('woff2');
}
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: 'Intel One Mono'; font-family: 'Intel One Mono';
@ -31,7 +38,7 @@
background-color: #d090ff; background-color: #d090ff;
} }
body { body {
font-family: Lexend, Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif; font-family: 'Readex Pro', Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
font-size: 1.2rem; font-size: 1.2rem;
color: #ffffff; color: #ffffff;
line-height: 1.5; line-height: 1.5;