feat: add gruvbox themes

This commit is contained in:
CJ van den Berg 2024-02-08 18:10:46 +01:00
parent f821a416aa
commit d268baa972
3 changed files with 16 additions and 0 deletions

View file

@ -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-Gray-color-theme.json");
theme_file(b, exe, "CRT", "themes/CRT-Green-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, "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");
} }

View file

@ -29,6 +29,10 @@
.url = "https://github.com/neurocyte/crt-themes/releases/download/master-4705c3761dd0fbc3b5ae85f1c39f0e9fe8f6ce5a/crt-themes.tar.gz", .url = "https://github.com/neurocyte/crt-themes/releases/download/master-4705c3761dd0fbc3b5ae85f1c39f0e9fe8f6ce5a/crt-themes.tar.gz",
.hash = "1220da8b8fe19481e05ca1678a97656532bfbba69b898d215d879e7f2b28fb903783", .hash = "1220da8b8fe19481e05ca1678a97656532bfbba69b898d215d879e7f2b28fb903783",
}, },
.theme_gruvbox = .{
.url = "https://github.com/jdinhify/vscode-theme-gruvbox/archive/b1b9837e6747e040b69c7d46e502286bb0f257f7.tar.gz",
.hash = "1220fcaf3181a354ee8a1413f3a15d2a1842e1377a95f636d4f26602d5bb38e45f00",
},
}, },
.paths = .{ .paths = .{
"build.zig", "build.zig",

View file

@ -18,12 +18,18 @@ pub const theme_files = [_]theme_file{
THEME("themes/CRT-Amber-color-theme.json"), THEME("themes/CRT-Amber-color-theme.json"),
THEME("themes/CRT-Gray-color-theme.json"), THEME("themes/CRT-Gray-color-theme.json"),
THEME("themes/CRT-Green-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_vs.json"),
THEME("extensions/theme-defaults/themes/dark_plus.json"), THEME("extensions/theme-defaults/themes/dark_plus.json"),
THEME("extensions/theme-defaults/themes/dark_modern.json"), THEME("extensions/theme-defaults/themes/dark_modern.json"),
THEME("themes/1984-light-color-theme.json"), THEME("themes/1984-light-color-theme.json"),
THEME("extensions/theme-solarized-light/themes/solarized-light-color-theme.json"), THEME("extensions/theme-solarized-light/themes/solarized-light-color-theme.json"),
THEME("themes/CRT-Paper-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_vs.json"),
THEME("extensions/theme-defaults/themes/light_plus.json"), THEME("extensions/theme-defaults/themes/light_plus.json"),
THEME("extensions/theme-defaults/themes/light_modern.json"), THEME("extensions/theme-defaults/themes/light_modern.json"),