feat: add everforest and nord themes
This commit is contained in:
parent
0386d791da
commit
68a95a4984
4 changed files with 19 additions and 0 deletions
|
|
@ -192,10 +192,15 @@ fn load_token_settings_object(file_name: []const u8, scopes_name: ?[]const u8, c
|
|||
} else if (eql(u8, "bold italic", value)) {
|
||||
style.fs = .bold;
|
||||
style.fs = .italic;
|
||||
} else if (eql(u8, "italic bold", value)) {
|
||||
style.fs = .bold;
|
||||
style.fs = .italic;
|
||||
} else if (eql(u8, "strikethrough", value)) {
|
||||
style.fs = .strikethrough;
|
||||
} else if (eql(u8, "normal", value)) {
|
||||
style.fs = .normal;
|
||||
} else if (eql(u8, "regular", value)) {
|
||||
style.fs = .normal;
|
||||
} else if (eql(u8, "", value)) {
|
||||
style.fs = .normal;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ pub const theme_files = [_]theme_file{
|
|||
THEME("themes/rose-pine-moon-color-theme.json"),
|
||||
THEME("themes/rose-pine-moon-no-italics-color-theme.json"),
|
||||
THEME("themes/adwaita-dark.json"),
|
||||
THEME("themes/everforest-dark.json"),
|
||||
THEME("themes/nord-color-theme.json"),
|
||||
|
||||
// light themes
|
||||
|
||||
|
|
@ -56,6 +58,7 @@ pub const theme_files = [_]theme_file{
|
|||
THEME("ayu-light-bordered.json"),
|
||||
THEME("themes/rose-pine-dawn-color-theme.json"),
|
||||
THEME("themes/adwaita-light.json"),
|
||||
THEME("themes/everforest-light.json"),
|
||||
};
|
||||
|
||||
fn THEME(comptime file_path: []const u8) theme_file {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue