|
|
|
|
@ -3,6 +3,8 @@ import 'package:diplomaticquarterapp/Constants.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
|
|
|
|
|
|
import 'colors.dart';
|
|
|
|
|
|
|
|
|
|
/// ---- Default Theme ----
|
|
|
|
|
///
|
|
|
|
|
|
|
|
|
|
@ -16,7 +18,7 @@ defaultTheme({fontName}) {
|
|
|
|
|
fontFamily: fontName,
|
|
|
|
|
useMaterial3: false,
|
|
|
|
|
//projectProvider.isArabic ? 'Cairo' : 'WorkSans',
|
|
|
|
|
primarySwatch: Colors.red,
|
|
|
|
|
primarySwatch: CustomColors.primary,
|
|
|
|
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
|
|
|
|
brightness: Brightness.light,
|
|
|
|
|
pageTransitionsTheme: const PageTransitionsTheme(
|
|
|
|
|
@ -33,7 +35,7 @@ defaultTheme({fontName}) {
|
|
|
|
|
// backgroundColor: Color.fromRGBO(255, 255, 255, 1),
|
|
|
|
|
highlightColor: Colors.grey[100]!.withOpacity(0.4),
|
|
|
|
|
splashColor: Colors.transparent,
|
|
|
|
|
primaryColor: Color(0xff515A5D),
|
|
|
|
|
primaryColor:CustomColors.accentColor ,
|
|
|
|
|
// toggleableActiveColor: secondaryColor,
|
|
|
|
|
indicatorColor: secondaryColor,
|
|
|
|
|
bottomSheetTheme: BottomSheetThemeData(backgroundColor: Color(0xFFE0E0E0)),
|
|
|
|
|
@ -60,7 +62,7 @@ invertThemes({fontName}) {
|
|
|
|
|
return ThemeData(
|
|
|
|
|
fontFamily: fontName,
|
|
|
|
|
//projectProvider.isArabic ? 'Cairo' : 'WorkSans',
|
|
|
|
|
primarySwatch: Colors.red,
|
|
|
|
|
primarySwatch: CustomColors.primary,
|
|
|
|
|
useMaterial3: false,
|
|
|
|
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
|
|
|
|
brightness: Brightness.dark,
|
|
|
|
|
|