Skip to content

Commit

Permalink
Add Mojo file icons (#1972)
Browse files Browse the repository at this point in the history
* mojo

* Better mojo alt file icon

Suggestion for a better alt icon

* Add mojo folder icons

* Add "mojo" language id

* Use material fire icon for mojo files

* Use material flame icon for mojo folders

* Update file icon

* Update folder icons

* Update size of icon

---------

Co-authored-by: K7 <Karsten7.dev@gmail.com>
Co-authored-by: Philipp Kief <philipp.kief@gmx.de>
  • Loading branch information
3 people committed May 25, 2023
1 parent c1e5f02 commit 0fb8127
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions icons/folder-mojo-open.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions icons/folder-mojo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions icons/mojo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2338,5 +2338,9 @@ export const fileIcons: FileIcons = {
{ name: 'ifanr-cloud', fileNames: ['.mincloudrc'] },
{ name: 'qwik', fileExtensions: ['tsx'], enabledFor: [IconPack.Qwik] },
{ name: 'mermaid', fileExtensions: ['mmd', 'mermaid'] },
{
name: 'mojo',
fileExtensions: ['mojo', '🔥'],
},
],
};
4 changes: 4 additions & 0 deletions src/icons/folderIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ export const folderIcons: FolderTheme[] = [
name: 'folder-python',
folderNames: ['python', '__pycache__', '.pytest_cache'],
},
{
name: 'folder-mojo',
folderNames: ['mojo'],
},
{ name: 'folder-debug', folderNames: ['debug', 'debugging'] },
{ name: 'folder-fastlane', folderNames: ['fastlane'] },
{
Expand Down
1 change: 1 addition & 0 deletions src/icons/languageIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const languageIcons: LanguageIcon[] = [
{ icon: { name: 'java' }, ids: ['java'] },
{ icon: { name: 'razor' }, ids: ['razor', 'aspnetcorerazor'] },
{ icon: { name: 'python' }, ids: ['python'] },
{ icon: { name: 'mojo' }, ids: ['mojo'] },
{ icon: { name: 'javascript' }, ids: ['javascript'] },
{ icon: { name: 'typescript' }, ids: ['typescript'] },
{ icon: { name: 'scala' }, ids: ['scala'] },
Expand Down

0 comments on commit 0fb8127

Please sign in to comment.