Let there be fonts
This commit is contained in:
parent
c7257deac6
commit
dd157401a9
14 changed files with 50 additions and 1 deletions
48
fira.css
Normal file
48
fira.css
Normal file
|
@ -0,0 +1,48 @@
|
|||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
src: url('/fonts/FiraCode-Light.woff2') format('woff2'),
|
||||
url("/fonts/FiraCode-Light.woff") format("woff");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
src: url('/fonts/FiraCode-Regular.woff2') format('woff2'),
|
||||
url("/fonts/FiraCode-Regular.woff") format("woff");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
src: url('/fonts/FiraCode-Medium.woff2') format('woff2'),
|
||||
url("/fonts/FiraCode-Medium.woff") format("woff");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
src: url('/fonts/FiraCode-SemiBold.woff2') format('woff2'),
|
||||
url("/fonts/FiraCode-SemiBold.woff") format("woff");
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code';
|
||||
src: url('/fonts/FiraCode-Bold.woff2') format('woff2'),
|
||||
url("/fonts/FiraCode-Bold.woff") format("woff");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fira Code VF';
|
||||
src: url('/fonts/FiraCode-VF.woff2') format('woff2-variations'),
|
||||
url('/fonts/FiraCode-VF.woff') format('woff-variations');
|
||||
/* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */
|
||||
font-weight: 300 700;
|
||||
font-style: normal;
|
||||
}
|
BIN
fonts/FiraCode-Bold.woff
Normal file
BIN
fonts/FiraCode-Bold.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Bold.woff2
Normal file
BIN
fonts/FiraCode-Bold.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Light.woff
Normal file
BIN
fonts/FiraCode-Light.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Light.woff2
Normal file
BIN
fonts/FiraCode-Light.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Medium.woff
Normal file
BIN
fonts/FiraCode-Medium.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Medium.woff2
Normal file
BIN
fonts/FiraCode-Medium.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Regular.woff
Normal file
BIN
fonts/FiraCode-Regular.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-Regular.woff2
Normal file
BIN
fonts/FiraCode-Regular.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-SemiBold.woff
Normal file
BIN
fonts/FiraCode-SemiBold.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-SemiBold.woff2
Normal file
BIN
fonts/FiraCode-SemiBold.woff2
Normal file
Binary file not shown.
BIN
fonts/FiraCode-VF.woff
Normal file
BIN
fonts/FiraCode-VF.woff
Normal file
Binary file not shown.
BIN
fonts/FiraCode-VF.woff2
Normal file
BIN
fonts/FiraCode-VF.woff2
Normal file
Binary file not shown.
|
@ -11,7 +11,8 @@
|
|||
body {
|
||||
color: var(--foreground);
|
||||
background-color: var(--background);
|
||||
font-family: monospace;
|
||||
font-family: "Fira Code";
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
h1,
|
||||
|
|
Loading…
Reference in a new issue