less gooo

This commit is contained in:
Sasha Koshka 2023-09-04 02:58:30 -04:00
parent d597f79a16
commit e84b54001f
2 changed files with 13 additions and 7 deletions

View File

@ -1 +1,14 @@
# aluminum
[![Go Reference](https://pkg.go.dev/badge/git.tebibyte.media/tomo/aluminum.svg)](https://pkg.go.dev/git.tebibyte.media/tomo/aluminum)
A futuristic, bluish white theme for Tomo.
## Installation
```
cd aluminum/aluminum
go build -buildmode=plugin .
mkdir -p ~/.local/lib/tomo/plugins
mv aluminum.so ~/.local/lib/tomo/plugins
```

View File

@ -230,13 +230,6 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
}
box.SetBorder(border...)
box.SetColor(buttonColor)
case "Icon":
switch role.Variant {
case "small": box.SetMinimumSize(image.Pt(16, 16))
case "medium": box.SetMinimumSize(image.Pt(32, 32))
case "large": box.SetMinimumSize(image.Pt(48, 48))
}
}
return event.MultiCookie()
}