add global style package
This commit is contained in:
14
internal/style/themes.go
Normal file
14
internal/style/themes.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package style
|
||||
|
||||
import (
|
||||
"github.com/charmbracelet/huh"
|
||||
"github.com/charmbracelet/lipgloss"
|
||||
)
|
||||
|
||||
func HuhCenterTheme() *huh.Theme {
|
||||
theme := huh.ThemeBase16()
|
||||
|
||||
theme.Focused.Base = lipgloss.NewStyle().Align(lipgloss.Center)
|
||||
|
||||
return theme
|
||||
}
|
||||
Reference in New Issue
Block a user