mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-13 13:07:38 +02:00
fix: Further improvements on app theming
This commit is contained in:
@ -15,6 +15,10 @@ class CustomPopupMenu extends StatelessWidget {
|
||||
return Theme(
|
||||
data: Theme.of(context).copyWith(useMaterial3: false),
|
||||
child: PopupMenuButton<int>(
|
||||
icon: Icon(
|
||||
Icons.more_vert,
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
onSelected: onSelected,
|
||||
itemBuilder: (context) => children.entries
|
||||
.map(
|
||||
|
@ -26,10 +26,7 @@ class CustomSliverAppBar extends StatelessWidget {
|
||||
: Theme.of(context).canvasColor,
|
||||
),
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
titlePadding: const EdgeInsets.symmetric(
|
||||
vertical: 23.0,
|
||||
horizontal: 20.0,
|
||||
),
|
||||
titlePadding: const EdgeInsets.only(bottom: 16.0, left: 20.0),
|
||||
title: title,
|
||||
),
|
||||
actions: actions,
|
||||
|
@ -36,6 +36,9 @@ class _SearchBarState extends State<SearchBar> {
|
||||
child: TextFormField(
|
||||
onChanged: widget.onQueryChanged,
|
||||
controller: _textController,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
decoration: InputDecoration(
|
||||
filled: true,
|
||||
fillColor: Theme.of(context).colorScheme.secondaryContainer,
|
||||
|
Reference in New Issue
Block a user