We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da57101 commit 876c17dCopy full SHA for 876c17d
.storybook/decorators/globalStyle.js
@@ -2,9 +2,17 @@ import React from 'react';
2
import { createGlobalStyle } from 'styled-components';
3
4
import styleReset from '../../src/components/common/styleReset';
5
+import MSSansSerif from '../../src/components/assets/fonts/MS-Sans-Serif.woff2';
6
7
const GlobalStyle = createGlobalStyle`
8
${styleReset}
9
+ @font-face {
10
+ font-family: 'MS-Sans-Serif';
11
+ src: url('${MSSansSerif}') format('woff2');
12
+ }
13
+ body {
14
+ font-family: 'MS-Sans-Serif', 'sans-serif';
15
16
`;
17
18
export default storyFn => (
src/components/assets/fonts/MS-Sans-Serif.woff2
3.23 KB
0 commit comments