- Issue created by @Christian.wiedemann
- 🇫🇷France pdureau Paris
So, the idea is to load preview and builder in web components with custom element & shadow dom.
I have an idea which "maybe" solves the theming issues.
Currently Display Builder is using the current "default" theme. This makes it hard to theme panels, menus etc independent of the frontend theme. You know all the issues.
I build a small demo project to test out the best way to isolate the css and javascript and I want to purpose following theming strategy.
https://github.com/JuppiterFred/web-components-css
Main Idea:
1. The panels etc. are themed by seperated completly independent theme. So the main display builder page is not rendered with default theme instead it uses the "display builder theme". (The theme is of course changeable.)
2. The "content" is loaded via htmx/js inside a seperate web component which also cares about CSS and JS. This isolates CSS and JS.
Maybe we can discuss this tommorow.
Active
1.0
Main / Misc.
So, the idea is to load preview and builder in web components with custom element & shadow dom.