ux: use consistent icons for sytem and template

Signed-off-by: Aizat Faiz <aizat.faiz@gmail.com>
This commit is contained in:
Aizat Faiz
2023-12-24 17:51:24 +08:00
parent 1f6040e4bd
commit 797a32953b
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/app-defaults': patch
---
Fixed inconsistencies in icons used for System and Template
+4 -4
View File
@@ -17,7 +17,7 @@
import { IconComponent } from '@backstage/core-plugin-api';
import MuiApartmentIcon from '@material-ui/icons/Apartment';
import MuiBrokenImageIcon from '@material-ui/icons/BrokenImage';
import MuiCategoryIcon from '@material-ui/icons/Category';
import MuiBusinessIcon from '@material-ui/icons/Business';
import MuiCreateNewFolderIcon from '@material-ui/icons/CreateNewFolder';
import MuiSubjectIcon from '@material-ui/icons/Subject';
import MuiSearchIcon from '@material-ui/icons/Search';
@@ -35,7 +35,7 @@ import MuiPeopleIcon from '@material-ui/icons/People';
import MuiPersonIcon from '@material-ui/icons/Person';
import MuiWarningIcon from '@material-ui/icons/Warning';
import MuiWorkIcon from '@material-ui/icons/Work';
import MuiFeaturedPlayListIcon from '@material-ui/icons/FeaturedPlayList';
import MuiLibraryAddIcon from '@material-ui/icons/LibraryAdd';
export const icons = {
brokenImage: MuiBrokenImageIcon as IconComponent,
@@ -56,10 +56,10 @@ export const icons = {
'kind:domain': MuiApartmentIcon as IconComponent,
'kind:group': MuiPeopleIcon as IconComponent,
'kind:location': MuiLocationOnIcon as IconComponent,
'kind:system': MuiCategoryIcon as IconComponent,
'kind:system': MuiBusinessIcon as IconComponent,
'kind:user': MuiPersonIcon as IconComponent,
'kind:resource': MuiWorkIcon as IconComponent,
'kind:template': MuiFeaturedPlayListIcon as IconComponent,
'kind:template': MuiLibraryAddIcon as IconComponent,
user: MuiPersonIcon as IconComponent,
warning: MuiWarningIcon as IconComponent,
};