mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-15 14:32:48 +00:00
Fixed some colors
This commit is contained in:
parent
b223076dae
commit
c0f7449a95
3 changed files with 8 additions and 2 deletions
|
@ -24,6 +24,9 @@ ThemeData lightTheme(ColorScheme? dynamicColorScheme) => ThemeData(
|
||||||
navigationBarTheme: NavigationBarThemeData(
|
navigationBarTheme: NavigationBarThemeData(
|
||||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||||
),
|
),
|
||||||
|
dialogTheme: DialogTheme(
|
||||||
|
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||||
|
),
|
||||||
pageTransitionsTheme: const PageTransitionsTheme(
|
pageTransitionsTheme: const PageTransitionsTheme(
|
||||||
builders: {
|
builders: {
|
||||||
TargetPlatform.android: PredictiveBackPageTransitionsBuilder()
|
TargetPlatform.android: PredictiveBackPageTransitionsBuilder()
|
||||||
|
@ -56,6 +59,9 @@ ThemeData darkTheme(ColorScheme? dynamicColorScheme) => ThemeData(
|
||||||
navigationBarTheme: NavigationBarThemeData(
|
navigationBarTheme: NavigationBarThemeData(
|
||||||
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||||
),
|
),
|
||||||
|
dialogTheme: DialogTheme(
|
||||||
|
surfaceTintColor: dynamicColorScheme?.surfaceTint
|
||||||
|
),
|
||||||
pageTransitionsTheme: const PageTransitionsTheme(
|
pageTransitionsTheme: const PageTransitionsTheme(
|
||||||
builders: {
|
builders: {
|
||||||
TargetPlatform.android: PredictiveBackPageTransitionsBuilder()
|
TargetPlatform.android: PredictiveBackPageTransitionsBuilder()
|
||||||
|
|
|
@ -377,7 +377,7 @@ class _Item extends StatelessWidget {
|
||||||
percent: data.values.toList()[0]/total,
|
percent: data.values.toList()[0]/total,
|
||||||
barRadius: const Radius.circular(5),
|
barRadius: const Radius.circular(5),
|
||||||
progressColor: Theme.of(context).colorScheme.primary,
|
progressColor: Theme.of(context).colorScheme.primary,
|
||||||
backgroundColor: Theme.of(context).colorScheme.surfaceContainerHighest,
|
backgroundColor: Theme.of(context).colorScheme.surfaceTint.withOpacity(0.2),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
|
|
|
@ -44,7 +44,7 @@ class ThemeModeButton extends StatelessWidget {
|
||||||
? Theme.of(context).colorScheme.primary
|
? Theme.of(context).colorScheme.primary
|
||||||
: greyBackgroundColor
|
: greyBackgroundColor
|
||||||
: disabled == null || disabled == false
|
: disabled == null || disabled == false
|
||||||
? Theme.of(context).colorScheme.surfaceContainerHighest
|
? Theme.of(context).colorScheme.surfaceTint.withOpacity(0.1)
|
||||||
: greyBackgroundColor,
|
: greyBackgroundColor,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue