Skip to content

Commit 0f37f62

Browse files
hasecilustefanhaller
authored andcommitted
Fix double '#' on hexadecimal colors
1 parent 8ec37f8 commit 0f37f62

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pkg/gui/presentation/icons/file_icons.go

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ import (
99

1010
// NOTE: Visit next links for inspiration:
1111
// https://github.com/eza-community/eza/blob/main/src/output/icons.rs
12-
// https://github.com/nvim-tree/nvim-web-devicons/blob/master/lua/nvim-web-devicons/icons-default.lua
12+
// https://github.com/nvim-tree/nvim-web-devicons/tree/master/lua/nvim-web-devicons/default
1313

1414
var (
1515
DEFAULT_FILE_ICON = IconProperties{Icon: "\uf15b", Color: "#878787"} // 
1616
DEFAULT_SUBMODULE_ICON = IconProperties{Icon: "\U000f02a2", Color: "#FF4F00"} // 󰊢
1717
DEFAULT_DIRECTORY_ICON = IconProperties{Icon: "\uf07b", Color: "#878787"} // 
1818
)
1919

20+
// NOTE: The filename map is case sensitive.
2021
var nameIconMap = map[string]IconProperties{
2122
".atom": {Icon: "\ue764", Color: "#EED9B7"}, // 
2223
".babelrc": {Icon: "\ue639", Color: "#FED836"}, // 
@@ -92,7 +93,7 @@ var nameIconMap = map[string]IconProperties{
9293
"Cargo.lock": {Icon: "\ue7a8", Color: "#DEA584"}, // 
9394
"Cargo.toml": {Icon: "\ue7a8", Color: "#DEA584"}, // 
9495
"checkhealth": {Icon: "\U000f04d9", Color: "#75B4FB"}, // 󰓙
95-
"cmakelists.txt": {Icon: "\ue794", Color: "##DCE3EB"}, // 
96+
"CMakeLists.txt": {Icon: "\ue794", Color: "#DCE3EB"}, // 
9697
"CODE_OF_CONDUCT": {Icon: "\uf4ae", Color: "#E41662"}, // 
9798
"CODE_OF_CONDUCT.md": {Icon: "\uf4ae", Color: "#E41662"}, // 
9899
"CODE-OF-CONDUCT.md": {Icon: "\uf4ae", Color: "#E41662"}, // 
@@ -282,7 +283,7 @@ var extIconMap = map[string]IconProperties{
282283
".cljd": {Icon: "\ue76a", Color: "#519ABA"}, // 
283284
".cljs": {Icon: "\ue642", Color: "#2AB6F6"}, // 
284285
".cls": {Icon: "\ue69b", Color: "#4B5163"}, // 
285-
".cmake": {Icon: "\ue794", Color: "##DCE3EB"}, // 
286+
".cmake": {Icon: "\ue794", Color: "#DCE3EB"}, // 
286287
".cmd": {Icon: "\uebc4", Color: "#FF7043"}, // 
287288
".cob": {Icon: "\u2699", Color: "#005CA5"}, // ⚙
288289
".cobol": {Icon: "\u2699", Color: "#005CA5"}, // ⚙
@@ -404,22 +405,22 @@ var extIconMap = map[string]IconProperties{
404405
".guardfile": {Icon: "\ue21e", Color: "#626262"}, // 
405406
".gv": {Icon: "\U000f1049", Color: "#005F87"}, // 󱁉
406407
".gz": {Icon: "\uf410", Color: "#ECA517"}, // 
407-
".h": {Icon: "\uf0fd", Color: "##A074C4"}, // 
408+
".h": {Icon: "\uf0fd", Color: "#A074C4"}, // 
408409
".haml": {Icon: "\ue664", Color: "#F4521E"}, // 
409410
".hbs": {Icon: "\U000f15de", Color: "#FF7043"}, // 󱗞
410411
".hc": {Icon: "\U000f00a2", Color: "#FAF743"}, // 󰂢
411412
".heex": {Icon: "\ue62d", Color: "#9575CE"}, // 
412413
".hex": {Icon: "\U000f12a7", Color: "#25A79A"}, // 󱊧
413-
".hh": {Icon: "\uf0fd", Color: "##A074C4"}, // 
414-
".hpp": {Icon: "\uf0fd", Color: "##A074C4"}, // 
414+
".hh": {Icon: "\uf0fd", Color: "#A074C4"}, // 
415+
".hpp": {Icon: "\uf0fd", Color: "#A074C4"}, // 
415416
".hrl": {Icon: "\ue7b1", Color: "#B83998"}, // 
416417
".hs": {Icon: "\ue61f", Color: "#FFA726"}, // 
417418
".htm": {Icon: "\uf13b", Color: "#E44E27"}, // 
418419
".html": {Icon: "\uf13b", Color: "#E44E27"}, // 
419420
".huff": {Icon: "\U000f0858", Color: "#CFD8DD"}, // 󰡘
420421
".hurl": {Icon: "\uf0ec", Color: "#FF0288"}, // 
421422
".hx": {Icon: "\ue666", Color: "#F68713"}, // 
422-
".hxx": {Icon: "\uf0fd", Color: "##A074C4"}, // 
423+
".hxx": {Icon: "\uf0fd", Color: "#A074C4"}, // 
423424
".ical": {Icon: "\uf073", Color: "#2B9EF3"}, // 
424425
".icalendar": {Icon: "\uf073", Color: "#2B9EF3"}, // 
425426
".ico": {Icon: "\U000f021f", Color: "#25A6A0"}, // 󰈟
@@ -690,7 +691,7 @@ var extIconMap = map[string]IconProperties{
690691
".tlz": {Icon: "\uf410", Color: "#ECA517"}, // 
691692
".tmux": {Icon: "\uebc8", Color: "#14BA19"}, // 
692693
".toml": {Icon: "\ue6b2", Color: "#9C4221"}, // 
693-
".torrent": {Icon: "\ue275", Color: "##4C90E8"}, // 
694+
".torrent": {Icon: "\ue275", Color: "#4C90E8"}, // 
694695
".tres": {Icon: "\ue65f", Color: "#42A5F5"}, // 
695696
".ts": {Icon: "\U000f06e6", Color: "#0188D1"}, // 󰛦
696697
".tscn": {Icon: "\ue65f", Color: "#42A5F5"}, // 

0 commit comments

Comments
 (0)