Skip to content

Commit

Permalink
feat: added fabriga and inter fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwelsch committed Nov 13, 2023
1 parent 53fa44f commit 2af5d3f
Show file tree
Hide file tree
Showing 20 changed files with 117 additions and 7 deletions.
124 changes: 117 additions & 7 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,121 @@
<style type="text/css">
/*
Place to add custom fonts that only affect the storybook preview
@font-face {
font-family: Inter;
src: url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
}
*/
/* Add Inter font */
@font-face {
font-family: Inter;
font-weight: 100;
font-style: normal;
src: url(/fonts/Inter/Inter-Thin.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 200;
font-style: normal;
src: url(/fonts/Inter/Inter-ExtraLight.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 300;
font-style: normal;
src: url(/fonts/Inter/Inter-Light.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 400;
font-style: normal;
src: url(/fonts/Inter/Inter-Regular.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 500;
font-style: normal;
src: url(/fonts/Inter/Inter-Medium.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 600;
font-style: normal;
src: url(/fonts/Inter/Inter-SemiBold.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 700;
font-style: normal;
src: url(/fonts/Inter/Inter-Bold.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 800;
font-style: normal;
src: url(/fonts/Inter/Inter-ExtraBold.ttf) format('truetype');
}
@font-face {
font-family: Inter;
font-weight: 900;
font-style: normal;
src: url(/fonts/Inter/Inter-Black.ttf) format('truetype');
}

/* Add Fabriga font */
@font-face {
font-family: Fabriga;
font-weight: 300;
font-style: normal;
src: url(/fonts/Fabriga/Fabriga-Light.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 300;
font-style: italic;
src: url(/fonts/Fabriga/Fabriga-LightItalic.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 400;
font-style: normal;
src: url(/fonts/Fabriga/Fabriga-Regular.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 400;
font-style: italic;
src: url(/fonts/Fabriga/Fabriga-Italic.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 500;
font-style: normal;
src: url(/fonts/Fabriga/Fabriga-Medium.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 500;
font-style: italic;
src: url(/fonts/Fabriga/Fabriga-MediumItalic.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 700;
font-style: normal;
src: url(/fonts/Fabriga/Fabriga-Bold.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 700;
font-style: italic;
src: url(/fonts/Fabriga/Fabriga-BoldItalic.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 900;
font-style: normal;
src: url(/fonts/Fabriga/Fabriga-Black.otf) format('opentype');
}
@font-face {
font-family: Fabriga;
font-weight: 900;
font-style: italic;
src: url(/fonts/Fabriga/Fabriga-BlackItalic.otf) format('opentype');
}
</style>
<script>
window.global = window;
Expand Down
Binary file added assets/fonts/Fabriga/Fabriga-Black.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-BlackItalic.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-Bold.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-BoldItalic.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-Italic.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-Light.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-LightItalic.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-Medium.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-MediumItalic.otf
Binary file not shown.
Binary file added assets/fonts/Fabriga/Fabriga-Regular.otf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Black.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraBold.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-ExtraLight.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Light.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-SemiBold.ttf
Binary file not shown.
Binary file added assets/fonts/Inter/Inter-Thin.ttf
Binary file not shown.

0 comments on commit 2af5d3f

Please sign in to comment.