works now

This commit is contained in:
Robin Olsen
2026-03-18 11:58:31 +01:00
parent 40d25cc716
commit 3e9a903506
24 changed files with 154 additions and 99 deletions

View File

@@ -5,6 +5,7 @@ import (
"os"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/style"
)
type Initializer interface {
@@ -30,7 +31,7 @@ func (i InteractiveInitializer) Init(path string) error {
Title("PM is not initialized in this directory!").
Description("Do you want to initialize it here?").
Value(&initialize),
)).WithTheme(huh.ThemeBase16()).WithAccessible(true).Run()
)).WithTheme(style.Base16Theme{}).WithAccessible(true).Run()
if err != nil {
return err