Separate resolved theme values from configuration resolution

This commit is contained in:
Samuel Onoja committed 2026-10-02 23:57:02 +01:00
1 parent 4c3e884438
commit 8195b82073
13 files changed
+509 -477

No files matched your search

+1 -1
View File
@@ -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);