diff options
author | 2025-02-22 00:58:06 +0100 | |
---|---|---|
committer | 2025-02-22 00:58:06 +0100 | |
commit | 412dfe0e607f5e7df8027578e5de3ea4b667f66f (patch) | |
tree | a274ad4831a9ce3eff790022fb77cfd2dcf50e83 | |
parent | 954f49d4d73d040ef9367800a662031cd92d9e09 (diff) | |
download | iced-412dfe0e607f5e7df8027578e5de3ea4b667f66f.tar.gz iced-412dfe0e607f5e7df8027578e5de3ea4b667f66f.tar.bz2 iced-412dfe0e607f5e7df8027578e5de3ea4b667f66f.zip |
Tweak colors of `Light` and `Dark` themes
-rw-r--r-- | core/src/theme/palette.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/theme/palette.rs b/core/src/theme/palette.rs index 3f30326b..0f6f0dff 100644 --- a/core/src/theme/palette.rs +++ b/core/src/theme/palette.rs @@ -29,7 +29,7 @@ impl Palette { pub const LIGHT: Self = Self { background: Color::WHITE, text: Color::BLACK, - primary: color!(0x5e7ce2), + primary: color!(0x5865F2), success: color!(0x12664f), warning: color!(0xffc14e), danger: color!(0xc3423f), @@ -37,9 +37,9 @@ impl Palette { /// The built-in dark variant of a [`Palette`]. pub const DARK: Self = Self { - background: color!(0x202225), + background: color!(0x313338), text: Color::from_rgb(0.90, 0.90, 0.90), - primary: color!(0x5e7ce2), + primary: color!(0x5865F2), success: color!(0x12664f), warning: color!(0xffc14e), danger: color!(0xc3423f), |