Skip to content

Commit 57ceddc

Browse files
committed
[#14] Rebase
1 parent 58b165a commit 57ceddc

File tree

2 files changed

+32
-26
lines changed

2 files changed

+32
-26
lines changed

lib/screens/home/home_header_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class HomeHeaderWidget extends StatelessWidget {
4141
),
4242
const SizedBox(height: Metrics.spacing4),
4343
Text(
44-
context.localizations?.today ?? "",
44+
context.localizations.today,
4545
style: context.textTheme.titleLarge,
4646
),
4747
],

lib/theme/app_theme.dart

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,37 @@ class AppTheme {
55
static ThemeData get light => ThemeData(
66
fontFamily: FontFamily.neuzeit,
77
textTheme: const TextTheme(
8-
titleLarge: TextStyle(
9-
color: Colors.white,
10-
fontSize: 34,
11-
fontWeight: FontWeight.bold,
12-
),
13-
titleMedium: TextStyle(
14-
color: Colors.white,
15-
fontSize: 28,
16-
fontWeight: FontWeight.bold,
17-
),
18-
bodyMedium: TextStyle(
19-
color: Colors.white,
20-
fontSize: 17,
21-
fontWeight: FontWeight.normal,
22-
),
23-
labelMedium: TextStyle(
24-
color: Colors.white,
25-
fontSize: 17,
26-
fontWeight: FontWeight.bold,
27-
),
28-
labelSmall: TextStyle(
29-
color: Colors.white,
30-
fontSize: 13,
31-
fontWeight: FontWeight.bold,
32-
)),
8+
titleLarge: TextStyle(
9+
color: Colors.white,
10+
fontSize: 34,
11+
fontWeight: FontWeight.bold,
12+
),
13+
titleMedium: TextStyle(
14+
color: Colors.white,
15+
fontSize: 28,
16+
fontWeight: FontWeight.bold,
17+
),
18+
bodyMedium: TextStyle(
19+
color: Colors.white,
20+
fontSize: 17,
21+
fontWeight: FontWeight.normal,
22+
),
23+
labelLarge: TextStyle(
24+
color: Colors.white,
25+
fontSize: 20,
26+
fontWeight: FontWeight.bold,
27+
),
28+
labelMedium: TextStyle(
29+
color: Colors.white,
30+
fontSize: 17,
31+
fontWeight: FontWeight.bold,
32+
),
33+
labelSmall: TextStyle(
34+
color: Colors.white,
35+
fontSize: 13,
36+
fontWeight: FontWeight.bold,
37+
),
38+
),
3339
textSelectionTheme: const TextSelectionThemeData(
3440
cursorColor: Colors.white,
3541
),

0 commit comments

Comments
 (0)