mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 15:20:06 +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 += `
|
fontCSS += `
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: ${fontFamily};
|
font-family: ${fontFamily};
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.eot);
|
src: url(${pathToFont + fontFilenames[i]}.eot);
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.eot?#iefix)
|
src: url(${pathToFont + fontFilenames[i]}.eot?#iefix)
|
||||||
format('embedded-opentype');
|
format('embedded-opentype');
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.woff)
|
src: url(${pathToFont + fontFilenames[i]}.woff)
|
||||||
format('woff');
|
format('woff');
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.woff2)
|
src: url(${pathToFont + fontFilenames[i]}.woff2)
|
||||||
format('woff2');
|
format('woff2');
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.ttf)
|
src: url(${pathToFont + fontFilenames[i]}.ttf)
|
||||||
format('truetype');
|
format('truetype');
|
||||||
src: url(${pathToFont}${fontFilenames[i]}.svg#${fontFamily})
|
src: url(${pathToFont + fontFilenames[i]}.svg#${fontFamily})
|
||||||
format('svg');
|
format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
@ -66,7 +66,7 @@ const styles = {
|
|||||||
|
|
||||||
storiesOf('Grid', module)
|
storiesOf('Grid', module)
|
||||||
.add('Row and Column', () => (
|
.add('Row and Column', () => (
|
||||||
<Base data-id="base">
|
<Base>
|
||||||
<Container fluid>
|
<Container fluid>
|
||||||
<Row>
|
<Row>
|
||||||
<Column
|
<Column
|
||||||
|
Loading…
Reference in New Issue
Block a user