Update Fleetd icon used in KDE (#41108)
Fixes #41108 Use color version of icon on KDE to improve UX on light/dark themes.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
- Use color version of icon on KDE to improve UX on light/dark themes
|
||||
@@ -15,14 +15,14 @@ import (
|
||||
//go:embed icon_dark.png
|
||||
var iconDarkDefault []byte
|
||||
|
||||
//go:embed icon_dark_kde.png
|
||||
var iconDarkKDE []byte
|
||||
//go:embed icon_kde.png
|
||||
var iconKDE []byte
|
||||
|
||||
var iconDark = getIcon()
|
||||
|
||||
func getIcon() []byte {
|
||||
if isKDE() {
|
||||
return iconDarkKDE
|
||||
return iconKDE
|
||||
}
|
||||
return iconDarkDefault
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 499 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user