Skip to content

Commit

Permalink
Add Redux selector icon and folder icon (#1247)
Browse files Browse the repository at this point in the history
* Added Redux selector icon and folder icon

Created Redux selector icon and both open and closed folder icons.
Edited fileIcons.ts and folderIcons.ts

* Fixed folder icons redux logo colour

* Fix typo in icon name

Co-authored-by: Philipp Kief <[email protected]>
  • Loading branch information
arealglitterboy and PKief authored Sep 19, 2021
1 parent d81b617 commit 73a6f3b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/folder-redux-selector-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-redux-selector.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/redux-selector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ export const fileIcons: FileIcons = {
fileNames: ['reducer.js', 'reducers.js', 'reducer.ts', 'reducers.ts'],
enabledFor: [IconPack.Redux],
},
{
name: 'redux-selector',
fileExtensions: ['selector.js', 'selectors.js', 'selector.ts', 'selectors.ts'],
fileNames: ['selector.js', 'selectors.js', 'selector.ts', 'selectors.ts'],
enabledFor: [IconPack.Redux],
},
{
name: 'redux-store',
fileExtensions: ['store.js', 'store.ts'],
Expand Down
5 changes: 5 additions & 0 deletions src/icons/folderIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ export const folderIcons: FolderTheme[] = [
folderNames: ['actions'],
enabledFor: [IconPack.Redux],
},
{
name: 'folder-redux-selector',
folderNames: ['selectors', 'selector'],
enabledFor: [IconPack.Redux],
},
{
name: 'folder-redux-store',
folderNames: ['store'],
Expand Down

0 comments on commit 73a6f3b

Please sign in to comment.