Theme light/dark mode for custom URL apps

Hi, new Monday app dev here. My app is hosted via Custom URL and I’m curious how I can find out what the current UX theme is for the user? My app supports themes but I need to somehow query the API (user preferences maybe? still learning/reading the docs) or possibly tap into some JS events from the parent frame/host?


Listen to the context. The theme is in there.


1 Like

Ok thanks I’ll try that. I don’t see any docs for “context” but I’ll keep looking. I also searched API Docs for ‘theme’ and no results. I’ll figure it out, thanks

Hello there @deepdev !

You can check out this article about what David mentioned :smile:

You can also get the context proactively.

I hope that helps!


1 Like

Ok that helps! Thanks for the links!