메타에서 테마를 변경하면 사용자 설정으로 저장되나요, 아니면 쿠키 기반으로 처리되나요?

I often have to rechange my default theme from the drop menu

  • is the setting cookie based and not profile stored?

Or why do I have to change the theme when I login?

I think swapping from the sidebar is just for that session, the setting at https://meta.discourse.org/my/preferences/interface is across all sessions, if you select the “Make this the default theme on all my devices” checkbox.

Yes, it’s session based. The component utilizes setLocalTheme(); which is the equivalent of changing this interface setting with the “default on all devices” box unchecked.

This way the same functionality works for both logged-in and anonymous visitors.

I think I can include makeThemeDefault when logged in, so it persists along with the account.