1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-12-26 20:54:07 +02:00
gambit/style/style.go
2022-02-14 22:08:25 -05:00

17 lines
333 B
Go

package style
import . "github.com/charmbracelet/lipgloss"
type colorFunc func(s string) string
func fg(color string) colorFunc {
return NewStyle().Foreground(Color(color)).Render
}
var Cyan = fg("6")
var Faint = fg("8")
var Magenta = fg("5")
var Red = fg("1")
var Title = NewStyle().Foreground(Color("5")).Italic(true).Render