-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy paththeme.go
35 lines (24 loc) · 1.22 KB
/
theme.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package main
//go:generate fyne bundle -package main -o bundled.go assets
import (
"image/color"
"fyne.io/fyne/v2/theme"
)
var (
mqttLogo = resourceMqttHorSvg
mqttIcon = resourceMqttIconSvg
disableColor = color.RGBA{R: 0, G: 0, B: 0, A: 0x7F}
enableColor = color.Transparent
weatherSnowflake = theme.NewThemedResource(resourceSnowflakeSvg)
weatherNight = theme.NewThemedResource(resourceWeatherNightSvg)
weatherCloudy = theme.NewThemedResource(resourceWeatherCloudySvg)
weatherCloudyWindy = theme.NewThemedResource(resourceWeatherWindyVariantSvg)
weatherCloudyLightning = theme.NewThemedResource(resourceWeatherLightningSvg)
weatherCloudyRaining = theme.NewThemedResource(resourceWeatherRainySvg)
weatherCloudyPouring = theme.NewThemedResource(resourceWeatherPouringSvg)
weatherCloudyRainingLightning = theme.NewThemedResource(resourceWeatherLightningRainySvg)
weatherPartlyCloudy = theme.NewThemedResource(resourceWeatherPartlyCloudySvg)
weatherPartlyCloudyLightning = theme.NewThemedResource(resourceWeatherPartlyLightningSvg)
weatherSunny = theme.NewThemedResource(resourceWeatherSunnySvg)
weatherWindy = theme.NewThemedResource(resourceWeatherWindySvg)
)