Dark mode color fix (#318)

* Fix custom colors in API forms

* update release notes

* update build version
This commit is contained in:
Oliver 2023-04-16 22:07:01 +10:00 committed by GitHub
parent a3d712d11d
commit b54565d1c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -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,
);
}