feat: tweak layout of theme objects
This commit is contained in:
parent
59bf204551
commit
a1b1d74282
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
name: []const u8,
|
||||
description: []const u8,
|
||||
type: []const u8,
|
||||
tokens: Tokens,
|
||||
|
||||
editor: Style,
|
||||
editor_cursor: Style,
|
||||
|
|
@ -38,6 +37,8 @@ tab_active: Style,
|
|||
tab_inactive: Style,
|
||||
tab_selected: Style,
|
||||
|
||||
tokens: Tokens,
|
||||
|
||||
pub const FontStyle = enum { normal, bold, italic, underline, undercurl, strikethrough };
|
||||
pub const Style = struct { fg: ?Color = null, bg: ?Color = null, fs: ?FontStyle = null };
|
||||
pub const Color = struct { color: u24, alpha: u8 = 0xFF };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue