From 65986ff8a1f4070e62d40cd4d3c62b50544e341b Mon Sep 17 00:00:00 2001 From: flemming-it Date: Mon, 25 May 2026 23:02:44 +0200 Subject: [PATCH] docs: add MODULE.md + MODULE.de.md inline docs Studio's Documentation section now populates from the bundle instead of staying empty. Same content as the existing README, trimmed for the in-app reader. Signed-off-by: flemming-it --- MODULE.de.md | 35 +++++++++++++++++++++++++++++++++++ MODULE.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 MODULE.de.md create mode 100644 MODULE.md diff --git a/MODULE.de.md b/MODULE.de.md new file mode 100644 index 0000000..865afb8 --- /dev/null +++ b/MODULE.de.md @@ -0,0 +1,35 @@ +# studio.theme.solarized + +Theme-Hook-Plugin für F∆I Studio. Liefert Ethan Schoonovers +[Solarized](https://ethanschoonover.com/solarized/)-Palette +als Material-3-ColorScheme-Paar (Light + Dark). + +## Capability + +- `studio.theme.solarized@0.1.0` + +## Implementierter Hook + +- `theme(brightness) -> color-scheme` + +Die anderen beiden Studio-Plugin-Hooks (`translate`, +`output-view`) liefern `PluginError::Declined` — dieses +Plugin macht nur Themes. + +## Ausgabe + +14 ARGB-Tokens pro Brightness in Material-3-Reihenfolge +(primary → on-primary → secondary → … → outline-variant). +Andere Brightness-Werte als `"light"` oder `"dark"` liefern +`PluginError::Declined`. + +## Berechtigungen + +Keine. Reines Konstanten-Lookup, kein I/O. + +## Build + +```bash +cargo build --release --target wasm32-wasip2 +# Ausgabe: target/wasm32-wasip2/release/studio_theme_solarized.wasm +``` diff --git a/MODULE.md b/MODULE.md new file mode 100644 index 0000000..4b3f255 --- /dev/null +++ b/MODULE.md @@ -0,0 +1,34 @@ +# studio.theme.solarized + +Theme-hook plugin for F∆I Studio. Ships Ethan Schoonover's +[Solarized](https://ethanschoonover.com/solarized/) palette as +a Material 3 ColorScheme pair (Light + Dark). + +## Capability + +- `studio.theme.solarized@0.1.0` + +## Hook implemented + +- `theme(brightness) -> color-scheme` + +The other two Studio-plugin hooks (`translate`, `output-view`) +return `PluginError::Declined` — this plugin only themes. + +## Output + +14 ARGB tokens per brightness in Material 3 order +(primary → on-primary → secondary → … → outline-variant). +Brightness names other than `"light"` or `"dark"` return +`PluginError::Declined`. + +## Permissions + +None. The plugin is a pure constant lookup — no I/O. + +## Build + +```bash +cargo build --release --target wasm32-wasip2 +# Output: target/wasm32-wasip2/release/studio_theme_solarized.wasm +```