Skip to content

Commit

Permalink
oh wait i forgot to Serve from server
Browse files Browse the repository at this point in the history
  • Loading branch information
nbitzz committed Aug 27, 2023
1 parent 3cf1a25 commit dc9d9dd
Show file tree
Hide file tree
Showing 24 changed files with 134 additions and 1 deletion.
Binary file added assets/fonts/FiraCode-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/FiraCode-Light.ttf
Binary file not shown.
Binary file added assets/fonts/FiraCode-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/FiraCode-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/FiraCode-SemiBold.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-Black.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-ExtraBold.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-ExtraLight.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-Light.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/Inconsolata-SemiBold.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-BoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-Italic.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-SemiBold.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-SemiBoldItalic.ttf
Binary file not shown.
34 changes: 34 additions & 0 deletions assets/fonts/fira_code.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@font-face {
font-family: "Fira Code";
src: url("/static/assets/fonts/FiraCode-Light.ttf");
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: "Fira Code";
src: url("/static/assets/fonts/FiraCode-Regular.ttf");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: "Fira Code";
src: url("/static/assets/fonts/FiraCode-Medium.ttf");
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: "Fira Code";
src: url("/static/assets/fonts/FiraCode-SemiBold.ttf");
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: "Fira Code";
src: url("/static/assets/fonts/FiraCode-Bold.ttf");
font-weight: 700;
font-style: normal;
}
55 changes: 55 additions & 0 deletions assets/fonts/inconsolata.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-ExtraLight.ttf");
font-weight: 200;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-Light.ttf");
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-Regular.ttf");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-Medium.ttf");
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-SemiBold.ttf");
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-Bold.ttf");
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-ExtraBold.ttf");
font-weight: 800;
font-style: normal;
}

@font-face {
font-family: "Inconsolata";
src: url("/static/assets/fonts/Inconsolata-Black.ttf");
font-weight: 900;
font-style: normal;
}
1 change: 1 addition & 0 deletions assets/fonts/license
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
These fonts are licensed under the OFL
41 changes: 41 additions & 0 deletions assets/fonts/source_sans.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-Regular.ttf");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-Italic.ttf");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-SemiBold.ttf");
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-SemiBoldItalic.ttf");
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-Bold.ttf");
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: "Source Sans Pro";
src: url("/static/assets/fonts/SourceSansPro-BoldItalic.ttf");
font-weight: 700;
font-style: italic;
}
4 changes: 3 additions & 1 deletion src/style/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
from the server but it's fine for now
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Inconsolata&family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');
@import url("/static/assets/fonts/inconsolata.css");
@import url("/static/assets/fonts/source_sans.css");
@import url("/static/assets/fonts/fira_code.css");

$FallbackFonts:
-apple-system,
Expand Down

0 comments on commit dc9d9dd

Please sign in to comment.