Skip to content

Commit b96a09b

Browse files
committed
improve terminal and file tree readability
1 parent e035f4e commit b96a09b

File tree

2 files changed

+71
-40
lines changed

2 files changed

+71
-40
lines changed

src/theme.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ export function getTheme({ themeKey, name, type }) {
7878
"ghost_element.hover": tokens['bgColor/default'],
7979
"ghost_element.selected": tokens['bgColor/neutral-muted'],
8080

81+
"hidden": tokens['fgColor/disabled'],
82+
"hidden.background": tokens['bgColor/disabled'],
83+
"hidden.border": tokens['borderColor/disabled'],
84+
8185
"hint": tokens['fgColor/muted'],
8286
"hint.background": tokens['bgColor/muted'],
8387
"hint.border": tokens['borderColor/muted'],
@@ -90,7 +94,7 @@ export function getTheme({ themeKey, name, type }) {
9094
"icon.disabled": tokens['fgColor/disabled'],
9195
"icon.placeholder": tokens['fgColor/fgColor/placeholder'],
9296

93-
"ignored": tokens['fgColor/disabled'],
97+
"ignored": tokens['fgColor/muted'],
9498
"ignored.background": tokens['bgColor/disabled'],
9599
"ignored.border": tokens['borderColor/disabled'],
96100

@@ -163,13 +167,13 @@ export function getTheme({ themeKey, name, type }) {
163167

164168
"terminal.background": tokens['bgColor/inset'],
165169
"terminal.bright_foreground": tokens['fgColor/onEmphasis'],
166-
"terminal.dim_foreground": tokens['fgColor/default'],
167-
"terminal.foreground": tokens['fgColor/muted'],
170+
"terminal.dim_foreground": tokens['fgColor/muted'],
171+
"terminal.foreground": tokens['fgColor/default'],
168172

169173
"text": tokens['fgColor/default'],
170174
"text.accent": tokens['fgColor/accent'],
171175
"text.disabled": tokens['fgColor/disabled'],
172-
"text.muted": tokens['fgColor/muted'],
176+
"text.muted": tokens['fgColor/default'],
173177
"text.placeholder": tokens['fgColor/placeholder'],
174178

175179
"title_bar.background": tokens['bgColor/inset'],

themes/github_theme.json

Lines changed: 63 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
"ghost_element.disabled": "#eff2f5ff",
5353
"ghost_element.hover": "#ffffffff",
5454
"ghost_element.selected": "#818b981f",
55+
"hidden": "#818b98ff",
56+
"hidden.background": "#eff2f5ff",
57+
"hidden.border": "#818b981a",
5558
"hint": "#59636eff",
5659
"hint.background": "#f6f8faff",
5760
"hint.border": "#d1d9e0b3",
@@ -61,7 +64,7 @@
6164
"icon.accent": "#0969daff",
6265
"icon.muted": "#59636eff",
6366
"icon.disabled": "#818b98ff",
64-
"ignored": "#818b98ff",
67+
"ignored": "#59636eff",
6568
"ignored.background": "#eff2f5ff",
6669
"ignored.border": "#818b981a",
6770
"info": "#9a6700ff",
@@ -118,12 +121,12 @@
118121
"terminal.ansi.dim_yellow": "#4d2d00ff",
119122
"terminal.background": "#f6f8faff",
120123
"terminal.bright_foreground": "#ffffffff",
121-
"terminal.dim_foreground": "#1f2328ff",
122-
"terminal.foreground": "#59636eff",
124+
"terminal.dim_foreground": "#59636eff",
125+
"terminal.foreground": "#1f2328ff",
123126
"text": "#1f2328ff",
124127
"text.accent": "#0969daff",
125128
"text.disabled": "#818b98ff",
126-
"text.muted": "#59636eff",
129+
"text.muted": "#1f2328ff",
127130
"title_bar.background": "#f6f8faff",
128131
"toolbar.background": "#ffffffff",
129132
"unreachable": "#818b98ff",
@@ -423,6 +426,9 @@
423426
"ghost_element.disabled": "#eff2f5ff",
424427
"ghost_element.hover": "#ffffffff",
425428
"ghost_element.selected": "#818b981f",
429+
"hidden": "#818b98ff",
430+
"hidden.background": "#eff2f5ff",
431+
"hidden.border": "#818b981a",
426432
"hint": "#59636eff",
427433
"hint.background": "#f6f8faff",
428434
"hint.border": "#d1d9e0b3",
@@ -432,7 +438,7 @@
432438
"icon.accent": "#0969daff",
433439
"icon.muted": "#59636eff",
434440
"icon.disabled": "#818b98ff",
435-
"ignored": "#818b98ff",
441+
"ignored": "#59636eff",
436442
"ignored.background": "#eff2f5ff",
437443
"ignored.border": "#818b981a",
438444
"info": "#9a6700ff",
@@ -489,12 +495,12 @@
489495
"terminal.ansi.dim_yellow": "#4d2d00ff",
490496
"terminal.background": "#f6f8faff",
491497
"terminal.bright_foreground": "#ffffffff",
492-
"terminal.dim_foreground": "#1f2328ff",
493-
"terminal.foreground": "#59636eff",
498+
"terminal.dim_foreground": "#59636eff",
499+
"terminal.foreground": "#1f2328ff",
494500
"text": "#1f2328ff",
495501
"text.accent": "#0969daff",
496502
"text.disabled": "#818b98ff",
497-
"text.muted": "#59636eff",
503+
"text.muted": "#1f2328ff",
498504
"title_bar.background": "#f6f8faff",
499505
"toolbar.background": "#ffffffff",
500506
"unreachable": "#818b98ff",
@@ -794,6 +800,9 @@
794800
"ghost_element.disabled": "#e0e6ebff",
795801
"ghost_element.hover": "#ffffffff",
796802
"ghost_element.selected": "#e0e6ebff",
803+
"hidden": "#59636eff",
804+
"hidden.background": "#e0e6ebff",
805+
"hidden.border": "#59636e1f",
797806
"hint": "#454c54ff",
798807
"hint.background": "#e6eaefff",
799808
"hint.border": "#454c54ff",
@@ -803,7 +812,7 @@
803812
"icon.accent": "#023b95ff",
804813
"icon.muted": "#454c54ff",
805814
"icon.disabled": "#59636eff",
806-
"ignored": "#59636eff",
815+
"ignored": "#454c54ff",
807816
"ignored.background": "#e0e6ebff",
808817
"ignored.border": "#59636e1f",
809818
"info": "#603700ff",
@@ -860,12 +869,12 @@
860869
"terminal.ansi.dim_yellow": "#3f2200ff",
861870
"terminal.background": "#eff2f5ff",
862871
"terminal.bright_foreground": "#ffffffff",
863-
"terminal.dim_foreground": "#010409ff",
864-
"terminal.foreground": "#454c54ff",
872+
"terminal.dim_foreground": "#454c54ff",
873+
"terminal.foreground": "#010409ff",
865874
"text": "#010409ff",
866875
"text.accent": "#023b95ff",
867876
"text.disabled": "#59636eff",
868-
"text.muted": "#454c54ff",
877+
"text.muted": "#010409ff",
869878
"title_bar.background": "#eff2f5ff",
870879
"toolbar.background": "#ffffffff",
871880
"unreachable": "#59636eff",
@@ -1165,6 +1174,9 @@
11651174
"ghost_element.disabled": "#eff2f5ff",
11661175
"ghost_element.hover": "#ffffffff",
11671176
"ghost_element.selected": "#818b981f",
1177+
"hidden": "#818b98ff",
1178+
"hidden.background": "#eff2f5ff",
1179+
"hidden.border": "#818b981a",
11681180
"hint": "#59636eff",
11691181
"hint.background": "#f6f8faff",
11701182
"hint.border": "#d1d9e0b3",
@@ -1174,7 +1186,7 @@
11741186
"icon.accent": "#0969daff",
11751187
"icon.muted": "#59636eff",
11761188
"icon.disabled": "#818b98ff",
1177-
"ignored": "#818b98ff",
1189+
"ignored": "#59636eff",
11781190
"ignored.background": "#eff2f5ff",
11791191
"ignored.border": "#818b981a",
11801192
"info": "#9a6700ff",
@@ -1231,12 +1243,12 @@
12311243
"terminal.ansi.dim_yellow": "#4d2d00ff",
12321244
"terminal.background": "#f6f8faff",
12331245
"terminal.bright_foreground": "#ffffffff",
1234-
"terminal.dim_foreground": "#1f2328ff",
1235-
"terminal.foreground": "#59636eff",
1246+
"terminal.dim_foreground": "#59636eff",
1247+
"terminal.foreground": "#1f2328ff",
12361248
"text": "#1f2328ff",
12371249
"text.accent": "#0969daff",
12381250
"text.disabled": "#818b98ff",
1239-
"text.muted": "#59636eff",
1251+
"text.muted": "#1f2328ff",
12401252
"title_bar.background": "#f6f8faff",
12411253
"toolbar.background": "#ffffffff",
12421254
"unreachable": "#818b98ff",
@@ -1536,6 +1548,9 @@
15361548
"ghost_element.disabled": "#212830ff",
15371549
"ghost_element.hover": "#0d1117ff",
15381550
"ghost_element.selected": "#656c7633",
1551+
"hidden": "#656c7699",
1552+
"hidden.background": "#212830ff",
1553+
"hidden.border": "#656c761a",
15391554
"hint": "#9198a1ff",
15401555
"hint.background": "#151b23ff",
15411556
"hint.border": "#3d444db3",
@@ -1545,7 +1560,7 @@
15451560
"icon.accent": "#4493f8ff",
15461561
"icon.muted": "#9198a1ff",
15471562
"icon.disabled": "#656c7699",
1548-
"ignored": "#656c7699",
1563+
"ignored": "#9198a1ff",
15491564
"ignored.background": "#212830ff",
15501565
"ignored.border": "#656c761a",
15511566
"info": "#d29922ff",
@@ -1602,12 +1617,12 @@
16021617
"terminal.ansi.dim_yellow": "#d29922ff",
16031618
"terminal.background": "#010409ff",
16041619
"terminal.bright_foreground": "#ffffffff",
1605-
"terminal.dim_foreground": "#f0f6fcff",
1606-
"terminal.foreground": "#9198a1ff",
1620+
"terminal.dim_foreground": "#9198a1ff",
1621+
"terminal.foreground": "#f0f6fcff",
16071622
"text": "#f0f6fcff",
16081623
"text.accent": "#4493f8ff",
16091624
"text.disabled": "#656c7699",
1610-
"text.muted": "#9198a1ff",
1625+
"text.muted": "#f0f6fcff",
16111626
"title_bar.background": "#010409ff",
16121627
"toolbar.background": "#0d1117ff",
16131628
"unreachable": "#656c7699",
@@ -1907,6 +1922,9 @@
19071922
"ghost_element.disabled": "#212830ff",
19081923
"ghost_element.hover": "#0d1117ff",
19091924
"ghost_element.selected": "#656c7633",
1925+
"hidden": "#656c7699",
1926+
"hidden.background": "#212830ff",
1927+
"hidden.border": "#656c761a",
19101928
"hint": "#9198a1ff",
19111929
"hint.background": "#151b23ff",
19121930
"hint.border": "#3d444db3",
@@ -1916,7 +1934,7 @@
19161934
"icon.accent": "#4493f8ff",
19171935
"icon.muted": "#9198a1ff",
19181936
"icon.disabled": "#656c7699",
1919-
"ignored": "#656c7699",
1937+
"ignored": "#9198a1ff",
19201938
"ignored.background": "#212830ff",
19211939
"ignored.border": "#656c761a",
19221940
"info": "#d29922ff",
@@ -1973,12 +1991,12 @@
19731991
"terminal.ansi.dim_yellow": "#d29922ff",
19741992
"terminal.background": "#010409ff",
19751993
"terminal.bright_foreground": "#ffffffff",
1976-
"terminal.dim_foreground": "#f0f6fcff",
1977-
"terminal.foreground": "#9198a1ff",
1994+
"terminal.dim_foreground": "#9198a1ff",
1995+
"terminal.foreground": "#f0f6fcff",
19781996
"text": "#f0f6fcff",
19791997
"text.accent": "#4493f8ff",
19801998
"text.disabled": "#656c7699",
1981-
"text.muted": "#9198a1ff",
1999+
"text.muted": "#f0f6fcff",
19822000
"title_bar.background": "#010409ff",
19832001
"toolbar.background": "#0d1117ff",
19842002
"unreachable": "#656c7699",
@@ -2278,6 +2296,9 @@
22782296
"ghost_element.disabled": "#262c36ff",
22792297
"ghost_element.hover": "#010409ff",
22802298
"ghost_element.selected": "#212830ff",
2299+
"hidden": "#9198a199",
2300+
"hidden.background": "#262c36ff",
2301+
"hidden.border": "#9198a11f",
22812302
"hint": "#b7bdc8ff",
22822303
"hint.background": "#151b23ff",
22832304
"hint.border": "#b7bdc8ff",
@@ -2287,7 +2308,7 @@
22872308
"icon.accent": "#74b9ffff",
22882309
"icon.muted": "#b7bdc8ff",
22892310
"icon.disabled": "#9198a199",
2290-
"ignored": "#9198a199",
2311+
"ignored": "#b7bdc8ff",
22912312
"ignored.background": "#262c36ff",
22922313
"ignored.border": "#9198a11f",
22932314
"info": "#f0b72fff",
@@ -2344,12 +2365,12 @@
23442365
"terminal.ansi.dim_yellow": "#f0b72fff",
23452366
"terminal.background": "#010409ff",
23462367
"terminal.bright_foreground": "#ffffffff",
2347-
"terminal.dim_foreground": "#ffffffff",
2348-
"terminal.foreground": "#b7bdc8ff",
2368+
"terminal.dim_foreground": "#b7bdc8ff",
2369+
"terminal.foreground": "#ffffffff",
23492370
"text": "#ffffffff",
23502371
"text.accent": "#74b9ffff",
23512372
"text.disabled": "#9198a199",
2352-
"text.muted": "#b7bdc8ff",
2373+
"text.muted": "#ffffffff",
23532374
"title_bar.background": "#010409ff",
23542375
"toolbar.background": "#010409ff",
23552376
"unreachable": "#9198a199",
@@ -2649,6 +2670,9 @@
26492670
"ghost_element.disabled": "#212830ff",
26502671
"ghost_element.hover": "#0d1117ff",
26512672
"ghost_element.selected": "#656c7633",
2673+
"hidden": "#656c7699",
2674+
"hidden.background": "#212830ff",
2675+
"hidden.border": "#656c761a",
26522676
"hint": "#9198a1ff",
26532677
"hint.background": "#151b23ff",
26542678
"hint.border": "#3d444db3",
@@ -2658,7 +2682,7 @@
26582682
"icon.accent": "#4493f8ff",
26592683
"icon.muted": "#9198a1ff",
26602684
"icon.disabled": "#656c7699",
2661-
"ignored": "#656c7699",
2685+
"ignored": "#9198a1ff",
26622686
"ignored.background": "#212830ff",
26632687
"ignored.border": "#656c761a",
26642688
"info": "#d29922ff",
@@ -2715,12 +2739,12 @@
27152739
"terminal.ansi.dim_yellow": "#d29922ff",
27162740
"terminal.background": "#010409ff",
27172741
"terminal.bright_foreground": "#ffffffff",
2718-
"terminal.dim_foreground": "#f0f6fcff",
2719-
"terminal.foreground": "#9198a1ff",
2742+
"terminal.dim_foreground": "#9198a1ff",
2743+
"terminal.foreground": "#f0f6fcff",
27202744
"text": "#f0f6fcff",
27212745
"text.accent": "#4493f8ff",
27222746
"text.disabled": "#656c7699",
2723-
"text.muted": "#9198a1ff",
2747+
"text.muted": "#f0f6fcff",
27242748
"title_bar.background": "#010409ff",
27252749
"toolbar.background": "#0d1117ff",
27262750
"unreachable": "#656c7699",
@@ -3020,6 +3044,9 @@
30203044
"ghost_element.disabled": "#2a313cff",
30213045
"ghost_element.hover": "#212830ff",
30223046
"ghost_element.selected": "#656c7633",
3047+
"hidden": "#656c76ff",
3048+
"hidden.background": "#2a313cff",
3049+
"hidden.border": "#656c761a",
30233050
"hint": "#9198a1ff",
30243051
"hint.background": "#262c36ff",
30253052
"hint.border": "#3d444db3",
@@ -3029,7 +3056,7 @@
30293056
"icon.accent": "#478be6ff",
30303057
"icon.muted": "#9198a1ff",
30313058
"icon.disabled": "#656c76ff",
3032-
"ignored": "#656c76ff",
3059+
"ignored": "#9198a1ff",
30333060
"ignored.background": "#2a313cff",
30343061
"ignored.border": "#656c761a",
30353062
"info": "#c69026ff",
@@ -3086,12 +3113,12 @@
30863113
"terminal.ansi.dim_yellow": "#c69026ff",
30873114
"terminal.background": "#151b23ff",
30883115
"terminal.bright_foreground": "#f0f6fcff",
3089-
"terminal.dim_foreground": "#d1d7e0ff",
3090-
"terminal.foreground": "#9198a1ff",
3116+
"terminal.dim_foreground": "#9198a1ff",
3117+
"terminal.foreground": "#d1d7e0ff",
30913118
"text": "#d1d7e0ff",
30923119
"text.accent": "#478be6ff",
30933120
"text.disabled": "#656c76ff",
3094-
"text.muted": "#9198a1ff",
3121+
"text.muted": "#d1d7e0ff",
30953122
"title_bar.background": "#151b23ff",
30963123
"toolbar.background": "#212830ff",
30973124
"unreachable": "#656c76ff",

0 commit comments

Comments
 (0)