diff options
author | Robert Kaussow <mail@geeklabor.de> | 2021-12-30 00:50:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 00:50:13 +0300 |
commit | d5f6cfb13e7ea971670675eee0a9e493b185558f (patch) | |
tree | b169496a9cd92a3c15a19adcab7060a116ec2bf9 /svgsprite.config.json | |
parent | ea4fab356a7e986e64730e7a0b0f00c87b2fe4d8 (diff) |
refator: replace gulp by webpack and npm scripts (#129)
BREAKING CHANGE: We have replaced `gulp` with `webpack` and `npm scripts` to build this theme. If you build it on your own or use build commands during the deployment, you may have to adjust your setup.
BREAKING CHANGE: The `GeekblogIcons` font is using the icon name as Unicode now. As a consequence, you have to replace all references to Icons from this font if you have customized the theme.
Diffstat (limited to 'svgsprite.config.json')
-rw-r--r-- | svgsprite.config.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/svgsprite.config.json b/svgsprite.config.json new file mode 100644 index 0000000..3debc3b --- /dev/null +++ b/svgsprite.config.json @@ -0,0 +1,30 @@ +{ + "shape": { + "id": { + "generator": "gblog_%s" + }, + "dimension": { + "maxWidth": 22, + "maxHeight": 22, + "attributes": false + }, + "spacing": { + "padding": 5, + "box": "content" + }, + "dest": "build/icons" + }, + "svg": { + "xmlDeclaration": false, + "rootAttributes": { + "class": "svg-sprite" + } + }, + "mode": { + "defs": { + "dest": "build/sprites/", + "sprite": "geekblog.svg", + "bust": false + } + } +} |