MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / newLoginStyles

Function newLoginStyles

tui/login.go:60–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func newLoginStyles() loginStyles {
61 return loginStyles{
62 prompt: SubtleTextStyle().MarginBottom(1),
63 help: HelpStyle().MarginTop(1),
64 input: PrimaryStyle().
65 Border(lipgloss.RoundedBorder()).
66 BorderForeground(lipgloss.Color(theme.PrimaryColor)).
67 Padding(0, 1).
68 MarginBottom(1),
69 }
70}
71
72func NewLoginModel(authURL string) LoginModel {
73 s := NewPrimarySpinner()

Callers 1

NewLoginModelFunction · 0.85

Calls 3

SubtleTextStyleFunction · 0.85
HelpStyleFunction · 0.85
PrimaryStyleFunction · 0.85

Tested by

no test coverage detected