Skip to content

Commit

Permalink
fix: sort themes back into dark and light sections
Browse files Browse the repository at this point in the history
  • Loading branch information
neurocyte committed Feb 19, 2024
1 parent 4239927 commit 9ee6d7b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/theme_files.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ const std = @import("std");
pub const theme_file = struct { file_name: []const u8, json: []const u8, cbor: ?[]const u8 = null };

pub const theme_files = [_]theme_file{

// dark themes

THEME("default.json"),
THEME("themes/1984-color-theme.json"),
THEME("themes/1984-cyberpunk-color-theme.json"),
Expand All @@ -21,9 +24,18 @@ pub const theme_files = [_]theme_file{
THEME("themes/gruvbox-dark-hard.json"),
THEME("themes/gruvbox-dark-medium.json"),
THEME("themes/gruvbox-dark-soft.json"),
THEME("themes/tokyo-night-storm-color-theme.json"),
THEME("themes/tokyo-night-color-theme.json"),
THEME("ayu-dark.json"),
THEME("ayu-dark-bordered.json"),
THEME("ayu-mirage.json"),
THEME("ayu-mirage-bordered.json"),
THEME("extensions/theme-defaults/themes/dark_vs.json"),
THEME("extensions/theme-defaults/themes/dark_plus.json"),
THEME("extensions/theme-defaults/themes/dark_modern.json"),

// light themes

THEME("themes/1984-light-color-theme.json"),
THEME("extensions/theme-solarized-light/themes/solarized-light-color-theme.json"),
THEME("themes/CRT-Paper-color-theme.json"),
Expand All @@ -33,13 +45,7 @@ pub const theme_files = [_]theme_file{
THEME("extensions/theme-defaults/themes/light_vs.json"),
THEME("extensions/theme-defaults/themes/light_plus.json"),
THEME("extensions/theme-defaults/themes/light_modern.json"),
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"),
};
Expand Down

0 comments on commit 9ee6d7b

Please sign in to comment.