From a5309105f7aeedb97de325f9edf14e21ac3dee55 Mon Sep 17 00:00:00 2001 From: BigDuck Date: Mon, 2 Feb 2026 12:21:53 +0800 Subject: [PATCH 1/2] blurred button&weather information --- lib/app/home/_widgets/hero_weather.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/app/home/_widgets/hero_weather.dart b/lib/app/home/_widgets/hero_weather.dart index adc04e8c9..8dcea828e 100644 --- a/lib/app/home/_widgets/hero_weather.dart +++ b/lib/app/home/_widgets/hero_weather.dart @@ -111,7 +111,7 @@ class HeroWeather extends StatelessWidget { Icon( _getWeatherIcon(data.weatherCode), size: 24, - color: Colors.white.withValues(alpha: 0.9), + color: Colors.white.withValues(alpha: 1), shadows: [ Shadow( color: Colors.black.withValues(alpha: 0.3), @@ -124,7 +124,7 @@ class HeroWeather extends StatelessWidget { Text( data.weather, style: context.texts.titleMedium?.copyWith( - color: Colors.white.withValues(alpha: 0.9), + color: Colors.white.withValues(alpha: 1), fontWeight: FontWeight.w400, shadows: [ Shadow( @@ -143,7 +143,7 @@ class HeroWeather extends StatelessWidget { 'feelsLike': feelsLike.round(), }), style: context.texts.bodyMedium?.copyWith( - color: Colors.white.withValues(alpha: 0.7), + color: Colors.white.withValues(alpha: 1), shadows: [ Shadow( color: Colors.black.withValues(alpha: 0.3), From 5b8a938a8584f98030eef4e7781c5c161a2e57e9 Mon Sep 17 00:00:00 2001 From: BigDuck Date: Mon, 2 Feb 2026 12:24:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20blurred=5Fbutton.dart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/app/home/_widgets/blurred_button.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/app/home/_widgets/blurred_button.dart b/lib/app/home/_widgets/blurred_button.dart index 8b903ffea..5ddb90379 100644 --- a/lib/app/home/_widgets/blurred_button.dart +++ b/lib/app/home/_widgets/blurred_button.dart @@ -48,7 +48,9 @@ class BlurredTextButton extends StatelessWidget { child: TextButton( style: TextButton.styleFrom( shape: const StadiumBorder(), - foregroundColor: context.colors.outline, + foregroundColor: Theme.of(context).brightness == Brightness.dark + ? const Color.fromARGB(199, 250, 250, 250) + : const Color.fromARGB(255, 50, 50, 50), textStyle: textStyle, padding: const EdgeInsets.symmetric(horizontal: 16), ),