linen.dev
linen.dev copied to clipboard
As a individual user I can set dark mode as a preference
It should probably be set in profile when you click on your image
.
@cheeseblubber I'd like to take this up. Could you please assign this to me?
@emilos @cheeseblubber
What's the difference between auths
and users
? I see that auths
holds an array of users
. I'm not sure what this means.
Also, here is my proposal for this issue. Please let me know your thoughts.
- store
theme_preference ('light' | 'dark')
inusers
orauths
table. - expose APIs to get and set this property.
- use this property for the UI theme.
auths
table makes most sense now
long story short; auths
are used for authentication, users
is a concept of the user within a community
Thanks!
Ah, it makes sense now; 1 auth -> many logical users (1 per community)