Documentation
¶
Overview ¶
Package appearance holds how a member sees the app: the light or dark theme they chose in Account & security › Appearance (M54). It is saved on the account so it follows them to every browser they sign in on; the web app keeps a copy per browser so the first paint is already right.
Index ¶
Constants ¶
View Source
const ( System = "system" Light = "light" Dark = "dark" )
The themes a member can choose. System is stored as NULL.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Choice ¶
type Choice struct {
Theme string `json:"theme" enum:"system,light,dark" doc:"system follows the device's light or dark setting"`
}
Choice is what a member chose in Appearance.
Click to show internal directories.
Click to hide internal directories.