Skip to content

Commit

Permalink
disabling the material3 theme (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
superiorsd10 authored Dec 9, 2023
1 parent b942e36 commit bbd4e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/app/utils/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const Color kLightPrimaryDisabledTextColor = Color(0xffACACAB);

// Dark ThemeData
ThemeData kThemeData = ThemeData(
useMaterial3: false,
textButtonTheme: TextButtonThemeData(
style: TextButton.styleFrom(foregroundColor: ksecondaryColor),
),
Expand Down Expand Up @@ -118,6 +119,7 @@ ThemeData kThemeData = ThemeData(

// Light ThemeData
ThemeData kLightThemeData = ThemeData(
useMaterial3: false,
textButtonTheme: TextButtonThemeData(
style: TextButton.styleFrom(foregroundColor: kprimaryColor),
),
Expand Down

0 comments on commit bbd4e69

Please sign in to comment.