Skip to content

Commit

Permalink
feat: add gruvbox themes
Browse files Browse the repository at this point in the history
  • Loading branch information
neurocyte committed Feb 8, 2024
1 parent f821a41 commit d268baa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,10 @@ fn add_themes(b: *std.Build, exe: anytype) void {
theme_file(b, exe, "CRT", "themes/CRT-Gray-color-theme.json");
theme_file(b, exe, "CRT", "themes/CRT-Green-color-theme.json");
theme_file(b, exe, "CRT", "themes/CRT-Paper-color-theme.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-dark-hard.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-dark-medium.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-dark-soft.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-light-hard.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-light-medium.json");
theme_file(b, exe, "gruvbox", "themes/gruvbox-light-soft.json");
}
4 changes: 4 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
.url = "https://github.com/neurocyte/crt-themes/releases/download/master-4705c3761dd0fbc3b5ae85f1c39f0e9fe8f6ce5a/crt-themes.tar.gz",
.hash = "1220da8b8fe19481e05ca1678a97656532bfbba69b898d215d879e7f2b28fb903783",
},
.theme_gruvbox = .{
.url = "https://github.com/jdinhify/vscode-theme-gruvbox/archive/b1b9837e6747e040b69c7d46e502286bb0f257f7.tar.gz",
.hash = "1220fcaf3181a354ee8a1413f3a15d2a1842e1377a95f636d4f26602d5bb38e45f00",
},
},
.paths = .{
"build.zig",
Expand Down
6 changes: 6 additions & 0 deletions src/theme_files.zig
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ pub const theme_files = [_]theme_file{
THEME("themes/CRT-Amber-color-theme.json"),
THEME("themes/CRT-Gray-color-theme.json"),
THEME("themes/CRT-Green-color-theme.json"),
THEME("themes/gruvbox-dark-hard.json"),
THEME("themes/gruvbox-dark-medium.json"),
THEME("themes/gruvbox-dark-soft.json"),
THEME("extensions/theme-defaults/themes/dark_vs.json"),
THEME("extensions/theme-defaults/themes/dark_plus.json"),
THEME("extensions/theme-defaults/themes/dark_modern.json"),
THEME("themes/1984-light-color-theme.json"),
THEME("extensions/theme-solarized-light/themes/solarized-light-color-theme.json"),
THEME("themes/CRT-Paper-color-theme.json"),
THEME("themes/gruvbox-light-hard.json"),
THEME("themes/gruvbox-light-medium.json"),
THEME("themes/gruvbox-light-soft.json"),
THEME("extensions/theme-defaults/themes/light_vs.json"),
THEME("extensions/theme-defaults/themes/light_plus.json"),
THEME("extensions/theme-defaults/themes/light_modern.json"),
Expand Down

0 comments on commit d268baa

Please sign in to comment.