Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Subdomain string `config:"subdomain"` SocialLogin SocialLogin `config:"social_login"` AppFolder string `config:"app_folder"` Themes Themes `config:"themes"` }
type BackgroundImages ¶
type Color ¶
type ProviderConfig ¶
type SocialLogin ¶
type SocialLogin struct { Enabled bool `config:"enabled"` Provider map[string]ProviderConfig `config:"provider"` Order []string `config:"order"` }
func (SocialLogin) Defaults ¶
func (A SocialLogin) Defaults() map[string]any
type SystemColors ¶
type SystemColors struct { Background Color `config:"background" json:"system-color-1" yaml:"background"` SubtleBackground Color `config:"subtle_background" json:"system-color-2" yaml:"subtle_background"` UIElementBackground Color `config:"ui_element_background" json:"system-color-3" yaml:"ui_element_background"` HoveredUIElement Color `config:"hovered_ui_element" json:"system-color-4" yaml:"hovered_ui_element"` ActiveUIElement Color `config:"active_ui_element" json:"system-color-5" yaml:"active_ui_element"` Borders Color `config:"borders" json:"system-color-6" yaml:"borders"` UIElementBorder Color `config:"ui_element_border" json:"system-color-7" yaml:"ui_element_border"` HoveredElementBorder Color `config:"hovered_element_border" json:"system-color-8" yaml:"hovered_element_border"` SolidBackground Color `config:"solid_background" json:"system-color-9" yaml:"solid_background"` HoveredSolidBg Color `config:"hovered_solid_bg" json:"system-color-10" yaml:"hovered_solid_bg"` LowContrastText Color `config:"low_contrast_text" json:"system-color-11" yaml:"low_contrast_text"` HighContrastText Color `config:"high_contrast_text" json:"system-color-12" yaml:"high_contrast_text"` }
type Theme ¶
type Theme struct { Name string `config:"name" json:"name" yaml:"name"` ID string `config:"id" json:"id" yaml:"id"` SystemColors SystemColors `config:"system_colors" json:"system_colors" yaml:"system_colors"` BackgroundImages BackgroundImages `config:"background_images" json:"background_images" yaml:"background_images"` Default bool `config:"default" json:"default" yaml:"default"` }
Click to show internal directories.
Click to hide internal directories.