initial commit

This commit is contained in:
basil 2025-06-08 14:07:05 -04:00
commit 078bd90570
Signed by: basil
SSH key fingerprint: SHA256:y04xIFL/yqNaG9ae9Vl95vELtHfApGAIoOGLeVLP/fE
9 changed files with 374 additions and 0 deletions

12
tool/template.gotmpl Normal file
View file

@ -0,0 +1,12 @@
package catppuccin
import "github.com/charmbracelet/lipgloss"
type Palette struct {
{{ range colorVars }}{{ "\t" }}{{ . }} lipgloss.Color{{ "\n" }}{{ end }}
}
{{ range $var, $p := palettes }}
var {{ $var }} = Palette{
{{ range $_, $c := $p.Colors }}{{ "\t" }}{{ .VarName }}: lipgloss.Color("{{ .Hex }}"),{{ "\n" }}{{ end }}
}{{ end }}