Skip to content

Commit

Permalink
[*]Dark theme fix for AppBar #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Jan 10, 2024
1 parent 94ef7fc commit 7837048
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/ui/auth/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class _LoginState extends State<Login> {
appBar: AppBar(
title:
Text('$title - 登录', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
actions: AppbarActionsX(context: context).actions(),
),
body: Center(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/auth/register.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class _RegisterState extends State<Register> {
appBar: AppBar(
title:
Text('$title - 注册', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
actions: AppbarActionsX(context: context).actions(),
),
body: ListView(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Home extends StatelessWidget {
appBar: AppBar(
title:
Text('$title - 首页', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
actions: AppbarActionsX(context: context).actions(),
automaticallyImplyLeading: false,
),
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/model/FloatingActionButton.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class FloatingActionButtonX {
return Builder(builder: (BuildContext context) {
return FloatingActionButton(
foregroundColor: Colors.white,
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
onPressed: () => Get.dialog(ToolDialogX(context: context).build()),
elevation: 7.0,
highlightElevation: 14.0,
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/panel/console.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PanelConsole extends StatelessWidget {
appBar: AppBar(
title:
Text('$title - 仪表板', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
//automaticallyImplyLeading: false,
actions: AppbarActionsX(append: <Widget>[
IconButton(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/panel/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PanelHome extends StatelessWidget {
appBar: AppBar(
title:
Text('$title - 仪表板', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
//automaticallyImplyLeading: false,
actions: AppbarActionsX(append: <Widget>[
IconButton(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/panel/proxies.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PanelProxies extends StatelessWidget {
appBar: AppBar(
title:
Text('$title - 仪表板', style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
//automaticallyImplyLeading: false,
actions: AppbarActionsX(append: <Widget>[
IconButton(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/setting/injector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SettingInjector extends StatelessWidget {
appBar: AppBar(
title: Text('$title - 设置',
style: const TextStyle(color: Colors.white)),
backgroundColor: Colors.pink[100],
backgroundColor: Get.theme.primaryColor,
actions:
AppbarActionsX(context: context, setting: false).actions(),
bottom: TabBar(
Expand Down

0 comments on commit 7837048

Please sign in to comment.