Skip to content

Commit

Permalink
chore: use feather icons
Browse files Browse the repository at this point in the history
  • Loading branch information
codebender828 committed Dec 23, 2020
1 parent 2d79b0b commit 16a85bf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ import {
faDiscord
} from '@fortawesome/free-brands-svg-icons'

import {
feActivity,
feAirplay,
feCloudRain
} from 'feather-icons-paths'

Vue.use(Chakra, {
icons: {
iconPack: 'fa',
iconSet: {
feActivity,
faBraille,
faAnchor,
faPlus,
Expand All @@ -54,7 +61,9 @@ Vue.use(Chakra, {
faCog,
faLock,
faEye,
faEyeSlash
faEyeSlash,
feAirplay,
feCloudRain
}
}
})
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"eslint-plugin-vue-a11y": "^0.0.31",
"feather-icons-paths": "^1.0.6",
"file-contributors": "^1.0.2",
"focus-trap": "^5.1.0",
"focus-trap-vue": "^0.0.4",
Expand Down
1 change: 1 addition & 0 deletions packages/chakra-ui-core/src/CIcon/CIcon.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ storiesOf('UI | Icon', module)
<CIcon name="email" mx="2" color="indigo.400" size="5" />
<CIcon name="phone" mx="2" color="green.400" size="6" />
<CIcon name="anchor" mx="2" color="red.400" size="10" />
<CIcon name="activity" mx="2" color="red.400" size="10" />
</div>
`
}))
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11745,6 +11745,11 @@ fd-slicer@~1.1.0:
dependencies:
pend "~1.2.0"

feather-icons-paths@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/feather-icons-paths/-/feather-icons-paths-1.0.6.tgz#e0d1815dc51a43979baf5198d88ca6e353429313"
integrity sha512-w2uVXUQDgI2PS2h4yKwxRuHyoAhKOz85pbr7f9d3DDFY4fQLNx92ctumWUhwoydHhRJ07uOFtle3sRj5Ywyw8w==

figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
version "3.5.2"
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
Expand Down

0 comments on commit 16a85bf

Please sign in to comment.