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