Checkpoint

This commit is contained in:
maze authored and maze committed 2026-10-29 17:29:54 +01:00
1 parent c5d6137fab
commit 4ae7655cd8
223 files changed
+14770 -18352

No files matched your search

+2 -10
View File
@@ -1,15 +1,5 @@
package config
import (
"image/color"
"strings"
"github.com/BeatGlow/beatglow/ui"
"github.com/BeatGlow/beatglow/ui/font"
"github.com/mazznoer/csscolorparser"
"github.com/sirupsen/logrus"
)
type Style struct {
Color string `hcl:"color,optional"`
Font string `hcl:"font,optional"`
@@ -19,6 +9,7 @@ type Style struct {
}
// Apply styles; errors are logged but don't override styles, so we don't break visuals.
/*
func (s Style) Apply(style *ui.Style) {
if s.Color != "" {
c, err := csscolorparser.Parse(s.Color)
@@ -75,3 +66,4 @@ func (s Style) Apply(style *ui.Style) {
logrus.WithField("hinting", s.Hinting).Warn("font hinting invalid")
}
}
*/