Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerMode ¶
type ServerMode string
ServerMode determines the operational mode of the server.
const ( ModeBuild ServerMode = "build" ModePlan ServerMode = "plan" )
type Theme ¶
type Theme struct {
Directory string `json:"directory"`
PrimaryColor string `json:"primaryColor"` // hex input from user, e.g. "#6366f1"
Accent string `json:"accent"` // --accent
AccentHover string `json:"accentHover"` // --accent-hover
AccentSoft string `json:"accentSoft"` // --accent-soft (rgba)
AccentRing string `json:"accentRing"` // --accent-ring (rgba)
OnPrimary string `json:"onPrimary"` // text color on accent bg
Glow string `json:"glow"` // --glow (rgba, for background accents)
Tint string `json:"tint"` // --tint (rgba, ~5% for sidebar/header)
}
Theme holds a per-directory color palette derived from a user-chosen primary color.
Click to show internal directories.
Click to hide internal directories.