Files
craft-libs/crates/theme/tests/main.rs
T
aiongg d395d4f831 Component sets: the app's set of component looks as a root env value
craft-theme gets `ComponentSet { Creative, Office }`: the app states its
set in `AppDefaults::set`, the user's own choice for the app
(`AppChoice::set`) overrides it, and `Selection::set` carries the result.
The suite's choice never carries a set.

ui-contract makes the set a style-affecting env value: `RootEnv::set`
puts it in the root app values, a container overrides it for its subtree
through `Overrides::values`, and windows, layers and popups take the
scope's value. A component reads it in `style` with `StyleCx::set`.
`Fixture::set` sets it in tests.

The gallery gets a Set choice in the More popover and a Set axis in the
Variants view.
2026-11-20 18:17:09 +00:00

5 lines
96 B
Rust

//! Integration tests, built into the library's own test executable.
mod dumps;
mod selection;