Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
toaster authored and andydotxyz committed Nov 16, 2020
1 parent ab52462 commit 608d8f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions theme/theme.go
Expand Up @@ -203,7 +203,7 @@ func (t *builtinTheme) TextFont() fyne.Resource {
return t.regular
}

// TextBoldFont retutns the font resource for the bold font style
// TextBoldFont returns the font resource for the bold font style
func (t *builtinTheme) TextBoldFont() fyne.Resource {
return t.bold
}
Expand All @@ -218,7 +218,7 @@ func (t *builtinTheme) TextBoldItalicFont() fyne.Resource {
return t.boldItalic
}

// TextMonospaceFont retutns the font resource for the monospace font face
// TextMonospaceFont returns the font resource for the monospace font face
func (t *builtinTheme) TextMonospaceFont() fyne.Resource {
return t.monospace
}
Expand Down Expand Up @@ -313,7 +313,7 @@ func HoverColor() color.Color {
return current().HoverColor()
}

// FocusColor returns the color used to highlight a focussed widget
// FocusColor returns the color used to highlight a focused widget
func FocusColor() color.Color {
return current().FocusColor()
}
Expand All @@ -338,7 +338,7 @@ func TextFont() fyne.Resource {
return current().TextFont()
}

// TextBoldFont retutns the font resource for the bold font style
// TextBoldFont returns the font resource for the bold font style
func TextBoldFont() fyne.Resource {
return current().TextBoldFont()
}
Expand All @@ -353,7 +353,7 @@ func TextBoldItalicFont() fyne.Resource {
return current().TextBoldItalicFont()
}

// TextMonospaceFont retutns the font resource for the monospace font face
// TextMonospaceFont returns the font resource for the monospace font face
func TextMonospaceFont() fyne.Resource {
return current().TextMonospaceFont()
}
Expand Down Expand Up @@ -384,7 +384,7 @@ func DefaultTextFont() fyne.Resource {
return regular
}

// DefaultTextBoldFont retutns the font resource for the built-in bold font style
// DefaultTextBoldFont returns the font resource for the built-in bold font style
func DefaultTextBoldFont() fyne.Resource {
return bold
}
Expand All @@ -399,7 +399,7 @@ func DefaultTextBoldItalicFont() fyne.Resource {
return bolditalic
}

// DefaultTextMonospaceFont retutns the font resource for the built-in monospace font face
// DefaultTextMonospaceFont returns the font resource for the built-in monospace font face
func DefaultTextMonospaceFont() fyne.Resource {
return monospace
}
Expand Down

0 comments on commit 608d8f1

Please sign in to comment.