File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -888,6 +888,21 @@ class _SiteEditPageState extends State<SiteEditPage> {
888888 appBar: AppBar (
889889 title: Text (widget.site != null ? '编辑服务器' : '添加服务器' ),
890890 actions: const [QbSpeedIndicator ()],
891+ backgroundColor: Theme .of (context).brightness == Brightness .light
892+ ? Theme .of (context).colorScheme.primary
893+ : Theme .of (context).colorScheme.surface,
894+ iconTheme: IconThemeData (
895+ color: Theme .of (context).brightness == Brightness .light
896+ ? Theme .of (context).colorScheme.onPrimary
897+ : Theme .of (context).colorScheme.onSurface,
898+ ),
899+ titleTextStyle: TextStyle (
900+ color: Theme .of (context).brightness == Brightness .light
901+ ? Theme .of (context).colorScheme.onPrimary
902+ : Theme .of (context).colorScheme.onSurface,
903+ fontSize: 20 ,
904+ fontWeight: FontWeight .w500,
905+ ),
891906 ),
892907 body: Form (
893908 key: _formKey,
You can’t perform that action at this time.
0 commit comments