import-sf-mono-catalina
Use the SF Mono font in Atom by importing it from Terminal.app. It works with OS X Catalina now.
import-sf-mono-catalina
New San Francisco Monospaced font is gorgeous! Unfortunately, it’s only available inside Terminal.app
(and Xcode.app
).
This Atom package imports the “SF Mono” font directly from Terminal.app
, which allows you to use this font in Atom.
Thanks!
Based on https://github.com/dtinth/atom-import-sf-mono
Usage:
-
Get a Mac and install Mac OS X Catalina.
-
Install this Atom package.
-
Configure your font in Atom to "SF Mono".
-
Gorgeous.
Note: This package does not contain the fonts file. It only references the font files located in your system. Here is the full package code:
@font-face { font-family: "SF Mono"; font-weight: 200; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Light.otf); }
@font-face { font-family: "SF Mono"; font-weight: 200; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-LightItalic.otf); }
@font-face { font-family: "SF Mono"; font-weight: 400; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Regular.otf); }
@font-face { font-family: "SF Mono"; font-weight: 400; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-RegularItalic.otf); }
@font-face { font-family: "SF Mono"; font-weight: 500; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Medium.otf); }
@font-face { font-family: "SF Mono"; font-weight: 500; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-MediumItalic.otf); }
@font-face { font-family: "SF Mono"; font-weight: 600; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Semibold.otf); }
@font-face { font-family: "SF Mono"; font-weight: 600; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-SemiboldItalic.otf); }
@font-face { font-family: "SF Mono"; font-weight: 700; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Bold.otf); }
@font-face { font-family: "SF Mono"; font-weight: 700; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-BoldItalic.otf); }
@font-face { font-family: "SF Mono"; font-weight: 800; font-style: normal; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Heavy.otf); }
@font-face { font-family: "SF Mono"; font-weight: 800; font-style: italic; src: url(file:///System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-HeavyItalic.otf); }