Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request PKief#402 from Bakosa666/vue-theme
Add vue and vuex_vuex theme
  • Loading branch information
PKief committed Apr 11, 2019
2 parents 8db289e + 3e3abc7 commit 483de70
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions icons/folder-vuex-store-open.svg
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-vuex-store.svg
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/vuex-store.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -109,13 +109,17 @@
"%configuration.activeIconPack.angular_ngrx%",
"%configuration.activeIconPack.react%",
"%configuration.activeIconPack.react_redux%",
"%configuration.activeIconPack.vue%",
"%configuration.activeIconPack.vue_vuex%",
"%configuration.activeIconPack.none%"
],
"enum": [
"angular",
"angular_ngrx",
"react",
"react_redux",
"vue",
"vue_vuex",
"none"
]
},
Expand Down
2 changes: 2 additions & 0 deletions package.nls.de.json
Expand Up @@ -20,6 +20,8 @@
"configuration.activeIconPack.angular_ngrx": "Icons für Angular und Ngrx",
"configuration.activeIconPack.react": "Icons für React",
"configuration.activeIconPack.react_redux": "Icons für React und Redux",
"configuration.activeIconPack.vue": "Icons für Vue.",
"configuration.activeIconPack.vue_vuex": "Icons für Vue und Vuex.",
"configuration.activeIconPack.none": "Kein Icon-Pack aktiviert.",
"configuration.folders.theme": "Art der Ordner Icons auswählen.",
"configuration.folders.theme.specific": "Spezifische Ordner Icons auswählen.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.es.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Iconos de Angular y ngrx.",
"configuration.activeIconPack.react": "Iconos de React.",
"configuration.activeIconPack.react_redux": "Iconos de React y Redux.",
"configuration.activeIconPack.vue": "Iconos de Vue.",
"configuration.activeIconPack.vue_vuex": "Iconos de Vue y Vuex.",
"configuration.activeIconPack.none": "No hay ningún paquete de iconos activo.",
"configuration.folders.theme": "Seleccione el tipo de iconos de carpeta.",
"configuration.folders.theme.specific": "Seleccione iconos de carpeta específicos.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.fr.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Icônes pour Angular et ngrx.",
"configuration.activeIconPack.react": "Icônes pour React.",
"configuration.activeIconPack.react_redux": "Icônes pour React et Redux.",
"configuration.activeIconPack.vue": "Icônes pour Vue.",
"configuration.activeIconPack.vue_vuex": "Icônes pour Vue et Vuex.",
"configuration.activeIconPack.none": "Aucun pack d'icônes n'est actif.",
"configuration.folders.theme": "Sélectionner le type d'icônes de dossier.",
"configuration.folders.theme.specific": "Sélectionner des icônes de dossiers spécifiques.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.json
Expand Up @@ -20,6 +20,8 @@
"configuration.activeIconPack.angular_ngrx": "Icons for Angular and ngrx.",
"configuration.activeIconPack.react": "Icons for React.",
"configuration.activeIconPack.react_redux": "Icons for React and Redux.",
"configuration.activeIconPack.vue": "Icons for Vue.",
"configuration.activeIconPack.vue_vuex": "Icons for Vue and Vuex.",
"configuration.activeIconPack.none": "No icon pack enabled.",
"configuration.folders.theme": "Set the type for the folder icons.",
"configuration.folders.theme.specific": "Select specific folder icons.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.pt-BR.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Ícones para Angular e ngrx.",
"configuration.activeIconPack.react": "Ícones para React.",
"configuration.activeIconPack.react_redux": "Ícones para React e ngrx.",
"configuration.activeIconPack.vue": "Ícones para Vue.",
"configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.",
"configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.",
"configuration.folders.theme": "Definir o tipo dos ícones das pastas.",
"configuration.folders.theme.specific": "Selecione ícones de pastas específicas.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.pt-PT.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Ícones para Angular e ngrx.",
"configuration.activeIconPack.react": "Ícones para React.",
"configuration.activeIconPack.react_redux": "Ícones para React e ngrx.",
"configuration.activeIconPack.vue": "Ícones para Vue.",
"configuration.activeIconPack.vue_vuex": "Ícones para Vue e Vuex.",
"configuration.activeIconPack.none": "Nenhum pacote de ícones ativado.",
"configuration.folders.theme": "Definir o formato dos ícones dos directórios.",
"configuration.folders.theme.specific": "Selecciona ícones de pastas específicas.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.ru.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Иконки для Angular и ngrx.",
"configuration.activeIconPack.react": "Иконки для React.",
"configuration.activeIconPack.react_redux": "Иконки для React и Redux.",
"configuration.activeIconPack.vue": "Иконки для Vue.",
"configuration.activeIconPack.vue_vuex": "Иконки для Vue и Vuex.",
"configuration.activeIconPack.none": "Папка с иконками не включена.",
"configuration.folders.theme": "Установить тип иконок для папок.",
"configuration.folders.theme.specific": "Выберите конкретные значки папок.",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.zh-CN.json
Expand Up @@ -18,6 +18,8 @@
"configuration.activeIconPack.angular_ngrx": "Angular和ngrx的图标。",
"configuration.activeIconPack.react": "React的图标。",
"configuration.activeIconPack.react_redux": "React和Redux的图标。",
"configuration.activeIconPack.vue": "Vue的图标。",
"configuration.activeIconPack.vue_vuex": "Vue和Vuex的图标。",
"configuration.activeIconPack.none": "没有启用图标包。",
"configuration.folders.theme": "设置文件夹图标的类型。",
"configuration.folders.theme.specific": "选择特定文件夹图标。",
Expand Down
3 changes: 2 additions & 1 deletion src/icons/fileIcons.ts
Expand Up @@ -105,7 +105,7 @@ export const fileIcons: FileIcons = {
name: 'routing',
fileExtensions: ['routing.ts', 'routing.js', 'routes.ts', 'routes.js'],
fileNames: ['router.js', 'router.ts', 'routes.js', 'routes.ts'],
enabledFor: [IconPack.Angular, IconPack.Ngrx, IconPack.React, IconPack.Redux]
enabledFor: [IconPack.Angular, IconPack.Ngrx, IconPack.React, IconPack.Redux, IconPack.Vue, IconPack.Vuex]
},
{
name: 'redux-action',
Expand Down Expand Up @@ -396,6 +396,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: '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
Expand Up @@ -174,6 +174,8 @@ export const folderIcons: FolderTheme[] = [
{ name: 'folder-prisma', folderNames: ['prisma'] },
{ name: 'folder-pipe', folderNames: ['pipe', 'pipes'] },
{ name: 'folder-svg', folderNames: ['svg', 'svgs'] },
{ name: 'folder-vuex-store', folderNames: ['store'], enabledFor: [IconPack.Vuex] },
{ name: 'folder-vue', folderNames: ['components'], enabledFor: [IconPack.Vuex , IconPack.Vue] },
]
},
{ name: 'classic', defaultIcon: { name: 'folder' }, rootFolder: { name: 'folder-root' } },
Expand Down
2 changes: 2 additions & 0 deletions src/models/icons/iconPack.ts
Expand Up @@ -6,4 +6,6 @@ export enum IconPack {
Ngrx = 'angular_ngrx',
React = 'react',
Redux = 'react_redux',
Vue = 'vue',
Vuex = 'vue_vuex'
}

0 comments on commit 483de70

Please sign in to comment.