feat: add automatic dark/light mode support
This adds a new configuration option `light_theme` and support for automatically switching the active dark/light theme from terminal events. closes #302
This commit is contained in:
parent
1ade0b1b89
commit
a5d3eb18f3
3 changed files with 68 additions and 22 deletions
|
|
@ -2,6 +2,7 @@ const builtin = @import("builtin");
|
|||
|
||||
frame_rate: usize = 60,
|
||||
theme: []const u8 = "default",
|
||||
light_theme: []const u8 = "default-light",
|
||||
input_mode: []const u8 = "flow",
|
||||
gutter_line_numbers_mode: ?LineNumberMode = null,
|
||||
gutter_line_numbers_style: DigitStyle = .ascii,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue