From d49b4cddde8b33e5a4a60a42a424e836023feb74 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 4 Nov 2024 14:48:50 +0100 Subject: [PATCH] Update catppuccin theme --- build.zig | 8 ++++---- build.zig.zon | 4 ++-- src/theme_files.zig | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.zig b/build.zig index 99834f1..6bcd497 100644 --- a/build.zig +++ b/build.zig @@ -80,8 +80,8 @@ fn add_themes(b: *std.Build, exe: anytype) void { theme_file(b, exe, "everforest", "themes/everforest-light.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, "catppuccin", "frappe.json"); - theme_file(b, exe, "catppuccin", "latte.json"); - theme_file(b, exe, "catppuccin", "macchiato.json"); - theme_file(b, exe, "catppuccin", "mocha.json"); + theme_file(b, exe, "catppuccin", "themes/frappe.json"); + theme_file(b, exe, "catppuccin", "themes/latte.json"); + theme_file(b, exe, "catppuccin", "themes/macchiato.json"); + theme_file(b, exe, "catppuccin", "themes/mocha.json"); } diff --git a/build.zig.zon b/build.zig.zon index cd11963..99cab58 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -70,8 +70,8 @@ .hash = "122027fbeddeabd06d699e81c408dadf17d60c5d538e13e7c69f2685ca63262a2bda", }, .theme_catppuccin = .{ - .url = "https://github.com/catppuccin/vscode/archive/75805b74e052fe6673a1bdf3948bfa5b481edb7e.tar.gz", - .hash = "1220bee1c4901235e1653b324d2ee1bea69ee9c88d64a12f599aa31ad180cfef0857", + .url = "https://github.com/neurocyte/catppuccin-flow/releases/download/catppuccin-vsc-v3.15.2/vscode-3.15.2.tgz", + .hash = "122076748115e6aa1eb16fe79f525f48b62e5783af943026544806e15ecc711daa7e", } }, .paths = .{ diff --git a/src/theme_files.zig b/src/theme_files.zig index 1efbd3e..41e28c6 100644 --- a/src/theme_files.zig +++ b/src/theme_files.zig @@ -43,9 +43,9 @@ pub const theme_files = [_]theme_file{ THEME("themes/everforest-dark.json"), THEME("themes/nord-color-theme.json"), THEME("themes/Spacedust-color-theme.json"), - THEME("frappe.json"), - THEME("macchiato.json"), - THEME("mocha.json"), + THEME("themes/frappe.json"), + THEME("themes/macchiato.json"), + THEME("themes/mocha.json"), // light themes @@ -65,7 +65,7 @@ pub const theme_files = [_]theme_file{ THEME("themes/rose-pine-dawn-color-theme.json"), THEME("themes/adwaita-light.json"), THEME("themes/everforest-light.json"), - THEME("latte.json"), + THEME("themes/latte.json"), }; fn THEME(comptime file_path: []const u8) theme_file {