fix: formatting
This commit is contained in:
+34
-16
@@ -253,10 +253,7 @@ final ThemeData darkTheme = ThemeData(
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.2,
|
||||
),
|
||||
titleMedium: TextStyle(
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
titleMedium: TextStyle(color: Colors.white, fontWeight: FontWeight.w700),
|
||||
bodyLarge: TextStyle(color: Colors.white70, fontSize: 16, height: 1.5),
|
||||
bodyMedium: TextStyle(color: Colors.white60, height: 1.4),
|
||||
bodySmall: TextStyle(color: Colors.white38, height: 1.3),
|
||||
@@ -311,9 +308,17 @@ final ThemeData neoBrutalDarkTheme = ThemeData(
|
||||
fontWeight: FontWeight.w800,
|
||||
color: Colors.white,
|
||||
),
|
||||
bodyLarge: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
bodyLarge: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white,
|
||||
),
|
||||
bodyMedium: TextStyle(fontSize: 14, color: Colors.white70),
|
||||
bodySmall: TextStyle(fontSize: 12, color: Colors.white54, fontWeight: FontWeight.w600),
|
||||
bodySmall: TextStyle(
|
||||
fontSize: 12,
|
||||
color: Colors.white54,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
|
||||
appBarTheme: const AppBarTheme(
|
||||
@@ -331,7 +336,10 @@ final ThemeData neoBrutalDarkTheme = ThemeData(
|
||||
cardTheme: CardThemeData(
|
||||
color: _nbSurface,
|
||||
elevation: 0,
|
||||
margin: const EdgeInsets.symmetric(horizontal: AppSpacing.md, vertical: AppSpacing.sm),
|
||||
margin: const EdgeInsets.symmetric(
|
||||
horizontal: AppSpacing.md,
|
||||
vertical: AppSpacing.sm,
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
side: const BorderSide(color: Colors.white, width: 3),
|
||||
@@ -380,7 +388,10 @@ final ThemeData neoBrutalDarkTheme = ThemeData(
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
filled: true,
|
||||
fillColor: _nbSurface,
|
||||
hintStyle: const TextStyle(color: Colors.white38, fontWeight: FontWeight.w600),
|
||||
hintStyle: const TextStyle(
|
||||
color: Colors.white38,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
contentPadding: const EdgeInsets.all(18),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
@@ -408,7 +419,10 @@ final ThemeData neoBrutalDarkTheme = ThemeData(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w900,
|
||||
),
|
||||
contentTextStyle: const TextStyle(color: Colors.white70, fontWeight: FontWeight.w600),
|
||||
contentTextStyle: const TextStyle(
|
||||
color: Colors.white70,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
|
||||
floatingActionButtonTheme: const FloatingActionButtonThemeData(
|
||||
@@ -428,7 +442,10 @@ final ThemeData neoBrutalDarkTheme = ThemeData(
|
||||
side: const BorderSide(color: Colors.white, width: 3),
|
||||
),
|
||||
behavior: SnackBarBehavior.floating,
|
||||
contentTextStyle: const TextStyle(color: Colors.white, fontWeight: FontWeight.w600),
|
||||
contentTextStyle: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
|
||||
dividerTheme: const DividerThemeData(color: Colors.white, thickness: 3),
|
||||
@@ -645,7 +662,11 @@ final ThemeData lightTheme = ThemeData(
|
||||
contentTextStyle: const TextStyle(color: Colors.white),
|
||||
),
|
||||
|
||||
dividerTheme: const DividerThemeData(color: _outlineL, thickness: 1, space: 1),
|
||||
dividerTheme: const DividerThemeData(
|
||||
color: _outlineL,
|
||||
thickness: 1,
|
||||
space: 1,
|
||||
),
|
||||
|
||||
chipTheme: ChipThemeData(
|
||||
backgroundColor: _surfaceRaisedL,
|
||||
@@ -673,13 +694,10 @@ final ThemeData lightTheme = ThemeData(
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.2,
|
||||
),
|
||||
titleMedium: TextStyle(
|
||||
color: Colors.black87,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
titleMedium: TextStyle(color: Colors.black87, fontWeight: FontWeight.w700),
|
||||
bodyLarge: TextStyle(color: Colors.black54, fontSize: 16, height: 1.5),
|
||||
bodyMedium: TextStyle(color: Colors.black45, height: 1.4),
|
||||
bodySmall: TextStyle(color: Colors.black38, height: 1.3),
|
||||
labelLarge: TextStyle(color: Colors.black87, fontWeight: FontWeight.w700),
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user