Skip to content
Permalink
Browse files

Update website with demo for 'output-components-as-svgstore'

  • Loading branch information
marcomontalbano committed Dec 2, 2019
1 parent 81315ea commit 0bc410d0a5a3797c9788aaabe108358412a6a96c
@@ -0,0 +1,10 @@
{
"plugins": [
["@babel/plugin-transform-react-jsx", { "pragma":"h", "jsxPragma": "h" }],
["babel-plugin-jsx-pragmatic", {
"module": "preact",
"import": "h",
"export": "h"
}]
]
}
@@ -25,16 +25,18 @@ module.exports = {
output: './output/es6-dataurl',
useDataUrl: true,
}),
// require('../output-components-as-svgstore')({
// output: './output/svgstore',
// }),
// require('../output-components-as-svgstore')({
// output: './output/svgstore-monochrome',
// options: {
// prefix: 'monochrome-',
// cleanSymbols: ['fill']
// }
// }),

require('../output-components-as-svgstore')({
output: './output/svgstore',
}),

require('../output-components-as-svgstore')({
output: './output/svgstore-monochrome',
iconPrefix: 'unfilled-',
options: {
cleanSymbols: ['fill']
}
}),
]
}]
]
@@ -12,6 +12,14 @@ $color-link-hover: #1976D2;
}
}

.text-center {
text-align: center;
}

.nowrap {
white-space: nowrap;
}

body {
margin: 0;
font-family: Lato;
@@ -181,11 +189,15 @@ pre[class*=language-] {
padding: 0 15px;
}

.section-block {
margin: 60px 0;
}

.code-block {
display: flex;
justify-content: space-around;
flex-direction: column;
margin: 60px 0 15px 0;
margin: 15px 0;

@include for-desktop-up {
align-items: center;

Some generated files are not rendered by default. Learn more.

0 comments on commit 0bc410d

Please sign in to comment.
You can’t perform that action at this time.