apprt/gtk: style the tab overview when window-theme=ghostty

This requires libadwaita main (to be 1.8).

Signed-off-by: Tristan Partin <tristan@partin.io>
This commit is contained in:
Tristan Partin
2024-12-28 15:57:01 -06:00
parent 6508fec945
commit 2e048c870c

View File

@ -990,6 +990,8 @@ fn loadRuntimeCss(
\\ --headerbar-fg-color: rgb({d},{d},{d});
\\ --headerbar-bg-color: rgb({d},{d},{d});
\\ --headerbar-backdrop-color: oklab(from var(--headerbar-bg-color) calc(l * 0.9) a b / alpha);
\\ --overview-fg-color: rgb({d},{d},{d});
\\ --overview-bg-color: rgb({d},{d},{d});
\\ --popover-fg-color: rgb({d},{d},{d});
\\ --popover-bg-color: rgb({d},{d},{d});
\\}}
@ -1013,6 +1015,12 @@ fn loadRuntimeCss(
headerbar_background.r,
headerbar_background.g,
headerbar_background.b,
headerbar_foreground.r,
headerbar_foreground.g,
headerbar_foreground.b,
headerbar_background.r,
headerbar_background.g,
headerbar_background.b,
}),
else => {},
}