Skip to content

Instantly share code, notes, and snippets.

@speelbarrow
Created January 12, 2024 17:37
Show Gist options
  • Save speelbarrow/8c1256c561ff7208fe8150f4e8e5a0a9 to your computer and use it in GitHub Desktop.
Save speelbarrow/8c1256c561ff7208fe8150f4e8e5a0a9 to your computer and use it in GitHub Desktop.
Safari Custom CSS monospace override
/* NOTE: This won't work to override the system monospace font in every context. However, it's better than nothing. */
/* Follow this guide to implement the stylesheet: https://blog.jim-nielsen.com/2021/custom-style-sheet-in-safari/ */
/* Important your custom fonts from Google Fonts or some other online source, due to security policies this will not work if the font is only installed locally. */
code, pre {
font-family: /* Add your custom font family here */ monospace !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment