From 9eb7e10a1da1a27bec1954fd994b15add600cd24 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 3 Jul 2025 15:35:19 +0800 Subject: [PATCH] button: Adjust outline button active color. (#1035) --- crates/story/src/button_story.rs | 2 +- crates/ui/src/theme.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/story/src/button_story.rs b/crates/story/src/button_story.rs index 0a43c032..528c7eaa 100644 --- a/crates/story/src/button_story.rs +++ b/crates/story/src/button_story.rs @@ -669,7 +669,7 @@ impl Render for ButtonStory { ) .child( ButtonGroup::new("toggle-button-group") - .primary() + .outline() .compact() .multiple(toggle_multiple) .child( diff --git a/crates/ui/src/theme.rs b/crates/ui/src/theme.rs index 172e8344..613edb86 100644 --- a/crates/ui/src/theme.rs +++ b/crates/ui/src/theme.rs @@ -308,9 +308,9 @@ impl ThemeColor { scrollbar_thumb: neutral_400().opacity(0.9), scrollbar_thumb_hover: neutral_400(), secondary: neutral_100().darken(0.05), - secondary_active: neutral_300(), + secondary_active: neutral_200(), secondary_foreground: neutral_900(), - secondary_hover: neutral_100().darken(0.05).opacity(0.8), + secondary_hover: neutral_100().darken(0.05).opacity(0.5), selection: blue_200(), sidebar: neutral_50(), sidebar_accent: neutral_200(), @@ -319,7 +319,7 @@ impl ThemeColor { sidebar_foreground: neutral_900(), sidebar_primary: neutral_900(), sidebar_primary_foreground: neutral_50(), - skeleton: neutral_50().opacity(0.1), + skeleton: neutral_100(), slider_bar: neutral_900(), slider_thumb: white(), success: green_500(),