1
0
Fork 0
forked from wry/wry

fix some bugs relating to tab behavior and border rendering

This commit is contained in:
kossLAN 2026-05-03 04:17:23 -04:00
parent f056727621
commit 206a5fb19e
No known key found for this signature in database
12 changed files with 240 additions and 172 deletions

View file

@ -63,7 +63,14 @@ impl Parser for ThemeParser<'_> {
font,
title_font,
),
(bar_font, bar_position_val, bar_separator_width, gap, floating_titles),
(
bar_font,
bar_position_val,
bar_separator_width,
gap,
floating_titles,
active_border_color,
),
) = ext.extract((
(
opt(val("attention-requested-bg-color")),
@ -95,6 +102,7 @@ impl Parser for ThemeParser<'_> {
recover(opt(s32("bar-separator-width"))),
recover(opt(s32("gap"))),
recover(opt(bol("floating-titles"))),
opt(val("active-border-color")),
),
))?;
let (title_gap, corner_radius) = ext.extract((
@ -175,6 +183,7 @@ impl Parser for ThemeParser<'_> {
bar_bg_color: color!(bar_bg_color),
bar_status_text_color: color!(bar_status_text_color),
border_color: color!(border_color),
active_border_color: color!(active_border_color),
captured_focused_title_bg_color: color!(captured_focused_title_bg_color),
captured_unfocused_title_bg_color: color!(captured_unfocused_title_bg_color),
focused_inactive_title_bg_color: color!(focused_inactive_title_bg_color),