Add Fantasque Sans Mono font (#313)

* Add Fantasque Sans Mono as font-face

* Add Fantasque Sans mono to constants

* Set to regular weight, not bold
main
Camron Flanders 7 years ago committed by Michael Fix
parent 5691236934
commit eef096bc49

@ -9,6 +9,16 @@ export default () => (
font-style: normal; font-style: normal;
} }
@font-face {
font-family: 'Fantasque Sans Mono';
src: url('//cdn.jsdelivr.net/npm/@typopro/web-fantasque-sans-mono@3.7.5/TypoPRO-FantasqueSansMono-Regular.woff')
format('woff2'),
url('//cdn.jsdelivr.net/npm/@typopro/web-fantasque-sans-mono@3.7.5/TypoPRO-FantasqueSansMono-Regular.woff')
format('woff');
font-weight: 400;
font-style: normal;
}
@font-face { @font-face {
font-family: 'Hack'; font-family: 'Hack';
src: url('//cdn.jsdelivr.net/font-hack/2.020/fonts/woff2/hack-regular-webfont.woff2?v=2.020') src: url('//cdn.jsdelivr.net/font-hack/2.020/fonts/woff2/hack-regular-webfont.woff2?v=2.020')

@ -3,6 +3,7 @@ import toHash from 'tohash'
export const FONTS = [ export const FONTS = [
{ id: 'Anonymous Pro', name: 'Anonymous Pro' }, { id: 'Anonymous Pro', name: 'Anonymous Pro' },
{ id: 'Droid Sans Mono', name: 'Droid Sans Mono' }, { id: 'Droid Sans Mono', name: 'Droid Sans Mono' },
{ id: 'Fantasque Sans Mono', name: 'Fantasque Sans Mono' },
{ id: 'Fira Code', name: 'Fira Code' }, { id: 'Fira Code', name: 'Fira Code' },
{ id: 'Hack', name: 'Hack' }, { id: 'Hack', name: 'Hack' },
{ id: 'Iosevka', name: 'Iosevka' }, { id: 'Iosevka', name: 'Iosevka' },

Loading…
Cancel
Save