From 946a1d1324e17e2a4373e53ec64de4e6c4d4283c Mon Sep 17 00:00:00 2001 From: PKief Date: Fri, 25 May 2018 11:18:56 +0200 Subject: [PATCH] More React+Redux Ecosystem Icons (References #255) --- icons/redux-action.svg | 1 + icons/redux-reducer.svg | 1 + icons/redux-store.svg | 1 + src/icons/fileIcons.ts | 18 ++++++++++++++++++ 4 files changed, 21 insertions(+) create mode 100644 icons/redux-action.svg create mode 100644 icons/redux-reducer.svg create mode 100644 icons/redux-store.svg diff --git a/icons/redux-action.svg b/icons/redux-action.svg new file mode 100644 index 0000000000..8c4f7aedff --- /dev/null +++ b/icons/redux-action.svg @@ -0,0 +1 @@ + diff --git a/icons/redux-reducer.svg b/icons/redux-reducer.svg new file mode 100644 index 0000000000..a4766877a6 --- /dev/null +++ b/icons/redux-reducer.svg @@ -0,0 +1 @@ + diff --git a/icons/redux-store.svg b/icons/redux-store.svg new file mode 100644 index 0000000000..8bc1c3cfdb --- /dev/null +++ b/icons/redux-store.svg @@ -0,0 +1 @@ + diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 17c11529ac..99985f8989 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -102,6 +102,24 @@ export const fileIcons: FileIcons = { }, { name: 'javascript', fileExtensions: ['js', 'esx', 'mjs'] }, { name: 'react', fileExtensions: ['jsx', 'tsx'] }, + { + name: 'redux-action', + fileExtensions: ['action.js', 'actions.js', 'action.ts', 'actions.ts'], + fileNames: ['action.js', 'actions.js', 'action.ts', 'actions.ts'], + enabledFor: [IconPack.Redux] + }, + { + name: 'redux-reducer', + fileExtensions: ['reducer.js', 'reducers.js', 'reducer.ts', 'reducers.ts'], + fileNames: ['reducer.js', 'reducers.js', 'reducer.ts', 'reducers.ts'], + enabledFor: [IconPack.Redux] + }, + { + name: 'redux-store', + fileExtensions: ['store.js', 'store.ts'], + fileNames: ['store.js', 'store.ts'], + enabledFor: [IconPack.Redux] + }, { name: 'settings', fileExtensions: [