When dragging items between different browser windows (apps) that may have different themes (e.g., Dark Mode vs Light Mode), we need a configurable strategy for how the dragged item appears.
Goal:
Implement a themeMode config (e.g., 'adapt' | 'retain') on the Draggable/SortZone definition.
- Adapt: The item temporarily or permanently adopts the CSS variables/theme of the target window context.
- Retain: The item enforces its original theme (useful for "stickers" or branding).
Current Behavior:
The proxy clones the DOM/VDOM, likely carrying over classes, but if CSS variables are missing in the target, it may look broken.
When dragging items between different browser windows (apps) that may have different themes (e.g., Dark Mode vs Light Mode), we need a configurable strategy for how the dragged item appears.
Goal: Implement a
themeModeconfig (e.g.,'adapt' | 'retain') on the Draggable/SortZone definition.Current Behavior: The proxy clones the DOM/VDOM, likely carrying over classes, but if CSS variables are missing in the target, it may look broken.