less gooo
This commit is contained in:
parent
d597f79a16
commit
e84b54001f
13
README.md
13
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
|
||||
```
|
||||
|
7
theme.go
7
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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user