diff --git a/README.md b/README.md index 298fa60..94a0667 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/theme.go b/theme.go index c50862d..db5872a 100644 --- a/theme.go +++ b/theme.go @@ -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() }