when white labeling using logo / icon, how can I tell the custom logo component what to render dark or light logo? is there a global parameter for knowing if we are working in light or dark mode ?
Hey @Oron there is a local storage key
payload-theme
that's value is light/dark that you can read from within your logo component
@damnstaychill but that only give me the user's choice, could be auto and then it's empty
I need the actual "real time" theme that is used
This should steer you in the right direction:
https://discord.com/channels/967097582721572934/1065405847376769146/1065426167479402548