Introduces a small persistent appearance contract: WallpaperTheme (Dawn/Violet/Mint/Slate), ThemeMode (System/Light/Dark), reduce_motion. Defaults to Dawn + System + motion-on. Field accessors and setters live on the struct so the core can mutate without exposing internals; serde support uses kebab-case so the on-disk form matches the design CSS naming. Tests cover defaults, mutation independence, and a JSON round-trip with the kebab-case names. serde_json is added as a dev-dependency only — the production crate does not depend on it.
21 lines
357 B
TOML
21 lines
357 B
TOML
[package]
|
|
name = "ely_domain"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
semver.workspace = true
|
|
serde.workspace = true
|
|
thiserror.workspace = true
|
|
toml.workspace = true
|
|
url.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
serde_json.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|