button: Adjust outline button active color. (#1035)

This commit is contained in:
Jason Lee 2025-07-03 15:35:19 +08:00 committed by GitHub
parent f4025a9447
commit 9eb7e10a1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -669,7 +669,7 @@ impl Render for ButtonStory {
) )
.child( .child(
ButtonGroup::new("toggle-button-group") ButtonGroup::new("toggle-button-group")
.primary() .outline()
.compact() .compact()
.multiple(toggle_multiple) .multiple(toggle_multiple)
.child( .child(

View file

@ -308,9 +308,9 @@ impl ThemeColor {
scrollbar_thumb: neutral_400().opacity(0.9), scrollbar_thumb: neutral_400().opacity(0.9),
scrollbar_thumb_hover: neutral_400(), scrollbar_thumb_hover: neutral_400(),
secondary: neutral_100().darken(0.05), secondary: neutral_100().darken(0.05),
secondary_active: neutral_300(), secondary_active: neutral_200(),
secondary_foreground: neutral_900(), 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(), selection: blue_200(),
sidebar: neutral_50(), sidebar: neutral_50(),
sidebar_accent: neutral_200(), sidebar_accent: neutral_200(),
@ -319,7 +319,7 @@ impl ThemeColor {
sidebar_foreground: neutral_900(), sidebar_foreground: neutral_900(),
sidebar_primary: neutral_900(), sidebar_primary: neutral_900(),
sidebar_primary_foreground: neutral_50(), sidebar_primary_foreground: neutral_50(),
skeleton: neutral_50().opacity(0.1), skeleton: neutral_100(),
slider_bar: neutral_900(), slider_bar: neutral_900(),
slider_thumb: white(), slider_thumb: white(),
success: green_500(), success: green_500(),