mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-30 17:21:28 +00:00
Dark mode color fix (#318)
* Fix custom colors in API forms * update release notes * update build version
This commit is contained in:
@@ -743,7 +743,7 @@ class APIFormField {
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 18,
|
||||
fontFamily: "arial",
|
||||
color: hasErrors() ? COLOR_DANGER : COLOR_GRAY,
|
||||
color: hasErrors() ? COLOR_DANGER : null,
|
||||
fontStyle: FontStyle.normal,
|
||||
);
|
||||
}
|
||||
@@ -751,7 +751,7 @@ class APIFormField {
|
||||
TextStyle _helperStyle() {
|
||||
return TextStyle(
|
||||
fontStyle: FontStyle.italic,
|
||||
color: hasErrors() ? COLOR_DANGER : COLOR_GRAY,
|
||||
color: hasErrors() ? COLOR_DANGER : null,
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user