From a82d28a6d52fffae1c770a3fd2cf8c7e903ea807 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Thu, 11 May 2023 15:17:24 +0200 Subject: [PATCH] feat(ui): tweak some values --- .../card_theme_extension_impl.dart | 2 +- .../text_input_theme_extension_impl.dart | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/wyatt_ui_kit/lib/src/data/theme_extensions/card_theme_extension_impl.dart b/packages/wyatt_ui_kit/lib/src/data/theme_extensions/card_theme_extension_impl.dart index 1439087b..0ac0e4d2 100644 --- a/packages/wyatt_ui_kit/lib/src/data/theme_extensions/card_theme_extension_impl.dart +++ b/packages/wyatt_ui_kit/lib/src/data/theme_extensions/card_theme_extension_impl.dart @@ -77,7 +77,7 @@ class CardThemeExtensionImpl extends CardThemeExtension { radius: const BorderRadius.all(Radius.circular(12)), padding: const EdgeInsets.all(25), stroke: 1, - backgroundColors: WyattColors.grayBgOpacityGradient, + backgroundColors: MultiColor.single(WyattColors.light.withOpacity(0.04)), borderColors: WyattColors.grayGradient, titleStyle: theme.textTheme.titleLarge?.copyWith( fontSize: 26, diff --git a/packages/wyatt_ui_kit/lib/src/data/theme_extensions/text_input_theme_extension_impl.dart b/packages/wyatt_ui_kit/lib/src/data/theme_extensions/text_input_theme_extension_impl.dart index 565f606b..49b1d7b4 100644 --- a/packages/wyatt_ui_kit/lib/src/data/theme_extensions/text_input_theme_extension_impl.dart +++ b/packages/wyatt_ui_kit/lib/src/data/theme_extensions/text_input_theme_extension_impl.dart @@ -35,7 +35,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { normalStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(221, 224, 227, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(55, 65, 81, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -45,7 +45,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { focusedStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(60, 125, 251, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(55, 65, 81, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -55,7 +55,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { invalidStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(244, 68, 100, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(244, 68, 100, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -65,7 +65,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { disabledStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(229, 231, 235, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(156, 163, 175, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -81,7 +81,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { normalStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(96, 101, 106, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(204, 204, 204, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -91,7 +91,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { focusedStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(60, 125, 251, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(204, 204, 204, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -101,7 +101,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { invalidStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(244, 68, 100, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(244, 68, 100, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith( @@ -111,7 +111,7 @@ class TextInputThemeExtensionImpl extends TextInputThemeExtension { disabledStyle: TextInputStyle( radius: BorderRadius.circular(12), borderColors: const Color.fromRGBO(96, 101, 106, 1), - labelStyle: theme.textTheme.labelLarge?.copyWith( + labelStyle: theme.textTheme.labelMedium?.copyWith( color: const Color.fromRGBO(96, 101, 106, 1), ), inputStyle: theme.textTheme.bodyMedium?.copyWith(