Started making some icons

This commit is contained in:
Sasha Koshka 2023-08-29 15:51:35 -04:00
parent e00bc615c2
commit 07f41dc39d
2 changed files with 2 additions and 2 deletions

BIN
assets/mime-medium.xcf Normal file

Binary file not shown.

View File

@ -39,7 +39,7 @@ var buttonColor = hex(0xe9eaeaFF)
var buttonColorPressed = hex(0xe3e4e4FF)
var buttonColorFocused = hex(0xe4e6e8FF)
var buttonColorHovered = hex(0xf1f3f5FF)
var dotColor = hex(0xa4b1c6FF)
var dotColor = hex(0x7391c080)
var inputColor = hex(0xe3e4e4FF)
var textColor = hex(0x000000FF)
var backgroundColor = hex(0xd6d6d6FF)
@ -63,7 +63,6 @@ func (this *Theme) RGBA (id theme.Color) (r, g, b, a uint32) {
func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
box := object.GetBox()
box.SetColor(backgroundColor)
if textBox, ok := box.(tomo.TextBox); ok {
textBox.SetDotColor(dotColor)
@ -149,6 +148,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
case "Container":
if role.Variant == "outer" {
box.SetColor(backgroundColor)
box.SetPadding(tomo.I(8))
}