Skip to content

Commit 030d242

Browse files
authored
Merge pull request #108 from Wikia/XW-2453
XW-2453 | replace broccoli-symbolizer with broccoli-svgstore
2 parents 278832b + 057ca97 commit 030d242

File tree

10 files changed

+200
-306
lines changed

10 files changed

+200
-306
lines changed

dist/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/svg/sprite.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/assets/design-system.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/design-system.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/wds.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010

11-
<meta name="design-system/config/environment" content="%7B%22modulePrefix%22%3A%22design-system%22%2C%22environment%22%3A%22production%22%2C%22rootURL%22%3A%22/%22%2C%22locationType%22%3A%22hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22design-system%22%2C%22version%22%3A%224.1.2%22%7D%2C%22exportApplicationGlobal%22%3Afalse%7D" />
11+
<meta name="design-system/config/environment" content="%7B%22modulePrefix%22%3A%22design-system%22%2C%22environment%22%3A%22production%22%2C%22rootURL%22%3A%22/%22%2C%22locationType%22%3A%22hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22design-system%22%2C%22version%22%3A%224.1.3+8265f807%22%7D%2C%22exportApplicationGlobal%22%3Afalse%7D" />
1212

1313
<link rel="stylesheet" href="/assets/vendor.css">
1414
<link rel="stylesheet" href="/assets/design-system.css">

docs/svg/sprite.svg

Lines changed: 176 additions & 296 deletions
Loading

docs/svg/wds-icons-linkedin.svg

Lines changed: 3 additions & 0 deletions
Loading

ember-cli-build.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* global require, module */
33
var EmberApp = require('ember-cli/lib/broccoli/ember-app'),
44
Funnel = require('broccoli-funnel'),
5-
Symbolizer = require('broccoli-symbolizer');
5+
SvgStore = require('broccoli-svgstore');
66

77
module.exports = function(defaults) {
88
var app = new EmberApp(defaults, {
@@ -57,8 +57,19 @@ module.exports = function(defaults) {
5757
}));
5858
}
5959

60-
additionalTrees.push(new Symbolizer('style-guide/assets', {
61-
outputFile: '/svg/sprite.svg'
60+
61+
additionalTrees.push(SvgStore('style-guide/assets', {
62+
outputFile: '/svg/sprite.svg',
63+
svgstoreOpts: {
64+
svgAttrs: {
65+
style: 'position: absolute; width: 0; height: 0;',
66+
width: '0',
67+
height: '0',
68+
version: '1.1',
69+
xmlns: 'http://www.w3.org/2000/svg',
70+
'xmlns:xlink': 'http://www.w3.org/1999/xlink'
71+
}
72+
}
6273
}));
6374

6475
// Use `app.import` to add additional libraries to the generated

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"broccoli-asset-rev": "2.4.6",
2727
"broccoli-funnel": "1.0.7",
28-
"broccoli-symbolizer": "0.5.0",
28+
"broccoli-svgstore": "0.4.0",
2929
"design-system-i18n": "Wikia/design-system-i18n#0.6.2",
3030
"ember-browserify": "1.1.13",
3131
"ember-cli": "2.8.0",

0 commit comments

Comments
 (0)