diff options
Diffstat (limited to 'internal/ui/theme.go')
| -rw-r--r-- | internal/ui/theme.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/ui/theme.go b/internal/ui/theme.go index 7faebf5..9d81aab 100644 --- a/internal/ui/theme.go +++ b/internal/ui/theme.go @@ -1,6 +1,7 @@ package ui import ( + "math/rand" "strconv" ) @@ -63,7 +64,7 @@ func RandomTheme() Theme { } func randColor() string { - return strconv.Itoa(rng.Intn(256)) + return strconv.Itoa(rand.Intn(256)) } func contrastColor(bg string) string { |
