summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 20:36:34 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 20:36:44 +0100
commite01fb00d3b98de9cda60655c935ac3163f72926c (patch)
tree1260779360b2f618b0b8edcd6dd050640768ad10 /examples
parentfeef71a382f9ff87b2f2b7da5e7f31b6a18af388 (diff)
downloadiced-e01fb00d3b98de9cda60655c935ac3163f72926c.tar.gz
iced-e01fb00d3b98de9cda60655c935ac3163f72926c.tar.bz2
iced-e01fb00d3b98de9cda60655c935ac3163f72926c.zip
Fix missing `warning` field in `color_palette` example
Diffstat (limited to 'examples')
-rw-r--r--examples/color_palette/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/color_palette/src/main.rs b/examples/color_palette/src/main.rs
index 7f21003b..1a86b168 100644
--- a/examples/color_palette/src/main.rs
+++ b/examples/color_palette/src/main.rs
@@ -89,6 +89,7 @@ impl ColorPalette {
primary: *self.theme.lower.first().unwrap(),
text: *self.theme.higher.last().unwrap(),
success: *self.theme.lower.last().unwrap(),
+ warning: *self.theme.higher.last().unwrap(),
danger: *self.theme.higher.last().unwrap(),
},
)