summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLibravatar David Aguiló Domínguez <david.aguilo@bsc.es>2024-09-25 13:52:34 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 20:31:20 +0100
commitc3aefdc27b1b1f1825beb1cb4621022971fbb31d (patch)
tree39b9f1c66dea25eb476dc862bd93096d437e6f1e /core/src
parent91439dc172d0a6ed66c236baa38939615b38a730 (diff)
downloadiced-c3aefdc27b1b1f1825beb1cb4621022971fbb31d.tar.gz
iced-c3aefdc27b1b1f1825beb1cb4621022971fbb31d.tar.bz2
iced-c3aefdc27b1b1f1825beb1cb4621022971fbb31d.zip
Added color for warning for MOONFLY and NIGHTFLY
Diffstat (limited to 'core/src')
-rw-r--r--core/src/theme/palette.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/theme/palette.rs b/core/src/theme/palette.rs
index fd4f15d2..31df15e9 100644
--- a/core/src/theme/palette.rs
+++ b/core/src/theme/palette.rs
@@ -281,6 +281,7 @@ impl Palette {
primary: color!(0x80a0ff), // Blue (normal)
success: color!(0x8cc85f), // Green (normal)
danger: color!(0xff5454), // Red (normal)
+ warning: color!(0xe3c78a), // Yellow (normal)
};
/// The built-in [Nightfly] variant of a [`Palette`].
@@ -292,6 +293,7 @@ impl Palette {
primary: color!(0x82aaff), // Blue (normal)
success: color!(0xa1cd5e), // Green (normal)
danger: color!(0xfc514e), // Red (normal)
+ warning: color!(0xe3d18a), // Yellow (normal)
};
/// The built-in [Oxocarbon] variant of a [`Palette`].