refactor: add dropdown widget type
This commit is contained in:
parent
3c9cf07f9d
commit
1f67c8e2ce
3 changed files with 5 additions and 0 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue