You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
Install any plugin that handles theme changes, e.g. this one
Change the penpot theme from within penpot: the plugin changes from light to dark theme correctly
Leave penpot in "system theme"
Change the system theme via the OS.
The plugin's iframe is not updated.
I have tested and
penpot.on("themechange",(theme)=>{console.log(`Theme changed to: ${theme}`)});
fails to log anything when the theme change originates in the OS.
Expected behavior
The aforementioned message themechange is actually sent to the plugin so that it can inform its UI that it needs to update itself.
Actual behavior
On the LHS: the UI when I select dark mode within penpot. On the RHS: the UI when penpot is in system theme and I switch the OS' from light to dark mode:
Screenshots or video
No response
Desktop (please complete the following information)
Ubuntu 24.04, Chrome Version 142.0.7444.59 (Official Build) (64-bit)
Steps To Reproduce
I have tested and
fails to log anything when the theme change originates in the OS.
Expected behavior
The aforementioned message
themechangeis actually sent to the plugin so that it can inform its UI that it needs to update itself.Actual behavior
On the LHS: the UI when I select dark mode within penpot. On the RHS: the UI when penpot is in system theme and I switch the OS' from light to dark mode:
Screenshots or video
No response
Desktop (please complete the following information)
Ubuntu 24.04, Chrome Version 142.0.7444.59 (Official Build) (64-bit)