2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Add transparent background image (#323)

- Fixes display of background image in dark mode
This commit is contained in:
Oliver 2023-04-19 20:54:52 +10:00 committed by GitHub
parent 612db9f194
commit 347692bf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View File

@ -1,6 +1,9 @@
## InvenTree App Release Notes ### 0.11.5 - April 2023
--- ---
- Fix background image transparency for dark mode
### 0.11.4 - April 2023 ### 0.11.4 - April 2023
--- ---

View File

@ -324,7 +324,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> with BaseWidgetPr
child: Column( child: Column(
children: [ children: [
Image.asset( Image.asset(
"assets/image/icon.png", "assets/image/logo_transparent.png",
color: Colors.white.withOpacity(0.2), color: Colors.white.withOpacity(0.2),
colorBlendMode: BlendMode.modulate, colorBlendMode: BlendMode.modulate,
scale: 0.5, scale: 0.5,

View File

@ -64,6 +64,7 @@ flutter:
assets: assets:
- assets/image/icon.png - assets/image/icon.png
- assets/image/logo_transparent.png
- assets/release_notes.md - assets/release_notes.md
- assets/credits.md - assets/credits.md
- assets/sounds/barcode_scan.mp3 - assets/sounds/barcode_scan.mp3