refactor: add dropdown widget type

This commit is contained in:
CJ van den Berg 2025-12-18 15:22:48 +01:00
parent 3c9cf07f9d
commit 1f67c8e2ce
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 5 additions and 0 deletions

View file

@ -158,6 +158,7 @@ pub fn theme_style_from_type(style_type: WidgetType, theme: *const Theme) Theme.
.none => theme.editor,
.palette => .{ .fg = theme.editor_widget_border.fg, .bg = theme.editor_widget.bg },
.panel => .{ .fg = theme.editor_widget_border.fg, .bg = theme.editor.bg },
.dropdown => .{ .fg = theme.editor_widget_border.fg, .bg = theme.editor.bg },
.home => .{ .fg = theme.editor_widget_border.fg, .bg = theme.editor.bg },
.pane_left => switch (tui.config().pane_style) {
.panel => .{ .fg = theme.editor_widget.bg, .bg = theme.panel.bg },