add Logo frame

This commit is contained in:
2024-08-28 14:01:03 +02:00
parent c838b3ff27
commit ce436908c0
3 changed files with 24 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -103,6 +103,30 @@ class MyTheme {
return Color(_succColor);
}
AssetImage logoFrame() {
if (mode == "Dark") {
return const AssetImage(
'images/frame_dark.png',
);
} else {
return const AssetImage(
'images/frame_light.png',
);
}
}
AssetImage altLogoFrame() {
if (mode == "Light") {
return const AssetImage(
'images/frame_dark.png',
);
} else {
return const AssetImage(
'images/frame_light.png',
);
}
}
AssetImage logoImage() {
if (mode == "Dark") {
return const AssetImage(