Skip to content

Commit

Permalink
Merge pull request #450 from Bakosa666/add-nuxt-icons
Browse files Browse the repository at this point in the history
Add nuxt icons and directives folder
  • Loading branch information
PKief committed May 22, 2019
2 parents 05bde2b + 42de81d commit 5c01961
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/folder-nuxt-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/folder-nuxt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/folder-vue-directives-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/folder-vue-directives.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/nuxt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ export const fileIcons: FileIcons = {
{ name: 'vue', fileExtensions: ['vue'] },
{ name: 'vue-config', fileNames: ['vue.config.js', 'vue.config.ts'] },
{ name: 'vuex-store', fileExtensions: ['store.js', 'store.ts'], fileNames: ['store.js', 'store.ts'], enabledFor: [IconPack.Vuex] },
{ name: 'nuxt', fileNames: ['nuxt.config.js', 'nuxt.config.ts'], enabledFor: [IconPack.Vuex, IconPack.Vue] },
{ name: 'ocaml', fileExtensions: ['ml', 'mli', 'cmx'] },
{ name: 'javascript-map', fileExtensions: ['js.map', 'mjs.map'] },
{ name: 'css-map', fileExtensions: ['css.map'] },
Expand Down
2 changes: 2 additions & 0 deletions src/icons/folderIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ export const folderIcons: FolderTheme[] = [
{ name: 'folder-pipe', folderNames: ['pipe', 'pipes'] },
{ name: 'folder-svg', folderNames: ['svg', 'svgs'] },
{ name: 'folder-vuex-store', folderNames: ['store'], enabledFor: [IconPack.Vuex] },
{ name: 'folder-nuxt', folderNames: ['nuxt', '.nuxt'], enabledFor: [IconPack.Vuex, IconPack.Vue] },
{ name: 'folder-vue-directives', folderNames: ['directives'], enabledFor: [IconPack.Vuex, IconPack.Vue] },
{ name: 'folder-vue', folderNames: ['components'], enabledFor: [IconPack.Vuex , IconPack.Vue] },
]
},
Expand Down

0 comments on commit 5c01961

Please sign in to comment.