Documentation
¶
Overview ¶
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
Index ¶
- func Change(theme Theme, copy PasswordUICopy, state password.FormState) templ.Component
- func Forgot(theme Theme, copy PasswordUICopy, state password.FormState) templ.Component
- func Login(theme Theme, copy PasswordUICopy, state password.FormState) templ.Component
- func New(theme Theme, copy PasswordUICopy, l web.Locations) (password.PasswordUi, []byte)
- func Register(theme Theme, copy PasswordUICopy, state password.FormState) templ.Component
- func Select(theme Theme, providers map[string]string, props *SelectProps) templ.Component
- func TOTPSetup(theme Theme, copy PasswordUICopy, state password.FormState, qr []byte, ...) templ.Component
- type ColorScheme
- type Font
- type PasswordUICopy
- type SelectProps
- type SelectProviderConfig
- type Theme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(theme Theme, copy PasswordUICopy, l web.Locations) (password.PasswordUi, []byte)
Types ¶
type ColorScheme ¶
type PasswordUICopy ¶
type PasswordUICopy struct {
RegisterTitle string
RegisterDescription string
LoginTitle string
LoginDescription string
Register string
RegisterPrompt string
LoginPrompt string
Login string
ForgotPrompt string
CodeResend string
CodeReturn string
InputEmail string
InputPassword string
InputCode string
InputRepeat string
ButtonContinue string
TotpTest string
TotpSkip string
EmailPlaceholder string
TotpInfo string
TotpPlaceholder string
Error map[error]string
}
func DefaultPasswordUICopy ¶
func DefaultPasswordUICopy() PasswordUICopy
type SelectProps ¶
type SelectProps struct {
Providers map[string]SelectProviderConfig
}
type SelectProviderConfig ¶
type Theme ¶
type Theme struct {
Title string
Favicon string
Radius string // "none" | "sm" | "md" | "lg" | "full"
Background ColorScheme // string or ColorScheme
Primary ColorScheme // string or ColorScheme
Logo ColorScheme // string or ColorScheme
Font Font
}
func DefaultPasswordUITheme ¶
func DefaultPasswordUITheme() Theme
Click to show internal directories.
Click to hide internal directories.