Skip to content

Feat/plugin theme - #17

Merged
spron-in merged 2 commits into
mainfrom
feat/plugin-theme
Oct 7, 2026
Merged

spron-in merged 2 commits into
mainfrom
feat/plugin-theme

Conversation

@spron-in

Copy link
Copy Markdown
Contributor

Using plugin theme. Can be merged, but released only after dev.4

Rewrite the frontend with MUI components themed by @openeverest/plugin-theme
instead of inline-styled React.createElement trees, so the plugin follows the
host's palette, typography and light/dark mode.

- Bundle MUI/Emotion; keep react, react-dom and react/jsx-runtime external
  (host import map), with a build guard against CommonJS require() of them.
- Pass the host CSP nonce and a unique Emotion cache key to PluginThemeProvider.
- Split main.tsx into api/, components/ and utils/; strings in .messages.ts.
- Use slotProps instead of the InputProps/inputProps removed in MUI 9.
- Link plugin-sdk and plugin-theme from ../openeverest until they are published.

Signed-off-by: Sergey Pronin <sp@solanica.io>
…dk 0.4.0

Replace the file: links to a local core checkout with the npm releases, so
npm ci works in CI. Drop the resolve.dedupe that only the links needed.

Signed-off-by: Sergey Pronin <sp@solanica.io>
@spron-in
spron-in merged commit 1d6710d into main Oct 7, 2026
8 checks passed
@spron-in
spron-in deleted the feat/plugin-theme branch October 7, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant