mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
removing html data property on base elemenet used for testing and removing double string interpolation in font function
This commit is contained in:
parent
999c3facf2
commit
8f75a6fd6e
@ -22,16 +22,16 @@ const generateFonts = (fontFamilies, fontFilenames) => {
|
||||
fontCSS += `
|
||||
@font-face {
|
||||
font-family: ${fontFamily};
|
||||
src: url(${pathToFont}${fontFilenames[i]}.eot);
|
||||
src: url(${pathToFont}${fontFilenames[i]}.eot?#iefix)
|
||||
src: url(${pathToFont + fontFilenames[i]}.eot);
|
||||
src: url(${pathToFont + fontFilenames[i]}.eot?#iefix)
|
||||
format('embedded-opentype');
|
||||
src: url(${pathToFont}${fontFilenames[i]}.woff)
|
||||
src: url(${pathToFont + fontFilenames[i]}.woff)
|
||||
format('woff');
|
||||
src: url(${pathToFont}${fontFilenames[i]}.woff2)
|
||||
src: url(${pathToFont + fontFilenames[i]}.woff2)
|
||||
format('woff2');
|
||||
src: url(${pathToFont}${fontFilenames[i]}.ttf)
|
||||
src: url(${pathToFont + fontFilenames[i]}.ttf)
|
||||
format('truetype');
|
||||
src: url(${pathToFont}${fontFilenames[i]}.svg#${fontFamily})
|
||||
src: url(${pathToFont + fontFilenames[i]}.svg#${fontFamily})
|
||||
format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
@ -66,7 +66,7 @@ const styles = {
|
||||
|
||||
storiesOf('Grid', module)
|
||||
.add('Row and Column', () => (
|
||||
<Base data-id="base">
|
||||
<Base>
|
||||
<Container fluid>
|
||||
<Row>
|
||||
<Column
|
||||
|
Loading…
Reference in New Issue
Block a user