From 6fc930464bf8c0b5a7a66355ce87901f36e0ca03 Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Sat, 4 May 2024 12:10:09 +0200 Subject: [PATCH] feat: adjust angular icons to clone pattern --- icons/angular-component.svg | 1 - icons/angular-directive.svg | 1 - icons/angular-guard.svg | 1 - icons/angular-pipe.svg | 1 - icons/angular-resolver.svg | 1 - icons/angular-service.svg | 1 - src/icons/fileIcons.ts | 24 ++++++++++++++++++++++++ 7 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 icons/angular-component.svg delete mode 100644 icons/angular-directive.svg delete mode 100644 icons/angular-guard.svg delete mode 100644 icons/angular-pipe.svg delete mode 100644 icons/angular-resolver.svg delete mode 100644 icons/angular-service.svg diff --git a/icons/angular-component.svg b/icons/angular-component.svg deleted file mode 100644 index 378fee9284..0000000000 --- a/icons/angular-component.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/angular-directive.svg b/icons/angular-directive.svg deleted file mode 100644 index 363684ecd0..0000000000 --- a/icons/angular-directive.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/angular-guard.svg b/icons/angular-guard.svg deleted file mode 100644 index 9ddafbe016..0000000000 --- a/icons/angular-guard.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/angular-pipe.svg b/icons/angular-pipe.svg deleted file mode 100644 index c481abe4f5..0000000000 --- a/icons/angular-pipe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/angular-resolver.svg b/icons/angular-resolver.svg deleted file mode 100644 index 9ddafbe016..0000000000 --- a/icons/angular-resolver.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/angular-service.svg b/icons/angular-service.svg deleted file mode 100644 index e2a28d35d2..0000000000 --- a/icons/angular-service.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 220df24704..08a415c112 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -827,31 +827,55 @@ export const fileIcons: FileIcons = { }, { name: 'angular-component', + clone: { + base: 'angular', + color: 'blue-700', + }, fileExtensions: ['component.ts', 'component.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], }, { name: 'angular-guard', + clone: { + base: 'angular', + color: 'green-600', + }, fileExtensions: ['guard.ts', 'guard.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], }, { name: 'angular-service', + clone: { + base: 'angular', + color: 'amber-400', + }, fileExtensions: ['service.ts', 'service.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], }, { name: 'angular-pipe', + clone: { + base: 'angular', + color: 'teal-600', + }, fileExtensions: ['pipe.ts', 'pipe.js', 'filter.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], }, { name: 'angular-directive', + clone: { + base: 'angular', + color: 'purple-400', + }, fileExtensions: ['directive.ts', 'directive.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], }, { name: 'angular-resolver', + clone: { + base: 'angular', + color: 'green-600', + }, fileExtensions: ['resolver.ts', 'resolver.js'], enabledFor: [IconPack.Angular, IconPack.Ngrx], },