mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Changed some colors
This commit is contained in:
parent
7caa464b5b
commit
842e81495e
23 changed files with 89 additions and 90 deletions
|
@ -183,9 +183,9 @@ class _AddedListState extends State<AddedList> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -287,9 +287,9 @@ class _AddedListState extends State<AddedList> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.noClientsList,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
|
@ -331,9 +331,9 @@ class _AddedListState extends State<AddedList> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.errorLoadServerStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -419,9 +419,9 @@ class _ClientScreenState extends State<ClientScreen> {
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.noIdentifiers,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -653,18 +653,18 @@ class _ClientScreenState extends State<ClientScreen> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.noUpstreamServers,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.willBeUsedGeneralServers,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
@ -35,9 +35,9 @@ class ClientsList extends StatelessWidget {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -74,9 +74,9 @@ class ClientsList extends StatelessWidget {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.noClientsList,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
|
@ -107,9 +107,9 @@ class ClientsList extends StatelessWidget {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.errorLoadServerStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -254,7 +254,7 @@ class _SearchClientsWidgetState extends State<SearchClientsWidget> {
|
|||
height: 1,
|
||||
decoration: BoxDecoration(
|
||||
color: showDivider == true
|
||||
? Colors.grey.withOpacity(0.5)
|
||||
? Theme.of(context).colorScheme.surfaceVariant
|
||||
: Colors.transparent
|
||||
),
|
||||
),
|
||||
|
|
|
@ -8,7 +8,6 @@ class ConnectAppBar extends StatelessWidget with PreferredSizeWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.connect),
|
||||
centerTitle: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -162,9 +162,9 @@ class _CustomRulesListState extends State<CustomRulesList> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingFilters,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -205,9 +205,9 @@ class _CustomRulesListState extends State<CustomRulesList> {
|
|||
AppLocalizations.of(context)!.noBlackLists,
|
||||
textAlign: TextAlign.center,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -251,9 +251,9 @@ class _CustomRulesListState extends State<CustomRulesList> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.filtersNotLoaded,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -87,9 +87,9 @@ class _FiltersListState extends State<FiltersList> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingFilters,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -130,9 +130,9 @@ class _FiltersListState extends State<FiltersList> {
|
|||
? AppLocalizations.of(context)!.noBlackLists
|
||||
: AppLocalizations.of(context)!.noWhiteLists,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
|
@ -175,9 +175,9 @@ class _FiltersListState extends State<FiltersList> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.filtersNotLoaded,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -69,9 +69,9 @@ class _HomeState extends State<Home> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -177,9 +177,9 @@ class _HomeState extends State<Home> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.errorLoadServerStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -234,9 +234,9 @@ class TopItems extends StatelessWidget {
|
|||
),
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.noItems,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -245,9 +245,9 @@ class _LogsWidgetState extends State<LogsWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingLogs,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -290,9 +290,9 @@ class _LogsWidgetState extends State<LogsWidget> {
|
|||
children: [
|
||||
Text(
|
||||
AppLocalizations.of(context)!.noLogsDisplay,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
if (logsProvider.logsOlderThan != null) Padding(
|
||||
|
@ -304,9 +304,9 @@ class _LogsWidgetState extends State<LogsWidget> {
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.noLogsThatOld,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -330,9 +330,9 @@ class _LogsWidgetState extends State<LogsWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.logsNotLoaded,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -220,9 +220,9 @@ class _ClientsListState extends State<ClientsList> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingClients,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -295,9 +295,9 @@ class _ClientsListState extends State<ClientsList> {
|
|||
Text(
|
||||
noItems(),
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 30),
|
||||
|
@ -355,9 +355,9 @@ class _ClientsListState extends State<ClientsList> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.clientsNotLoaded,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -71,9 +71,9 @@ class AppLogs extends StatelessWidget {
|
|||
: Center(
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.noSavedLogs,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
)
|
||||
|
|
|
@ -388,9 +388,9 @@ class _DhcpWidgetState extends State<DhcpWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingDhcp,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -747,9 +747,9 @@ class _DhcpWidgetState extends State<DhcpWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.dhcpSettingsNotLoaded,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -174,8 +174,8 @@ class DhcpLeases extends StatelessWidget {
|
|||
? AppLocalizations.of(context)!.noDhcpStaticLeases
|
||||
: AppLocalizations.of(context)!.noLeases,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 22
|
||||
),
|
||||
),
|
||||
|
|
|
@ -165,8 +165,8 @@ class _BootstrapDnsScreenState extends State<BootstrapDnsScreen> {
|
|||
child: Center(
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.noBootstrapDns,
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 16
|
||||
),
|
||||
),
|
||||
|
|
|
@ -90,9 +90,9 @@ class _DnsSettingsWidgetState extends State<DnsSettingsWidget> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingDnsConfig,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -171,9 +171,9 @@ class _DnsSettingsWidgetState extends State<DnsSettingsWidget> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.dnsConfigNotLoaded,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -196,8 +196,8 @@ class _PrivateReverseDnsServersScreenState extends State<PrivateReverseDnsServer
|
|||
child: Text(
|
||||
"${AppLocalizations.of(context)!.reverseDnsDefault}:\n\n${defaultReverseResolvers.map((item) => item).join(', ').toString().replaceAll(RegExp(r'\(|\)'), '')}",
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 16
|
||||
),
|
||||
),
|
||||
|
@ -264,8 +264,8 @@ class _PrivateReverseDnsServersScreenState extends State<PrivateReverseDnsServer
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.noServerAddressesAdded,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 16
|
||||
),
|
||||
),
|
||||
|
|
|
@ -173,8 +173,8 @@ class _UpstreamDnsScreenState extends State<UpstreamDnsScreen> {
|
|||
child: Center(
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.noUpstreamDns,
|
||||
style: const TextStyle(
|
||||
color: Colors.grey,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 16
|
||||
),
|
||||
),
|
||||
|
|
|
@ -151,9 +151,9 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.loadingRewriteRules,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -243,9 +243,9 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
return Center(
|
||||
child: Text(
|
||||
AppLocalizations.of(context)!.noRewriteRules,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -266,9 +266,9 @@ class _DnsRewritesWidgetState extends State<DnsRewritesWidget> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.rewriteRulesNotLoaded,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -287,9 +287,9 @@ class _EncryptionSettingsWidgetState extends State<EncryptionSettingsWidget> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.loadingEncryptionSettings,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
@ -613,9 +613,9 @@ class _EncryptionSettingsWidgetState extends State<EncryptionSettingsWidget> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.encryptionSettingsNotLoaded,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -83,9 +83,9 @@ class _ServerInformationWidgetState extends State<ServerInformationWidget> {
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.loadingServerInfo,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
)
|
||||
|
@ -161,9 +161,9 @@ class _ServerInformationWidgetState extends State<ServerInformationWidget> {
|
|||
Text(
|
||||
AppLocalizations.of(context)!.serverInfoNotLoaded,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
|
@ -271,9 +271,9 @@ class _TopItemsScreenState extends State<TopItemsScreen> {
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.noItemsSearch,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
color: Colors.grey
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -419,9 +419,9 @@ class _ServersListState extends State<ServersList> with SingleTickerProviderStat
|
|||
child: Text(
|
||||
AppLocalizations.of(context)!.noSavedConnections,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Colors.grey,
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue