feat: add Rosé Pine themes
This commit is contained in:
parent
96d76e5a3c
commit
ecd690a090
3 changed files with 14 additions and 0 deletions
|
|
@ -67,4 +67,9 @@ fn add_themes(b: *std.Build, exe: anytype) void {
|
||||||
theme_file(b, exe, "ayu", "ayu-light.json");
|
theme_file(b, exe, "ayu", "ayu-light.json");
|
||||||
theme_file(b, exe, "ayu", "ayu-light-bordered.json");
|
theme_file(b, exe, "ayu", "ayu-light-bordered.json");
|
||||||
theme_file(b, exe, "onedark_pro", "themes/OneDark-Pro.json");
|
theme_file(b, exe, "onedark_pro", "themes/OneDark-Pro.json");
|
||||||
|
theme_file(b, exe, "rose_pine", "themes/rose-pine-color-theme.json");
|
||||||
|
theme_file(b, exe, "rose_pine", "themes/rose-pine-no-italics-color-theme.json");
|
||||||
|
theme_file(b, exe, "rose_pine", "themes/rose-pine-moon-color-theme.json");
|
||||||
|
theme_file(b, exe, "rose_pine", "themes/rose-pine-moon-no-italics-color-theme.json");
|
||||||
|
theme_file(b, exe, "rose_pine", "themes/rose-pine-dawn-color-theme.json");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,10 @@
|
||||||
.url = "https://github.com/Binaryify/OneDark-Pro/archive/2cb4ae735fc0482e0486b52cd873128eb5249900.tar.gz",
|
.url = "https://github.com/Binaryify/OneDark-Pro/archive/2cb4ae735fc0482e0486b52cd873128eb5249900.tar.gz",
|
||||||
.hash = "122046bbdd4b5a816d5324a8c6b78e4d70dc07cdafb113b2a118bcdfeb0f8531dc60",
|
.hash = "122046bbdd4b5a816d5324a8c6b78e4d70dc07cdafb113b2a118bcdfeb0f8531dc60",
|
||||||
},
|
},
|
||||||
|
.theme_rose_pine = .{
|
||||||
|
.url = "https://github.com/rose-pine/vscode/archive/5a6d89246d58316802bf5c54bb83d6654ff6a1c5.tar.gz",
|
||||||
|
.hash = "122000c273023b1213dbc73bc1c144a7a6ef5879a30205ad1939589ddc4736a6d24e",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
.paths = .{
|
.paths = .{
|
||||||
"build.zig",
|
"build.zig",
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,10 @@ pub const theme_files = [_]theme_file{
|
||||||
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/OneDark-Pro.json"),
|
THEME("themes/OneDark-Pro.json"),
|
||||||
|
THEME("themes/rose-pine-color-theme.json"),
|
||||||
|
THEME("themes/rose-pine-no-italics-color-theme.json"),
|
||||||
|
THEME("themes/rose-pine-moon-color-theme.json"),
|
||||||
|
THEME("themes/rose-pine-moon-no-italics-color-theme.json"),
|
||||||
|
|
||||||
// light themes
|
// light themes
|
||||||
|
|
||||||
|
|
@ -49,6 +53,7 @@ pub const theme_files = [_]theme_file{
|
||||||
THEME("themes/tokyo-night-light-color-theme.json"),
|
THEME("themes/tokyo-night-light-color-theme.json"),
|
||||||
THEME("ayu-light.json"),
|
THEME("ayu-light.json"),
|
||||||
THEME("ayu-light-bordered.json"),
|
THEME("ayu-light-bordered.json"),
|
||||||
|
THEME("themes/rose-pine-dawn-color-theme.json"),
|
||||||
};
|
};
|
||||||
|
|
||||||
fn THEME(comptime file_path: []const u8) theme_file {
|
fn THEME(comptime file_path: []const u8) theme_file {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue