Skip to content

Commit b95bf20

Browse files
Merge pull request #21 from claytercek/main
Fix predictive/placeholder text color, update readme
2 parents bb980c8 + 994bdfd commit b95bf20

File tree

8 files changed

+49
-6
lines changed

8 files changed

+49
-6
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1-
# GitHub's Zed themes
1+
# GitHub Zed Themes
22

3-
Project inspired on [GitHub's VS Code theme](https://github.com/primer/github-vscode-theme).
3+
Project inspired on [GitHub's VS Code theme](https://github.com/primer/github-vscode-theme). Generated from [Primer's Primitives](https://primer.style/primitives/).
4+
5+
### Light
46

57
![Light Theme](./art/light.png)
68

9+
### Light High Contrast
10+
11+
![Light High Contrast Theme](./art/light_contrast.png)
12+
13+
### Dark
14+
715
![Dark Theme](./art/dark.png)
816

17+
### Dark Dimmed
18+
19+
![Dark Dimmed Theme](./art/dark_dimmed.png)
20+
21+
### Dark High Contrast
22+
23+
![Dark High Contrast Theme](./art/dark_contrast.png)
24+
925
## Installation
1026

1127
1. Open `Command Palette`

art/dark.png

-480 KB
Loading

art/dark_contrast.png

414 KB
Loading

art/dark_dimmed.png

415 KB
Loading

art/light.png

-474 KB
Loading

art/light_contrast.png

422 KB
Loading

src/theme.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function getTheme({ themeKey, name, type }) {
128128
"icon.accent": tokens['fgColor/accent'],
129129
"icon.muted": tokens['fgColor/muted'],
130130
"icon.disabled": tokens['fgColor/disabled'],
131-
"icon.placeholder": tokens['fgColor/fgColor/placeholder'],
131+
"icon.placeholder": tokens['fgColor/fgColor/muted'],
132132

133133
"ignored": tokens['fgColor/muted'],
134134
"ignored.background": tokens['bgColor/disabled'],
@@ -148,7 +148,7 @@ export function getTheme({ themeKey, name, type }) {
148148
"panel.background": tokens['bgColor/inset'],
149149
"panel.focused_border": tokens['borderColor/default'],
150150

151-
"predictive": tokens['fgColor/placeholder'],
151+
"predictive": tokens['fgColor/muted'],
152152
"predictive.background": tokens['bgColor/neutral-muted'],
153153
"predictive.border": tokens['borderColor/neutral-muted'],
154154

@@ -210,7 +210,7 @@ export function getTheme({ themeKey, name, type }) {
210210
"text.accent": tokens['fgColor/accent'],
211211
"text.disabled": tokens['fgColor/disabled'],
212212
"text.muted": tokens['fgColor/default'],
213-
"text.placeholder": tokens['fgColor/placeholder'],
213+
"text.placeholder": tokens['fgColor/muted'],
214214

215215
"title_bar.background": tokens['bgColor/inset'],
216216
"toolbar.background": tokens['bgColor/default'],
@@ -341,7 +341,7 @@ export function getTheme({ themeKey, name, type }) {
341341
"font_weight": null
342342
},
343343
"predictive": {
344-
"color": tokens["fgColor/placeholder"],
344+
"color": tokens["fgColor/muted"],
345345
"font_style": "italic",
346346
"font_weight": null
347347
},

themes/github_theme.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"pane.focused_border": "#d1d9e0ff",
7777
"panel.background": "#f6f8faff",
7878
"panel.focused_border": "#d1d9e0ff",
79+
"predictive": "#59636eff",
7980
"predictive.background": "#818b981f",
8081
"predictive.border": "#d1d9e0b3",
8182
"renamed": "#1a7f37ff",
@@ -126,6 +127,7 @@
126127
"text.accent": "#0969daff",
127128
"text.disabled": "#818b98ff",
128129
"text.muted": "#1f2328ff",
130+
"text.placeholder": "#59636eff",
129131
"title_bar.background": "#f6f8faff",
130132
"toolbar.background": "#ffffffff",
131133
"unreachable": "#818b98ff",
@@ -278,6 +280,7 @@
278280
"font_weight": null
279281
},
280282
"predictive": {
283+
"color": "#59636eff",
281284
"font_style": "italic",
282285
"font_weight": null
283286
},
@@ -457,6 +460,7 @@
457460
"pane.focused_border": "#d1d9e0ff",
458461
"panel.background": "#f6f8faff",
459462
"panel.focused_border": "#d1d9e0ff",
463+
"predictive": "#59636eff",
460464
"predictive.background": "#818b981f",
461465
"predictive.border": "#d1d9e0b3",
462466
"renamed": "#0969daff",
@@ -507,6 +511,7 @@
507511
"text.accent": "#0969daff",
508512
"text.disabled": "#818b98ff",
509513
"text.muted": "#1f2328ff",
514+
"text.placeholder": "#59636eff",
510515
"title_bar.background": "#f6f8faff",
511516
"toolbar.background": "#ffffffff",
512517
"unreachable": "#818b98ff",
@@ -659,6 +664,7 @@
659664
"font_weight": null
660665
},
661666
"predictive": {
667+
"color": "#59636eff",
662668
"font_style": "italic",
663669
"font_weight": null
664670
},
@@ -838,6 +844,7 @@
838844
"pane.focused_border": "#454c54ff",
839845
"panel.background": "#eff2f5ff",
840846
"panel.focused_border": "#454c54ff",
847+
"predictive": "#454c54ff",
841848
"predictive.background": "#e0e6ebff",
842849
"predictive.border": "#454c54ff",
843850
"renamed": "#024c1aff",
@@ -888,6 +895,7 @@
888895
"text.accent": "#023b95ff",
889896
"text.disabled": "#59636eff",
890897
"text.muted": "#010409ff",
898+
"text.placeholder": "#454c54ff",
891899
"title_bar.background": "#eff2f5ff",
892900
"toolbar.background": "#ffffffff",
893901
"unreachable": "#59636eff",
@@ -1040,6 +1048,7 @@
10401048
"font_weight": null
10411049
},
10421050
"predictive": {
1051+
"color": "#454c54ff",
10431052
"font_style": "italic",
10441053
"font_weight": null
10451054
},
@@ -1219,6 +1228,7 @@
12191228
"pane.focused_border": "#d1d9e0ff",
12201229
"panel.background": "#f6f8faff",
12211230
"panel.focused_border": "#d1d9e0ff",
1231+
"predictive": "#59636eff",
12221232
"predictive.background": "#818b981f",
12231233
"predictive.border": "#d1d9e0b3",
12241234
"renamed": "#0969daff",
@@ -1269,6 +1279,7 @@
12691279
"text.accent": "#0969daff",
12701280
"text.disabled": "#818b98ff",
12711281
"text.muted": "#1f2328ff",
1282+
"text.placeholder": "#59636eff",
12721283
"title_bar.background": "#f6f8faff",
12731284
"toolbar.background": "#ffffffff",
12741285
"unreachable": "#818b98ff",
@@ -1421,6 +1432,7 @@
14211432
"font_weight": null
14221433
},
14231434
"predictive": {
1435+
"color": "#59636eff",
14241436
"font_style": "italic",
14251437
"font_weight": null
14261438
},
@@ -1600,6 +1612,7 @@
16001612
"pane.focused_border": "#3d444dff",
16011613
"panel.background": "#010409ff",
16021614
"panel.focused_border": "#3d444dff",
1615+
"predictive": "#9198a1ff",
16031616
"predictive.background": "#656c7633",
16041617
"predictive.border": "#3d444db3",
16051618
"renamed": "#3fb950ff",
@@ -1650,6 +1663,7 @@
16501663
"text.accent": "#4493f8ff",
16511664
"text.disabled": "#656c7699",
16521665
"text.muted": "#f0f6fcff",
1666+
"text.placeholder": "#9198a1ff",
16531667
"title_bar.background": "#010409ff",
16541668
"toolbar.background": "#0d1117ff",
16551669
"unreachable": "#656c7699",
@@ -1802,6 +1816,7 @@
18021816
"font_weight": null
18031817
},
18041818
"predictive": {
1819+
"color": "#9198a1ff",
18051820
"font_style": "italic",
18061821
"font_weight": null
18071822
},
@@ -1981,6 +1996,7 @@
19811996
"pane.focused_border": "#3d444dff",
19821997
"panel.background": "#010409ff",
19831998
"panel.focused_border": "#3d444dff",
1999+
"predictive": "#9198a1ff",
19842000
"predictive.background": "#656c7633",
19852001
"predictive.border": "#3d444db3",
19862002
"renamed": "#58a6ffff",
@@ -2031,6 +2047,7 @@
20312047
"text.accent": "#4493f8ff",
20322048
"text.disabled": "#656c7699",
20332049
"text.muted": "#f0f6fcff",
2050+
"text.placeholder": "#9198a1ff",
20342051
"title_bar.background": "#010409ff",
20352052
"toolbar.background": "#0d1117ff",
20362053
"unreachable": "#656c7699",
@@ -2183,6 +2200,7 @@
21832200
"font_weight": null
21842201
},
21852202
"predictive": {
2203+
"color": "#9198a1ff",
21862204
"font_style": "italic",
21872205
"font_weight": null
21882206
},
@@ -2362,6 +2380,7 @@
23622380
"pane.focused_border": "#b7bdc8ff",
23632381
"panel.background": "#010409ff",
23642382
"panel.focused_border": "#b7bdc8ff",
2383+
"predictive": "#b7bdc8ff",
23652384
"predictive.background": "#212830ff",
23662385
"predictive.border": "#b7bdc8ff",
23672386
"renamed": "#2bd853ff",
@@ -2412,6 +2431,7 @@
24122431
"text.accent": "#74b9ffff",
24132432
"text.disabled": "#9198a199",
24142433
"text.muted": "#ffffffff",
2434+
"text.placeholder": "#b7bdc8ff",
24152435
"title_bar.background": "#010409ff",
24162436
"toolbar.background": "#010409ff",
24172437
"unreachable": "#9198a199",
@@ -2564,6 +2584,7 @@
25642584
"font_weight": null
25652585
},
25662586
"predictive": {
2587+
"color": "#b7bdc8ff",
25672588
"font_style": "italic",
25682589
"font_weight": null
25692590
},
@@ -2743,6 +2764,7 @@
27432764
"pane.focused_border": "#3d444dff",
27442765
"panel.background": "#010409ff",
27452766
"panel.focused_border": "#3d444dff",
2767+
"predictive": "#9198a1ff",
27462768
"predictive.background": "#656c7633",
27472769
"predictive.border": "#3d444db3",
27482770
"renamed": "#58a6ffff",
@@ -2793,6 +2815,7 @@
27932815
"text.accent": "#4493f8ff",
27942816
"text.disabled": "#656c7699",
27952817
"text.muted": "#f0f6fcff",
2818+
"text.placeholder": "#9198a1ff",
27962819
"title_bar.background": "#010409ff",
27972820
"toolbar.background": "#0d1117ff",
27982821
"unreachable": "#656c7699",
@@ -2945,6 +2968,7 @@
29452968
"font_weight": null
29462969
},
29472970
"predictive": {
2971+
"color": "#9198a1ff",
29482972
"font_style": "italic",
29492973
"font_weight": null
29502974
},
@@ -3124,6 +3148,7 @@
31243148
"pane.focused_border": "#3d444dff",
31253149
"panel.background": "#151b23ff",
31263150
"panel.focused_border": "#3d444dff",
3151+
"predictive": "#9198a1ff",
31273152
"predictive.background": "#656c7633",
31283153
"predictive.border": "#3d444db3",
31293154
"renamed": "#57ab5aff",
@@ -3174,6 +3199,7 @@
31743199
"text.accent": "#478be6ff",
31753200
"text.disabled": "#656c76ff",
31763201
"text.muted": "#d1d7e0ff",
3202+
"text.placeholder": "#9198a1ff",
31773203
"title_bar.background": "#151b23ff",
31783204
"toolbar.background": "#212830ff",
31793205
"unreachable": "#656c76ff",
@@ -3326,6 +3352,7 @@
33263352
"font_weight": null
33273353
},
33283354
"predictive": {
3355+
"color": "#9198a1ff",
33293356
"font_style": "italic",
33303357
"font_weight": null
33313358
},

0 commit comments

Comments
 (0)