diff --git a/icons/ets-def.svg b/icons/ets-def.svg new file mode 100644 index 0000000000..427ec4ac20 --- /dev/null +++ b/icons/ets-def.svg @@ -0,0 +1,4 @@ + + + + diff --git a/icons/ets.svg b/icons/ets.svg new file mode 100644 index 0000000000..fd13003cae --- /dev/null +++ b/icons/ets.svg @@ -0,0 +1,3 @@ + + + diff --git a/material-colors.yml b/material-colors.yml index 5d52a1bad5..09d02ce032 100644 --- a/material-colors.yml +++ b/material-colors.yml @@ -280,3 +280,5 @@ exclude: - 'icons/vue.svg' - 'icons/vue-config.svg' - 'icons/vuex-store.svg' + - 'icons/ets-def.svg' + - 'icons/ets.svg' diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index ba32e3ab54..4360db4dba 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -334,7 +334,11 @@ export const fileIcons: FileIcons = { }, { name: 'typescript-def', - fileExtensions: ['d.ts', 'd.cts', 'd.mts', 'd.ets'], + fileExtensions: ['d.ts', 'd.cts', 'd.mts'], + }, + { + name: 'ets-def', + fileExtensions: ['d.ets'], }, { name: 'markdoc', fileExtensions: ['mdoc', 'markdoc', 'markdoc.md'] }, { diff --git a/src/core/icons/languageIcons.ts b/src/core/icons/languageIcons.ts index dbefbf3e40..f8e0282003 100644 --- a/src/core/icons/languageIcons.ts +++ b/src/core/icons/languageIcons.ts @@ -28,7 +28,8 @@ export const languageIcons: LanguageIcon[] = [ { name: 'python', ids: ['python'] }, { name: 'mojo', ids: ['mojo'] }, { name: 'javascript', ids: ['javascript'] }, - { name: 'typescript', ids: ['typescript', 'ets'] }, + { name: 'typescript', ids: ['typescript'] }, + { name: 'ets', ids: ['ets', 'ArkTS'] }, { name: 'scala', ids: ['scala'] }, { name: 'handlebars', ids: ['handlebars'] }, { name: 'perl', ids: ['perl', 'perl6'] },