mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Improvements for dark mode (#322)
* Action colors are now determined based on theme * Fix unused import * Update some more colors based on theme * Updated release notes * Better color choice * Update for home screen * Updates for app drawer * remove unused import
This commit is contained in:
@ -165,7 +165,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().releaseNotes),
|
||||
subtitle: Text(L10().appReleaseNotes),
|
||||
leading: FaIcon(FontAwesomeIcons.fileLines, color: COLOR_CLICK),
|
||||
leading: FaIcon(FontAwesomeIcons.fileLines, color: COLOR_ACTION),
|
||||
onTap: () {
|
||||
_releaseNotes(context);
|
||||
},
|
||||
@ -176,7 +176,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().credits),
|
||||
subtitle: Text(L10().appCredits),
|
||||
leading: FaIcon(FontAwesomeIcons.bullhorn, color: COLOR_CLICK),
|
||||
leading: FaIcon(FontAwesomeIcons.bullhorn, color: COLOR_ACTION),
|
||||
onTap: () {
|
||||
_credits(context);
|
||||
}
|
||||
@ -187,7 +187,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().documentation),
|
||||
subtitle: Text("https://docs.inventree.org"),
|
||||
leading: FaIcon(FontAwesomeIcons.book, color: COLOR_CLICK),
|
||||
leading: FaIcon(FontAwesomeIcons.book, color: COLOR_ACTION),
|
||||
onTap: () {
|
||||
_openDocs();
|
||||
},
|
||||
@ -198,7 +198,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().translate),
|
||||
subtitle: Text(L10().translateHelp),
|
||||
leading: FaIcon(FontAwesomeIcons.language, color: COLOR_CLICK),
|
||||
leading: FaIcon(FontAwesomeIcons.language, color: COLOR_ACTION),
|
||||
onTap: () {
|
||||
_translate();
|
||||
}
|
||||
@ -209,7 +209,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().reportBug),
|
||||
subtitle: Text(L10().reportBugDescription),
|
||||
leading: FaIcon(FontAwesomeIcons.bug, color: COLOR_CLICK),
|
||||
leading: FaIcon(FontAwesomeIcons.bug, color: COLOR_ACTION),
|
||||
onTap: () {
|
||||
_reportBug(context);
|
||||
},
|
||||
|
Reference in New Issue
Block a user