Skip to content

Commit

Permalink
feat: add styrene font-face
Browse files Browse the repository at this point in the history
  • Loading branch information
reme3d2y committed Aug 25, 2020
1 parent 9e70ddc commit 9dfc8da
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
<style>
@font-face {
font-family: 'Styrene UI';
src: url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_regular.woff2')
format('woff2'),
url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Styrene UI';
src: url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_medium.woff2')
format('woff2'),
url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_medium.woff') format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Styrene UI';
src: url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_bold.woff2') format('woff2'),
url('https://alfabank.st/media/fonts/styrene-ui/styrene-ui_bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}

body {
font-family: var(--font-family);
}
Expand Down

0 comments on commit 9dfc8da

Please sign in to comment.