Skip to content

Commit

Permalink
Add icon to fortran files (#245)
Browse files Browse the repository at this point in the history
* adding the fortran icon

* adding-fortran-to-preview-file-and-running-lint

* Update icon

* Update preview

---------

Co-authored-by: Miguel Solorio <[email protected]>
  • Loading branch information
GabLunaDev and miguelsolorio authored Oct 24, 2024
1 parent 7aa968a commit 72b444b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Binary file added preview/files/fortran.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions preview/preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ You can choose which icons to use from the [Library](https://www.figma.com/file/
|expressive-code|![expressive-code](files/expressive-code.png)|
|firebase|![firebase](files/firebase.png)|
|font|![font](files/font.png)|
|fortran|![fortran](files/fortran.png)|
|fsharp|![fsharp](files/fsharp.png)|
|func|[func](files/func.png)|
|fresh|![fresh](files/fresh.png)|
Expand Down
3 changes: 3 additions & 0 deletions src/icons/files/fortran.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/symbol-icon-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"expressive-code": { "iconPath": "./icons/files/expressive-code.svg" },
"firebase": { "iconPath": "./icons/files/firebase.svg" },
"font": { "iconPath": "./icons/files/font.svg" },
"fortran": { "iconPath": "./icons/files/fortran.svg" },
"fresh": { "iconPath": "./icons/files/fresh.svg" },
"fsharp": { "iconPath": "./icons/files/fsharp.svg" },
"func": { "iconPath": "./icons/files/func.svg" },
Expand Down Expand Up @@ -274,6 +275,11 @@
},

"fileExtensions": {
"f90": "fortran",
"f95": "fortran",
"f03": "fortran",
"f": "fortran",
"for": "fortran",
"d.ts": "ts-types",
"d.cts": "ts-types",
"d.mts": "ts-types",
Expand Down

0 comments on commit 72b444b

Please sign in to comment.