Add catppuccin theme

This commit is contained in:
Cinition 2024-10-23 13:48:10 +02:00 committed by CJ van den Berg
parent 163188fc14
commit 08c07e21c4
3 changed files with 12 additions and 0 deletions

View file

@ -80,4 +80,8 @@ fn add_themes(b: *std.Build, exe: anytype) void {
theme_file(b, exe, "everforest", "themes/everforest-light.json"); theme_file(b, exe, "everforest", "themes/everforest-light.json");
theme_file(b, exe, "nord", "themes/nord-color-theme.json"); theme_file(b, exe, "nord", "themes/nord-color-theme.json");
theme_file(b, exe, "spacedust", "themes/Spacedust-color-theme.json"); theme_file(b, exe, "spacedust", "themes/Spacedust-color-theme.json");
theme_file(b, exe, "catppuccin", "frappe.json");
theme_file(b, exe, "catppuccin", "latte.json");
theme_file(b, exe, "catppuccin", "macchiato.json");
theme_file(b, exe, "catppuccin", "mocha.json");
} }

View file

@ -68,6 +68,10 @@
.theme_spacedust = .{ .theme_spacedust = .{
.url = "https://github.com/wallsified/Spacedust-VSCode/archive/160a0e266a369c336d5393c93decc078c636fc3d.tar.gz", .url = "https://github.com/wallsified/Spacedust-VSCode/archive/160a0e266a369c336d5393c93decc078c636fc3d.tar.gz",
.hash = "122027fbeddeabd06d699e81c408dadf17d60c5d538e13e7c69f2685ca63262a2bda", .hash = "122027fbeddeabd06d699e81c408dadf17d60c5d538e13e7c69f2685ca63262a2bda",
},
.theme_catppuccin = .{
.url = "https://github.com/catppuccin/vscode/archive/75805b74e052fe6673a1bdf3948bfa5b481edb7e.tar.gz",
.hash = "1220bee1c4901235e1653b324d2ee1bea69ee9c88d64a12f599aa31ad180cfef0857",
} }
}, },
.paths = .{ .paths = .{

View file

@ -43,6 +43,9 @@ pub const theme_files = [_]theme_file{
THEME("themes/everforest-dark.json"), THEME("themes/everforest-dark.json"),
THEME("themes/nord-color-theme.json"), THEME("themes/nord-color-theme.json"),
THEME("themes/Spacedust-color-theme.json"), THEME("themes/Spacedust-color-theme.json"),
THEME("frappe.json"),
THEME("macchiato.json"),
THEME("mocha.json"),
// light themes // light themes
@ -62,6 +65,7 @@ pub const theme_files = [_]theme_file{
THEME("themes/rose-pine-dawn-color-theme.json"), THEME("themes/rose-pine-dawn-color-theme.json"),
THEME("themes/adwaita-light.json"), THEME("themes/adwaita-light.json"),
THEME("themes/everforest-light.json"), THEME("themes/everforest-light.json"),
THEME("latte.json"),
}; };
fn THEME(comptime file_path: []const u8) theme_file { fn THEME(comptime file_path: []const u8) theme_file {