mirror of
https://github.com/anotherhadi/ilovetui.git
synced 2026-08-21 03:55:48 +02:00
21b574eb6f
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
26 lines
489 B
Go
26 lines
489 B
Go
package modal
|
|
|
|
import (
|
|
"image/color"
|
|
|
|
"charm.land/lipgloss/v2"
|
|
|
|
"github.com/anotherhadi/ilovetui/style"
|
|
)
|
|
|
|
type Styles struct {
|
|
Border lipgloss.Style
|
|
Title lipgloss.Style
|
|
Content lipgloss.Style
|
|
DimColor color.Color
|
|
}
|
|
|
|
func DefaultStyles() Styles {
|
|
return Styles{
|
|
Border: style.S.PanelFocused.Padding(0, 1),
|
|
Title: lipgloss.NewStyle().Bold(true).Foreground(style.S.Primary),
|
|
Content: lipgloss.NewStyle().Foreground(style.S.Text),
|
|
DimColor: style.S.Subtle,
|
|
}
|
|
}
|