From a1b1d742823cdd13555deea18bb9cae347a87f35 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Wed, 26 Mar 2025 21:04:35 +0100 Subject: [PATCH] feat: tweak layout of theme objects --- src/theme.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/theme.zig b/src/theme.zig index 0e671bf..290a8d9 100644 --- a/src/theme.zig +++ b/src/theme.zig @@ -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 };