diff --git a/build.zig b/build.zig index d0769eb..90b463f 100644 --- a/build.zig +++ b/build.zig @@ -66,4 +66,5 @@ fn add_themes(b: *std.Build, exe: anytype) void { theme_file(b, exe, "ayu", "ayu-mirage-bordered.json"); theme_file(b, exe, "ayu", "ayu-light.json"); theme_file(b, exe, "ayu", "ayu-light-bordered.json"); + theme_file(b, exe, "onedark_pro", "themes/OneDark-Pro.json"); } diff --git a/build.zig.zon b/build.zig.zon index 0db7096..4e874be 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -41,6 +41,10 @@ .url = "https://github.com/ayu-theme/vscode-ayu/archive/91839e8a9dfa78d61e58dbcf9b52272a01fee66a.tar.gz", .hash = "1220217a9a25d48cd61948f3455d08d4f64ed2c72e79f3257a9f28c746eb1432af27", }, + .theme_onedark_pro = .{ + .url = "https://github.com/Binaryify/OneDark-Pro/archive/2cb4ae735fc0482e0486b52cd873128eb5249900.tar.gz", + .hash = "122046bbdd4b5a816d5324a8c6b78e4d70dc07cdafb113b2a118bcdfeb0f8531dc60", + }, }, .paths = .{ "build.zig", diff --git a/src/theme_files.zig b/src/theme_files.zig index 15a675f..b104fad 100644 --- a/src/theme_files.zig +++ b/src/theme_files.zig @@ -33,6 +33,7 @@ pub const theme_files = [_]theme_file{ 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/OneDark-Pro.json"), // light themes