Skip to content

Commit

Permalink
Merge pull request #634 from salesforce-ux/hotfix/icons
Browse files Browse the repository at this point in the history
Fix symbolName case for getClassName()
  • Loading branch information
rickschmoo committed Mar 3, 2016
2 parents 6ad94d7 + 03defc7 commit 5ef737a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"gulp": "gulp"
},
"dependencies": {
"@salesforce-ux/design-tokens": "2.0.4",
"@salesforce-ux/design-tokens": "2.0.5",
"@salesforce-ux/icons": "3.4.0",
"app-module-path": "1.0.5",
"async": "1.5.2",
Expand Down
2 changes: 1 addition & 1 deletion scripts/gulp/generate-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const generate = () => {
const symbolName = path.basename(file.path, '.svg');
const className = category.getClassName(
spriteName,
symbolName.replace(/_/g, '-')
_.kebabCase(symbolName.toLowerCase())
);
const icon = {
sprite: spriteName,
Expand Down

0 comments on commit 5ef737a

Please sign in to comment.