opt: color

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-14 12:25:42 +08:00
parent b898a78e62
commit bc0914e146
17 changed files with 115 additions and 61 deletions

View File

@@ -130,8 +130,17 @@ class _SearchPageState extends State<SearchPage> with RouteAware {
),
),
onPressed: _searchController.queryHotSearchList,
icon: const Icon(Icons.refresh_outlined, size: 18),
label: const Text('刷新'),
icon: Icon(
Icons.refresh_outlined,
size: 18,
color: Theme.of(context).colorScheme.secondary,
),
label: Text(
'刷新',
style: TextStyle(
color: Theme.of(context).colorScheme.secondary,
),
),
),
),
],
@@ -183,8 +192,17 @@ class _SearchPageState extends State<SearchPage> with RouteAware {
),
),
onPressed: _searchController.onClearHistory,
icon: const Icon(Icons.clear_all_outlined, size: 18),
label: const Text('清空'),
icon: Icon(
Icons.clear_all_outlined,
size: 18,
color: Theme.of(context).colorScheme.secondary,
),
label: Text(
'清空',
style: TextStyle(
color: Theme.of(context).colorScheme.secondary,
),
),
),
)
],