Skip to content

Commit

Permalink
Add .svelte.js and .svelte.ts color variants (#2600)
Browse files Browse the repository at this point in the history
* Add .svelte.js and .svelte.ts color variants

* Use same colors as for JS and TS icons

---------

Co-authored-by: Philipp Kief <[email protected]>
  • Loading branch information
eddiemcconkie and PKief authored Sep 20, 2024
1 parent b234dce commit d9bd027
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/core/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,22 @@ export const fileIcons: FileIcons = {
'svelte.config': FileNamePattern.Ecmascript,
},
},
{
name: 'svelte.js',
fileExtensions: ['svelte.js'],
clone: {
base: 'svelte',
color: 'amber-400',
},
},
{
name: 'svelte.ts',
fileExtensions: ['svelte.ts'],
clone: {
base: 'svelte',
color: 'light-blue-700',
},
},
{
name: 'vim',
fileExtensions: ['vimrc', 'gvimrc', 'exrc', 'vim', 'viminfo'],
Expand Down Expand Up @@ -2050,7 +2066,16 @@ export const fileIcons: FileIcons = {
{ name: 'grain', fileExtensions: ['gr'] },
{ name: 'lolcode', fileExtensions: ['lol'] },
{ name: 'idris', fileExtensions: ['idr', 'ibc'] },
{ name: 'quasar', fileNames: ['quasar.conf.js', 'quasar.config.js', 'quasar.conf.ts', 'quasar.config.ts', 'quasar.config.cjs'] },
{
name: 'quasar',
fileNames: [
'quasar.conf.js',
'quasar.config.js',
'quasar.conf.ts',
'quasar.config.ts',
'quasar.config.cjs',
],
},
{ name: 'dependabot', fileNames: ['dependabot.yml', 'dependabot.yaml'] },
{ name: 'pipeline', fileExtensions: ['pipeline'] },
{
Expand Down

0 comments on commit d9bd027

Please sign in to comment.