Separate resolved theme values from configuration resolution
This commit is contained in:
1 parent
4c3e884438
commit
8195b82073
13 files changed
+509
-477
No files matched your search
@@ -168,7 +168,7 @@ mod tests {
|
||||
("translucent", 1., 1.),
|
||||
("translucent", 0., 0.),
|
||||
] {
|
||||
let mut theme = ferese_config::theme::ResolvedTheme::default();
|
||||
let mut theme = ferese_config::theme::default_theme();
|
||||
theme.tokens.material.style = style.into();
|
||||
theme.tokens.material.opacity = opacity;
|
||||
assert_eq!(crate::service::opacity(&theme), expected);
|
||||
|
||||
Reference in new issue
Block a user