chore: initial studio-theme-accessibility 0.1.0
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
commit
7212a58ba5
9 changed files with 199 additions and 0 deletions
22
README.md
Normal file
22
README.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# studio-theme-accessibility
|
||||
|
||||
WCAG AA high-contrast Studio theme.
|
||||
|
||||
Ships a Material 3 ColorScheme pair (light + dark) through
|
||||
the WIT `theme` export. Studio loads it as a
|
||||
`studio.theme.accessibility` capability and switches the app's
|
||||
ColorScheme when the operator picks it from the themes
|
||||
picker.
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
cargo build --release --target wasm32-wasip2
|
||||
```
|
||||
|
||||
Output: `target/wasm32-wasip2/release/studio_theme_accessibility.wasm`.
|
||||
|
||||
## Palette
|
||||
|
||||
See `src/lib.rs` for the 14 ARGB tokens per brightness, in
|
||||
Material 3 order (primary → on_primary → … → outline_variant).
|
||||
Loading…
Add table
Add a link
Reference in a new issue