feat: add input styles

This commit is contained in:
CJ van den Berg 2024-03-28 21:53:59 +01:00
parent e0f55486d2
commit 69be8cd05f
2 changed files with 92 additions and 0 deletions

View file

@ -24,6 +24,11 @@ scrollbar_hover: Style,
scrollbar_active: Style,
sidebar: Style,
panel: Style,
input: Style,
input_border: Style,
input_placeholder: Style,
input_option_active: Style,
input_option_hover: Style,
pub const FontStyle = enum { normal, bold, italic, underline, strikethrough };
pub const Style = struct { fg: ?Color = null, bg: ?Color = null, fs: ?FontStyle = null };