From b5ed6e332e16700a27f11ea56cebfe25ae1bbac4 Mon Sep 17 00:00:00 2001 From: erhant Date: Thu, 11 Jan 2024 18:28:40 +0300 Subject: [PATCH 1/3] add huff icons --- icons/huff.svg | 1 + icons/huff_light.svg | 1 + src/icons/fileIcons.ts | 1 + src/icons/languageIcons.ts | 1 + 4 files changed, 4 insertions(+) create mode 100644 icons/huff.svg create mode 100644 icons/huff_light.svg diff --git a/icons/huff.svg b/icons/huff.svg new file mode 100644 index 0000000000..289248c3a3 --- /dev/null +++ b/icons/huff.svg @@ -0,0 +1 @@ + diff --git a/icons/huff_light.svg b/icons/huff_light.svg new file mode 100644 index 0000000000..426b78e0ab --- /dev/null +++ b/icons/huff_light.svg @@ -0,0 +1 @@ + diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index f9efd23381..c7bb6b2a26 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -1469,6 +1469,7 @@ export const fileIcons: FileIcons = { ], }, { name: 'hack', fileNames: ['.hhconfig'] }, + { name: 'huff', fileNames: ['.huff'], light: true }, { name: 'hardhat', fileNames: ['hardhat.config.js', 'hardhat.config.ts'] }, { name: 'stylelint', diff --git a/src/icons/languageIcons.ts b/src/icons/languageIcons.ts index b0b2570b0d..9536a7e772 100644 --- a/src/icons/languageIcons.ts +++ b/src/icons/languageIcons.ts @@ -152,6 +152,7 @@ export const languageIcons: LanguageIcon[] = [ { icon: { name: 'cadence' }, ids: ['cadence'] }, { icon: { name: 'stylable' }, ids: ['stylable'] }, { icon: { name: 'hjson' }, ids: ['hjson'] }, + { icon: { name: 'huff' }, ids: ['huff'] }, { icon: { name: 'concourse' }, ids: ['concourse-pipeline-yaml', 'concourse-task-yaml'], From 49b32f28cd25c5cf4ca9215431547099f484cbd4 Mon Sep 17 00:00:00 2001 From: erhant Date: Thu, 11 Jan 2024 19:44:01 +0300 Subject: [PATCH 2/3] a bit lighter tone --- icons/huff_light.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/huff_light.svg b/icons/huff_light.svg index 426b78e0ab..7714abda2c 100644 --- a/icons/huff_light.svg +++ b/icons/huff_light.svg @@ -1 +1 @@ - + From 5faf09386940df87c3ecff94f40ef964eb581fc6 Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Thu, 11 Jan 2024 20:52:15 +0100 Subject: [PATCH 3/3] Update icons --- icons/huff.svg | 4 +++- icons/huff_light.svg | 4 +++- src/icons/fileIcons.ts | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/icons/huff.svg b/icons/huff.svg index 289248c3a3..963a4477e7 100644 --- a/icons/huff.svg +++ b/icons/huff.svg @@ -1 +1,3 @@ - + + + diff --git a/icons/huff_light.svg b/icons/huff_light.svg index 7714abda2c..73254a13f6 100644 --- a/icons/huff_light.svg +++ b/icons/huff_light.svg @@ -1 +1,3 @@ - + + + diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index c7bb6b2a26..71870658cb 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -1469,7 +1469,7 @@ export const fileIcons: FileIcons = { ], }, { name: 'hack', fileNames: ['.hhconfig'] }, - { name: 'huff', fileNames: ['.huff'], light: true }, + { name: 'huff', fileExtensions: ['huff'], light: true }, { name: 'hardhat', fileNames: ['hardhat.config.js', 'hardhat.config.ts'] }, { name: 'stylelint',