2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-15 03:35:28 +00:00

Specify app bar color (#558)

This commit is contained in:
Oliver
2024-12-05 14:55:10 +11:00
committed by GitHub
parent 2e798b1bd1
commit 9c12a83176
14 changed files with 31 additions and 3 deletions

View File

@ -27,6 +27,11 @@ Color get COLOR_ACTION {
}
}
// Return an "app bar" color based on the current theme
Color get COLOR_APP_BAR {
return Colors.blueGrey;
}
const Color COLOR_WARNING = Color.fromRGBO(250, 150, 50, 1);
const Color COLOR_DANGER = Color.fromRGBO(200, 50, 75, 1);
const Color COLOR_SUCCESS = Color.fromRGBO(100, 200, 75, 1);