From 069441026ba40b1a5e466753fac3274ce1b26a51 Mon Sep 17 00:00:00 2001 From: RestartFU Date: Tue, 28 Jul 2026 09:57:06 -0400 Subject: [PATCH] fix(ui): match dropdown and composer backgrounds Co-authored-by: Codex --- src/xd-app.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/xd-app.c b/src/xd-app.c index c8f5c621..acb623c5 100644 --- a/src/xd-app.c +++ b/src/xd-app.c @@ -101,7 +101,7 @@ static const char *XD_STYLE = " --sidebar-fg-color: #f2f2f4;" " --sidebar-backdrop-color: #060607;" " --secondary-sidebar-bg-color: #060607;" - " --popover-bg-color: #101013;" + " --popover-bg-color: #141416;" " --dialog-bg-color: #101013;" " --card-bg-color: #101013;" "}\n" @@ -304,13 +304,18 @@ static const char *XD_STYLE = */ "popover > contents { background: none; border: none; box-shadow: none;" " padding: 0; }\n" - "popover listview { background-color: #16161b;" + /* + * Match the composer's 4% white lift over #0a0a0c. Keeping the resolved + * colour solid avoids a translucent popover changing tone with whatever + * happens to sit behind it. + */ + "popover listview { background-color: #141416;" " border: 1px solid alpha(#ffffff, 0.10); border-radius: 12px;" " padding: 5px; }\n" - ".xd-menu { background-color: #16161b;" + ".xd-menu { background-color: #141416;" " border: 1px solid alpha(#ffffff, 0.10); border-radius: 12px;" " padding: 6px; }\n" - ".xd-menu-popover > contents { background-color: #16161b;" + ".xd-menu-popover > contents { background-color: #141416;" " border: 1px solid alpha(#ffffff, 0.10); border-radius: 12px;" " padding: 5px; }\n" "popover menuitem { border-radius: 8px; padding: 6px 10px; }\n"