text-only keys: transparent bg in web UI, #21252b bg on device

This commit is contained in:
Maksim Totmin
2026-06-22 10:14:06 +07:00
parent 8df8b65163
commit cf190c57e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ func (pm *PageManager) renderKey(idx int, k *config.KeyConfig) {
}
slog.Warn("invalid background color", "value", k.Background, "error", err)
}
if err := pm.deck.WriteText(idx, k.Label, image.Black, fontName, fontSize); err != nil {
if err := pm.deck.WriteText(idx, k.Label, color.RGBA{0x21, 0x25, 0x2b, 0xff}, fontName, fontSize); err != nil {
slog.Warn("write text", "error", err)
}
} else if k.Background != "" {