From f96c21782d05203d78bd162eac9a7022c48301c1 Mon Sep 17 00:00:00 2001 From: ihavecoke Date: Mon, 11 Nov 2024 11:48:03 +0800 Subject: [PATCH] skeleton: Fix the bug where the theme color of the skeleton does not display in light mode (#407) --- crates/ui/src/theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/theme.rs b/crates/ui/src/theme.rs index a2f054e4..5a8c6907 100644 --- a/crates/ui/src/theme.rs +++ b/crates/ui/src/theme.rs @@ -253,7 +253,7 @@ impl ThemeColor { secondary_foreground: hsl(240.0, 59.0, 10.), secondary_hover: hsl(240.0, 5.9, 98.), selection: hsl(211.0, 97.0, 85.0), - skeleton: hsla(223.0, 5.9, 10.0, 0.1), + skeleton: hsl(223.0, 5.9, 10.0).opacity(0.1), slider_bar: hsl(223.0, 5.9, 10.0), slider_thumb: hsl(0.0, 0.0, 100.0), tab: gpui::transparent_black(),