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
|
@ -6,14 +6,14 @@ function isStyleSet(key: any): key is StyleSets {
|
|||
"base",
|
||||
"variant",
|
||||
"on",
|
||||
"info",
|
||||
"accent",
|
||||
"positive",
|
||||
"warning",
|
||||
"negative",
|
||||
].includes(key);
|
||||
}
|
||||
function isStyle(key: any): key is Styles {
|
||||
return ["default", "active", "disabled", "hovered", "pressed"].includes(key);
|
||||
return ["default", "active", "disabled", "hovered", "pressed", "inverted"].includes(key);
|
||||
}
|
||||
function getStyle(
|
||||
layer: Layer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue