promote variant to its own styleset

This commit is contained in:
K Simmons
2022-09-22 13:29:19 -07:00
parent ebe8c952e4
commit 962f087ac2
17 changed files with 624 additions and 666 deletions
+1 -1
View File
@@ -775,6 +775,7 @@ pub struct RampSet {
#[derive(Clone, Deserialize, Default)]
pub struct Layer {
pub base: StyleSet,
pub variant: StyleSet,
pub on: StyleSet,
pub info: StyleSet,
pub positive: StyleSet,
@@ -785,7 +786,6 @@ pub struct Layer {
#[derive(Clone, Deserialize, Default)]
pub struct StyleSet {
pub default: Style,
pub variant: Style,
pub active: Style,
pub disabled: Style,
pub hovered: Style,