From 569058b49dfd72f890698d5a7b200e09b3ffb440 Mon Sep 17 00:00:00 2001 From: Enzo Conty Date: Fri, 22 Dec 2023 14:06:24 +0100 Subject: [PATCH 1/3] fix: updating a color to match figma --- lib/src/colors.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/colors.dart b/lib/src/colors.dart index c32eec11..569ac37d 100644 --- a/lib/src/colors.dart +++ b/lib/src/colors.dart @@ -81,7 +81,7 @@ class YaruColors { final Color success; /// Porcelain - static const Color porcelain = Color(0xFFFAFAFA); + static const Color porcelain = Color(0xFFFFFFFF); /// Inkstone static const Color inkstone = Color(0xFF3B3B3B); From b703551510cfbc0639ad9cde413369b00fb5fd7d Mon Sep 17 00:00:00 2001 From: Enzo Conty Date: Fri, 22 Dec 2023 14:06:49 +0100 Subject: [PATCH 2/3] fix: removing a deprecated parameter --- lib/src/widgets/inherited_theme.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/src/widgets/inherited_theme.dart b/lib/src/widgets/inherited_theme.dart index cd723dc7..323e3eff 100644 --- a/lib/src/widgets/inherited_theme.dart +++ b/lib/src/widgets/inherited_theme.dart @@ -370,7 +370,6 @@ extension _YaruThemeDataX on ThemeData { return copyWith( extensions: data.extensions, pageTransitionsTheme: data.pageTransitionsTheme, - useMaterial3: data.useMaterial3, visualDensity: data.visualDensity, ); } From cc3c04524854df9a3798de825174e343e2a9558f Mon Sep 17 00:00:00 2001 From: Enzo Conty Date: Tue, 26 Dec 2023 10:18:30 +0100 Subject: [PATCH 3/3] fix: updating the background color on light theme --- lib/src/colors.dart | 2 +- lib/src/themes/common_themes.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/colors.dart b/lib/src/colors.dart index 569ac37d..c32eec11 100644 --- a/lib/src/colors.dart +++ b/lib/src/colors.dart @@ -81,7 +81,7 @@ class YaruColors { final Color success; /// Porcelain - static const Color porcelain = Color(0xFFFFFFFF); + static const Color porcelain = Color(0xFFFAFAFA); /// Inkstone static const Color inkstone = Color(0xFF3B3B3B); diff --git a/lib/src/themes/common_themes.dart b/lib/src/themes/common_themes.dart index a582cf97..6d1a4abe 100644 --- a/lib/src/themes/common_themes.dart +++ b/lib/src/themes/common_themes.dart @@ -754,7 +754,7 @@ ThemeData createYaruLightTheme({ onSecondary: contrastColor(secondary), secondaryContainer: secondaryContainer, onSecondaryContainer: contrastColor(secondaryContainer), - background: YaruColors.porcelain, + background: Colors.white, onBackground: YaruColors.jet, surface: Colors.white, onSurface: YaruColors.jet,