mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-30 21:05:42 +00:00 
			
		
		
		
	Dark mode color fix (#318)
* Fix custom colors in API forms * update release notes * update build version
This commit is contained in:
		| @@ -1,6 +1,11 @@ | |||||||
| ## InvenTree App Release Notes | ## InvenTree App Release Notes | ||||||
| --- | --- | ||||||
|  |  | ||||||
|  | ### 0.11.3 - April 2023 | ||||||
|  | --- | ||||||
|  |  | ||||||
|  | - Fixes text color in dark mode | ||||||
|  |  | ||||||
| ### 0.11.2 - April 2023 | ### 0.11.2 - April 2023 | ||||||
| --- | --- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -743,7 +743,7 @@ class APIFormField { | |||||||
|       fontWeight: FontWeight.bold, |       fontWeight: FontWeight.bold, | ||||||
|       fontSize: 18, |       fontSize: 18, | ||||||
|       fontFamily: "arial", |       fontFamily: "arial", | ||||||
|       color: hasErrors() ? COLOR_DANGER : COLOR_GRAY, |       color: hasErrors() ? COLOR_DANGER : null, | ||||||
|       fontStyle: FontStyle.normal, |       fontStyle: FontStyle.normal, | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
| @@ -751,7 +751,7 @@ class APIFormField { | |||||||
|   TextStyle _helperStyle() { |   TextStyle _helperStyle() { | ||||||
|     return TextStyle( |     return TextStyle( | ||||||
|       fontStyle: FontStyle.italic, |       fontStyle: FontStyle.italic, | ||||||
|       color: hasErrors() ? COLOR_DANGER : COLOR_GRAY, |       color: hasErrors() ? COLOR_DANGER : null, | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| import "dart:ui"; | import "dart:ui"; | ||||||
|  |  | ||||||
| const Color COLOR_GRAY = Color.fromRGBO(50, 50, 50, 1); |  | ||||||
| const Color COLOR_GRAY_LIGHT = Color.fromRGBO(150, 150, 150, 1); | const Color COLOR_GRAY_LIGHT = Color.fromRGBO(150, 150, 150, 1); | ||||||
|  |  | ||||||
| const Color COLOR_CLICK = Color.fromRGBO(150, 120, 100, 0.9); | const Color COLOR_CLICK = Color.fromRGBO(150, 120, 100, 0.9); | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| name: inventree | name: inventree | ||||||
| description: InvenTree stock management | description: InvenTree stock management | ||||||
|  |  | ||||||
| version: 0.11.2+61 | version: 0.11.3+62 | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   sdk: ">=2.16.0 <3.0.0" |   sdk: ">=2.16.0 <3.0.0" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user