Fix missing warning field in color_palette example
This commit is contained in:
parent
feef71a382
commit
e01fb00d3b
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ impl ColorPalette {
|
||||||
primary: *self.theme.lower.first().unwrap(),
|
primary: *self.theme.lower.first().unwrap(),
|
||||||
text: *self.theme.higher.last().unwrap(),
|
text: *self.theme.higher.last().unwrap(),
|
||||||
success: *self.theme.lower.last().unwrap(),
|
success: *self.theme.lower.last().unwrap(),
|
||||||
|
warning: *self.theme.higher.last().unwrap(),
|
||||||
danger: *self.theme.higher.last().unwrap(),
|
danger: *self.theme.higher.last().unwrap(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue