Fix missing warning field in color_palette example

This commit is contained in:
Héctor Ramón Jiménez 2025-01-06 20:36:34 +01:00
parent feef71a382
commit e01fb00d3b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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(),
},
)