diff options
author | 2024-09-25 13:20:13 +0200 | |
---|---|---|
committer | 2025-01-06 20:31:19 +0100 | |
commit | c768aba64cd5c7e14e2527bd56fed19b80e28823 (patch) | |
tree | 684f3325a26aad6cb1989a38ae18a61d7ba2131c /core/src | |
parent | 9e2f7b2d50a39db31465ca094a53ee274e7c468f (diff) | |
download | iced-c768aba64cd5c7e14e2527bd56fed19b80e28823.tar.gz iced-c768aba64cd5c7e14e2527bd56fed19b80e28823.tar.bz2 iced-c768aba64cd5c7e14e2527bd56fed19b80e28823.zip |
Added color for warning for GRUVBOX and CATPPUCCIN
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/theme/palette.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/theme/palette.rs b/core/src/theme/palette.rs index 0aa904ee..05b8008c 100644 --- a/core/src/theme/palette.rs +++ b/core/src/theme/palette.rs @@ -137,6 +137,7 @@ impl Palette { primary: color!(0x458588), // light BLUE_4 success: color!(0x98971a), // light GREEN_2 danger: color!(0xcc241d), // light RED_1 + warning: color!(0xd79921), // light YELLOW_3 }; /// The built-in [Gruvbox] Dark variant of a [`Palette`]. @@ -148,6 +149,7 @@ impl Palette { primary: color!(0x458588), // dark BLUE_4 success: color!(0x98971a), // dark GREEN_2 danger: color!(0xcc241d), // dark RED_1 + warning: color!(0xd79921), // dark YELLOW_3 }; /// The built-in [Catppuccin] Latte variant of a [`Palette`]. @@ -159,6 +161,7 @@ impl Palette { primary: color!(0x1e66f5), // Blue success: color!(0x40a02b), // Green danger: color!(0xd20f39), // Red + warning: color!(0xdf8e1d), // Yellow }; /// The built-in [Catppuccin] Frappé variant of a [`Palette`]. @@ -170,6 +173,7 @@ impl Palette { primary: color!(0x8caaee), // Blue success: color!(0xa6d189), // Green danger: color!(0xe78284), // Red + warning: color!(0xe5c890), // Yellow }; /// The built-in [Catppuccin] Macchiato variant of a [`Palette`]. @@ -181,6 +185,7 @@ impl Palette { primary: color!(0x8aadf4), // Blue success: color!(0xa6da95), // Green danger: color!(0xed8796), // Red + warning: color!(0xeed49f), // Yellow }; /// The built-in [Catppuccin] Mocha variant of a [`Palette`]. @@ -192,6 +197,7 @@ impl Palette { primary: color!(0x89b4fa), // Blue success: color!(0xa6e3a1), // Green danger: color!(0xf38ba8), // Red + warning: color!(0xf9e2af), // Yellow }; /// The built-in [Tokyo Night] variant of a [`Palette`]. |