Skip to content

Instantly share code, notes, and snippets.

@mannytoledo
Created October 17, 2021 04:50
Show Gist options
  • Save mannytoledo/951ee5e889beb307669b4c6beee65ba7 to your computer and use it in GitHub Desktop.
Save mannytoledo/951ee5e889beb307669b4c6beee65ba7 to your computer and use it in GitHub Desktop.
CSS to install FiraCode Nerd Font into Blink.sh app
@font-face {
font-family: "Fira Code Nerd Font";
font-style: normal;
font-weight: 200;
src: url('https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/FiraCode/Light/complete/Fira%20Code%20Light%20Nerd%20Font%20Complete.ttf') format('truetype');
font-variant-ligatures: none;
}
@font-face {
font-family: "Fira Code Nerd Font";
font-style: normal;
font-weight: 400;
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Retina/complete/Fira%20Code%20Retina%20Nerd%20Font%20Complete.ttf') format('truetype');
font-variant-ligatures: none;
}
@font-face {
font-family: "Fira Code Nerd Font";
font-weight: 600;
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Medium/complete/Fira%20Code%20Medium%20Nerd%20Font%20Complete.ttf') format('truetype');
font-variant-ligatures: none;
}
@font-face {
font-family: "Fira Code Nerd Font";
font-weight: 800;
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Bold/complete/Fira%20Code%20Bold%20Nerd%20Font%20Complete.ttf') format('truetype');
font-variant-ligatures: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment