From dfb246665c6a1cf2a6cf27e433d27669b2ccae1e Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 11 Nov 2026 16:16:20 +0000 Subject: [PATCH] craft and craft-theme READMEs: the library crates the facade reaches, the tools it leaves out, craft_ui::style as the egui bridge --- crates/craft/README.md | 4 +++- crates/theme/README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/craft/README.md b/crates/craft/README.md index 408c49d3b..2131002a2 100644 --- a/crates/craft/README.md +++ b/crates/craft/README.md @@ -24,7 +24,9 @@ craft = { workspace = true, features = ["ui", "color", "draw", "imaging", "keyma The `[features]` table in `Cargo.toml` is written by `tests/features.rs` from the member crates' manifests. After changing a member's features or adding a crate, run `UPDATE_FACADE=1 cargo test -p craft -- integration::features` and commit the result. A comment on a feature line marks a crate that does not build for `wasm32-unknown-unknown`. -Not in the facade, because they are tools or test harnesses: `craft-ui-gallery`, `craft-ui-macros` (reached through `craft-ui`), `craft-fonts-build` (a build-script helper), `craft-design-lint`, `craft-plate-test`. +Reached through other crates, not named in the facade: the six library crates (`craft-ui-contract` to `craft-ui-shell`), `craft-ui-macros` and `craft-behavior` through `craft-ui`, and `craft-win32` through `craft-window`. + +Not in the facade, because they are tools or test harnesses: `craft-ui-gallery`, `story-render`, `craft-ui-bench`, `craft-ui-test-kit`, `craft-fonts-build` (a build-script helper), `craft-design-lint`, `craft-plate-test`, `craft-media-testkit`. ## Family dependencies diff --git a/crates/theme/README.md b/crates/theme/README.md index 7d2c79218..483655170 100644 --- a/crates/theme/README.md +++ b/crates/theme/README.md @@ -5,7 +5,7 @@ it, with an appearance (mode, contrast, size, text size), into tokens that apps own styles. Pure data and functions: no egui, no I/O, no threads, and it builds for wasm. Theme files on -disk, the suite folder and change watching belong to `craft-theme-store`; `craft_ui::theme` +disk, the suite folder and change watching belong to `craft-theme-store`; `craft_ui::style` converts tokens for egui. [docs/suite-themes.md](../../docs/suite-themes.md) is the reference for theme authors and app developers.