Replies: 1 comment
-
|
Hi! Has anyone been able to make this work? I am on AstroPaper 5.5.0. I've tried the above instructions, but I keep getting the following error:
Perhaps there is a new way to go back to the IBM Plex Mono font? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
AstroPaper v5 removed IBM Plex Mono in favor of the system's default monospace font. While this looks great on macOS, the default monospace font on Windows is not appealing. Here's likely the easiest method for AstroPaper v5.0.1, suitable for my coding skill level:
Step 1: Add the Google Font link to your Layout
Open
/src/layouts/Layout.astroand add the following code inside the<head>section:Step 2: Update your global.css file
Open
/src/styles/global.cssand modify it to use IBM Plex Mono, as follows:Add this line at the top:
Find the block:
And replace it with:
Done!
Beta Was this translation helpful? Give feedback.
All reactions