@@ -222,7 +222,7 @@ func (m *OAuth) headerContent() string {
222 textStyle = t.Dialog.PrimaryText
222 textStyle = t.Dialog.PrimaryText
223 dialogStyle = t.Dialog.View.Width(m.width)
223 dialogStyle = t.Dialog.View.Width(m.width)
224 headerOffset = titleStyle.GetHorizontalFrameSize() + dialogStyle.GetHorizontalFrameSize()
224 headerOffset = titleStyle.GetHorizontalFrameSize() + dialogStyle.GetHorizontalFrameSize()
225− dialogTitle = fmt.Sprintf("Authenticate with %s", m.oAuthProvider.name())
225+ dialogTitle = fmt.Sprintf("Let’s authenticate with %s", m.oAuthProvider.name())
227 if m.isOnboarding {
227 if m.isOnboarding {
228 return textStyle.Render(dialogTitle)
228 return textStyle.Render(dialogTitle)
@@ -232,13 +232,13 @@ func (m *OAuth) headerContent() string {
233func (m *OAuth) innerDialogContent() string {
233func (m *OAuth) innerDialogContent() string {
235− t = m.com.Styles
235+ t = m.com.Styles
236− whiteStyle = t.Dialog.OAuth.Instructions
236+ instructionStyle = t.Dialog.OAuth.Instructions
237− primaryStyle = t.Dialog.OAuth.Enter
237+ enterKeyStyle = t.Dialog.OAuth.Enter
238− greenStyle = t.Dialog.OAuth.Success
238+ successStyle = t.Dialog.OAuth.Success
239− linkStyle = t.Dialog.OAuth.Link
239+ linkStyle = t.Dialog.OAuth.Link
240− errorStyle = t.Dialog.OAuth.ErrorText
240+ errorStyle = t.Dialog.OAuth.ErrorText
241− mutedStyle = t.Dialog.OAuth.StatusText
241+ statusTextStyle = t.Dialog.OAuth.StatusText
244 switch m.State {
244 switch m.State {
@@ -248,8 +248,8 @@ func (m *OAuth) innerDialogContent() string {
248 Width(m.width - 2).
248 Width(m.width - 2).
249 Align(lipgloss.Center).
249 Align(lipgloss.Center).
251− greenStyle.Render(m.spinner.View()) +
251+ successStyle.Render(m.spinner.View()) +
252− mutedStyle.Render("Initializing..."),
252+ statusTextStyle.Render("Initializing..."),
255 case OAuthStateDisplay:
255 case OAuthStateDisplay:
@@ -257,9 +257,9 @@ func (m *OAuth) innerDialogContent() string {
257 Margin(0, 1).
257 Margin(0, 1).
258 Width(m.width - 2).
258 Width(m.width - 2).
260− whiteStyle.Render("Press ") +
260+ instructionStyle.Render("Press ") +
261− primaryStyle.Render("enter") +
261+ enterKeyStyle.Render("enter") +
262− whiteStyle.Render(" to copy the code below and open the browser."),
262+ instructionStyle.Render(" to copy the code below and open the browser."),
265 codeBox := lipgloss.NewStyle().
265 codeBox := lipgloss.NewStyle().
@@ -273,16 +273,16 @@ func (m *OAuth) innerDialogContent() string {
275 link := linkStyle.Hyperlink(m.verificationURL, "id=oauth-verify").Render(m.verificationURL)
275 link := linkStyle.Hyperlink(m.verificationURL, "id=oauth-verify").Render(m.verificationURL)
276− url := mutedStyle.
276+ url := statusTextStyle.
277 Margin(0, 1).
277 Margin(0, 1).
278 Width(m.width - 2).
278 Width(m.width - 2).
279− Render("Browser not opening? Refer to\n" + link)
279+ Render("Browser not opening? Pay a visit to:\n" + link)
281 waiting := lipgloss.NewStyle().
281 waiting := lipgloss.NewStyle().
282 Margin(0, 1).
282 Margin(0, 1).
283 Width(m.width - 2).
283 Width(m.width - 2).
285− greenStyle.Render(m.spinner.View()) + mutedStyle.Render("Verifying..."),
285+ successStyle.Render(m.spinner.View()) + statusTextStyle.Render("Verifying..."),
288 return lipgloss.JoinVertical(
288 return lipgloss.JoinVertical(
@@ -299,7 +299,7 @@ func (m *OAuth) innerDialogContent() string {
301 case OAuthStateSuccess:
301 case OAuthStateSuccess:
302− return greenStyle.
302+ return successStyle.
303 Margin(1).
303 Margin(1).
304 Width(m.width - 2).
304 Width(m.width - 2).
305 Render("Authentication successful!")
305 Render("Authentication successful!")