dirs
ci/woodpecker/push/ebitengine Pipeline was successful

This commit is contained in:
2026-08-30 23:21:06 +02:00
parent 28b1662195
commit c5c0c02c03
115 changed files with 1083 additions and 950 deletions
+29
View File
@@ -0,0 +1,29 @@
package theme
import (
"image/color"
inkwell "git.teletypegames.org/engines/inkwell"
)
type Theme = inkwell.Theme
var Manager = inkwell.NewManager[Theme]()
func RGB(hex uint32) color.Color {
return color.RGBA{
R: uint8(hex >> 16),
G: uint8(hex >> 8),
B: uint8(hex),
A: 0xff,
}
}
func RGBA(hex uint32, a uint8) color.Color {
return color.RGBA{
R: uint8(hex >> 16),
G: uint8(hex >> 8),
B: uint8(hex),
A: a,
}
}