Skip to content

Commit bd889d3

Browse files
making hyphenHint a const
1 parent 75338b5 commit bd889d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

styling/styling.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import (
1212
"golang.org/x/text/language"
1313
)
1414

15+
const (
16+
HyphenHint = "Use a hyphen when typing a name with a space."
17+
)
18+
1519
var (
1620
Green = lipgloss.NewStyle().Foreground(lipgloss.Color("#38B000"))
1721
Red = lipgloss.NewStyle().Foreground(lipgloss.Color("#D00000"))
@@ -27,8 +31,6 @@ var (
2731
Foreground(lipgloss.AdaptiveColor{Light: "#E1AD01", Dark: "#FFCC00"}).
2832
Render("\x1b]8;;https://docs.poke-cli.com\x1b\\docs.poke-cli.com\x1b]8;;\x1b\\")
2933

30-
HyphenHint = "Use a hyphen when typing a name with a space."
31-
3234
StyleBold = lipgloss.NewStyle().Bold(true)
3335
StyleItalic = lipgloss.NewStyle().Italic(true)
3436
StyleUnderline = lipgloss.NewStyle().Underline(true)

0 commit comments

Comments
 (0)