mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-15 06:22:48 +00:00
More UI changes
This commit is contained in:
parent
55010f8896
commit
5067122344
36 changed files with 819 additions and 743 deletions
|
@ -49,7 +49,7 @@ class DeleteModal extends StatelessWidget {
|
|||
Icon(
|
||||
Icons.delete,
|
||||
size: 24,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant
|
||||
color: Theme.of(context).colorScheme.secondary
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 16),
|
||||
|
@ -74,7 +74,7 @@ class DeleteModal extends StatelessWidget {
|
|||
AppLocalizations.of(context)!.removeWarning,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
|
@ -83,7 +83,7 @@ class DeleteModal extends StatelessWidget {
|
|||
"${serverToDelete.connectionMethod}://${serverToDelete.domain}${serverToDelete.path ?? ""}${serverToDelete.port != null ? ':${serverToDelete.port}' : ""}",
|
||||
style: TextStyle(
|
||||
fontStyle: FontStyle.italic,
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -190,9 +190,9 @@ class _ServersListState extends State<ServersList> with SingleTickerProviderStat
|
|||
color: Theme.of(context).colorScheme.primaryContainer,
|
||||
borderRadius: BorderRadius.circular(20)
|
||||
),
|
||||
child: const Icon(
|
||||
child: Icon(
|
||||
Icons.star,
|
||||
color: Colors.white,
|
||||
color: Theme.of(context).colorScheme.onPrimaryContainer,
|
||||
size: 10,
|
||||
),
|
||||
),
|
||||
|
@ -388,7 +388,7 @@ class _ServersListState extends State<ServersList> with SingleTickerProviderStat
|
|||
child: InkWell(
|
||||
onTap: () => widget.onChange(index),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||
child: topRow(servers[index], index),
|
||||
),
|
||||
),
|
||||
|
@ -398,7 +398,7 @@ class _ServersListState extends State<ServersList> with SingleTickerProviderStat
|
|||
child: InkWell(
|
||||
onTap: () => widget.onChange(index),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||
child: Column(
|
||||
children: [
|
||||
topRow(servers[index], index),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue