mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
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:
@ -990,6 +990,8 @@ fn loadRuntimeCss(
|
|||||||
\\ --headerbar-fg-color: rgb({d},{d},{d});
|
\\ --headerbar-fg-color: rgb({d},{d},{d});
|
||||||
\\ --headerbar-bg-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);
|
\\ --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-fg-color: rgb({d},{d},{d});
|
||||||
\\ --popover-bg-color: rgb({d},{d},{d});
|
\\ --popover-bg-color: rgb({d},{d},{d});
|
||||||
\\}}
|
\\}}
|
||||||
@ -1013,6 +1015,12 @@ fn loadRuntimeCss(
|
|||||||
headerbar_background.r,
|
headerbar_background.r,
|
||||||
headerbar_background.g,
|
headerbar_background.g,
|
||||||
headerbar_background.b,
|
headerbar_background.b,
|
||||||
|
headerbar_foreground.r,
|
||||||
|
headerbar_foreground.g,
|
||||||
|
headerbar_foreground.b,
|
||||||
|
headerbar_background.r,
|
||||||
|
headerbar_background.g,
|
||||||
|
headerbar_background.b,
|
||||||
}),
|
}),
|
||||||
else => {},
|
else => {},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user