Style elevations & update styleTrees
Also rename `info` -> `accent` Co-Authored-By: Kay Simmons <3323631+Kethku@users.noreply.github.com>
This commit is contained in:
parent
95bc18a995
commit
5708879b5a
11 changed files with 84 additions and 79 deletions
|
@ -107,7 +107,7 @@ impl ThemeTestbench {
|
|||
.boxed(),
|
||||
)
|
||||
.with_child(
|
||||
Self::render_button_set(3, layer_index, "info", &layer.info, cx)
|
||||
Self::render_button_set(3, layer_index, "accent", &layer.accent, cx)
|
||||
.flex(1., false)
|
||||
.boxed(),
|
||||
)
|
||||
|
@ -187,6 +187,14 @@ impl ThemeTestbench {
|
|||
Some(|style_set| &style_set.disabled),
|
||||
cx,
|
||||
))
|
||||
.with_child(Self::render_button(
|
||||
set_index * 6 + 5,
|
||||
layer_index,
|
||||
"inverted",
|
||||
&style_set,
|
||||
Some(|style_set| &style_set.inverted),
|
||||
cx,
|
||||
))
|
||||
}
|
||||
|
||||
fn render_button(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue