mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 01:44:25 +00:00
craft and craft-theme READMEs: the library crates the facade reaches, the tools it leaves out, craft_ui::style as the egui bridge
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user