Skip to content

Commit 87c3ded

Browse files
feat: js/ts/jsx/tsx consistent test/spec icons (#215)
* feat: js/ts/jsx/tsx consistent test/spec icons * feat: js/ts/jsx/tsx consistent test/spec icons: update cterm_color --------- Co-authored-by: Alexander Courtis <[email protected]>
1 parent 965dd10 commit 87c3ded

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

lua/nvim-web-devicons.lua

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -825,11 +825,17 @@ local icons_by_file_extension = {
825825
name = "Js",
826826
},
827827
["test.js"] = {
828-
icon = "",
829-
color = "#e37933",
830-
cterm_color = "166",
828+
icon = "",
829+
color = "#cbcb41",
830+
cterm_color = "185",
831831
name = "TestJs",
832832
},
833+
["spec.js"] = {
834+
icon = "",
835+
color = "#cbcb41",
836+
cterm_color = "185",
837+
name = "SpecJs",
838+
},
833839
["json"] = {
834840
icon = "",
835841
color = "#cbcb41",
@@ -848,6 +854,18 @@ local icons_by_file_extension = {
848854
cterm_color = "45",
849855
name = "Jsx",
850856
},
857+
["test.jsx"] = {
858+
icon = "",
859+
color = "#20c2e3",
860+
cterm_color = "45",
861+
name = "JavaScriptReactTest"
862+
},
863+
["spec.jsx"] = {
864+
icon = "",
865+
color = "#20c2e3",
866+
cterm_color = "45",
867+
name = "JavaScriptReactSpec"
868+
},
851869
["ksh"] = {
852870
icon = "",
853871
color = "#4d5a5e",
@@ -1381,6 +1399,18 @@ local icons_by_file_extension = {
13811399
cterm_color = "26",
13821400
name = "Tsx",
13831401
},
1402+
["test.tsx"] = {
1403+
icon = "",
1404+
color = "#1354bf",
1405+
cterm_color = "26",
1406+
name = "TypeScriptReactTest",
1407+
},
1408+
["spec.tsx"] = {
1409+
icon = "",
1410+
color = "#1354bf",
1411+
cterm_color = "26",
1412+
name = "TypeScriptReactSpec",
1413+
},
13841414
["twig"] = {
13851415
icon = "",
13861416
color = "#8dc149",

0 commit comments

Comments
 (0)