Apply new style left menu in Settings

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-07-03 10:41:27 +07:00
committed by Dat H. Pham
parent 561972bc0d
commit 141fa2cc2c
5 changed files with 212 additions and 156 deletions
@@ -243,6 +243,7 @@ extension AppColor on Color {
static const steelGray600 = Color(0xFF4E5966);
static const blue100 = Color(0xFFDFEEFF);
static const blue400 = Color(0xFF80BDFF);
static const blue900 = Color(0xFF0F76E7);
static const m3Tertiary = Color(0xFF8C9CAF);
static const m3Neutral70 = Color(0xFFAEAAAE);
static const m3Neutral90 = Color(0xFFE6E1E5);
@@ -263,6 +264,8 @@ extension AppColor on Color {
static const profileMenuDivider = Color(0xFF1D192B);
static const popupMenuItemHovered = Color(0xFFF8F8F8);
static const secondaryContrastText = Color(0xFFFFFFFF);
static const primaryLinShare = Color(0xFF007AFF);
static const lightGrayEAEDF2 = Color(0xFFEAEDF2);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
+2 -1
View File
@@ -6,12 +6,13 @@ import 'package:flutter/services.dart';
class ThemeUtils {
ThemeUtils._();
static ThemeData get appTheme {
static ThemeData buildAppTheme(BuildContext context) {
return ThemeData(
scaffoldBackgroundColor: Colors.white,
fontFamily: ConstantsUI.fontApp,
appBarTheme: _appBarTheme,
textTheme: _textTheme,
hoverColor: Theme.of(context).colorScheme.outline.withOpacity(0.08),
textSelectionTheme: _textSelectionTheme,
dividerTheme: _dividerTheme,
visualDensity: VisualDensity.adaptivePlatformDensity,