DEV Community

loading...

Discussion on: My list of 3 best fonts to use while programming

Collapse
jinksi profile image
Eric Jinks

npm install @fontsource/fira-code

// index.js
import '@fontsource/fira-code/400.css'
Enter fullscreen mode Exit fullscreen mode
/* style.css */
code {
    font-family: 'Fira Code', monospace;
}
Enter fullscreen mode Exit fullscreen mode