feat: add adwaita themes
This commit is contained in:
parent
63ee1e364e
commit
0386d791da
3 changed files with 8 additions and 0 deletions
|
|
@ -72,4 +72,6 @@ fn add_themes(b: *std.Build, exe: anytype) void {
|
|||
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");
|
||||
theme_file(b, exe, "adwaita", "themes/adwaita-dark.json");
|
||||
theme_file(b, exe, "adwaita", "themes/adwaita-light.json");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,6 +49,10 @@
|
|||
.url = "https://github.com/rose-pine/vscode/archive/5a6d89246d58316802bf5c54bb83d6654ff6a1c5.tar.gz",
|
||||
.hash = "122000c273023b1213dbc73bc1c144a7a6ef5879a30205ad1939589ddc4736a6d24e",
|
||||
},
|
||||
.theme_adwaita = .{
|
||||
.url = "https://github.com/piousdeer/vscode-adwaita/archive/5de82debcb101e5796b478e55dd382bd64be64f7.tar.gz",
|
||||
.hash = "1220c6227c698f27a09c20706a8c785c4123a943e3b953c1f50457496f54e725d55b",
|
||||
},
|
||||
},
|
||||
.paths = .{
|
||||
"build.zig",
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ pub const theme_files = [_]theme_file{
|
|||
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"),
|
||||
THEME("themes/adwaita-dark.json"),
|
||||
|
||||
// light themes
|
||||
|
||||
|
|
@ -54,6 +55,7 @@ pub const theme_files = [_]theme_file{
|
|||
THEME("ayu-light.json"),
|
||||
THEME("ayu-light-bordered.json"),
|
||||
THEME("themes/rose-pine-dawn-color-theme.json"),
|
||||
THEME("themes/adwaita-light.json"),
|
||||
};
|
||||
|
||||
fn THEME(comptime file_path: []const u8) theme_file {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue