From 39ec84b989215ea548e69c792343413e417c7c51 Mon Sep 17 00:00:00 2001 From: ihavecoke Date: Mon, 9 Dec 2024 20:00:48 +0800 Subject: [PATCH] table: Add a theme color to fixed the drag column in dark mode text style (#476) --- crates/ui/src/table.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui/src/table.rs b/crates/ui/src/table.rs index b2c63969..bc03b7d8 100644 --- a/crates/ui/src/table.rs +++ b/crates/ui/src/table.rs @@ -77,6 +77,8 @@ impl Render for DragCol { .px_4() .py_1() .bg(cx.theme().table_head) + .text_color(cx.theme().muted_foreground) + .opacity(0.9) .border_1() .border_color(cx.theme().border) .shadow_md()