feat: add ayu themes

This commit is contained in:
CJ van den Berg 2024-02-19 10:20:06 +01:00
parent ab24c12c24
commit 42399273a9
4 changed files with 19 additions and 0 deletions

View file

@ -36,8 +36,15 @@ pub const theme_files = [_]theme_file{
THEME("themes/tokyo-night-storm-color-theme.json"),
THEME("themes/tokyo-night-color-theme.json"),
THEME("themes/tokyo-night-light-color-theme.json"),
THEME("ayu-dark.json"),
THEME("ayu-dark-bordered.json"),
THEME("ayu-mirage.json"),
THEME("ayu-mirage-bordered.json"),
THEME("ayu-light.json"),
THEME("ayu-light-bordered.json"),
};
fn THEME(comptime file_path: []const u8) theme_file {
@setEvalBranchQuota(2000);
return .{ .file_name = std.fs.path.basename(file_path), .json = @embedFile(file_path) };
}