Skip to content

Commit ae35c9c

Browse files
committed
style: adjust font weight for breaking news prefix
- Change font weight from FontWeight.w600 to FontWeight.w500 for the breaking news prefix in headline tiles - Update applied to three different headline tile widgets: HeadlineTileImageStart, HeadlineTileImageTop, and HeadlineTileTextOnly
1 parent 4ae4dd4 commit ae35c9c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/shared/widgets/feed_core/headline_tile_image_start.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class HeadlineTileImageStart extends StatelessWidget {
9797
TextSpan(
9898
text: '${l10n.breakingNewsPrefix} - ',
9999
style: textTheme.titleMedium?.copyWith(
100-
fontWeight: FontWeight.w600,
100+
fontWeight: FontWeight.w500,
101101
color: colorScheme.primary,
102102
),
103103
),

lib/shared/widgets/feed_core/headline_tile_image_top.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class HeadlineTileImageTop extends StatelessWidget {
115115
TextSpan(
116116
text: '${l10n.breakingNewsPrefix} - ',
117117
style: textTheme.titleMedium?.copyWith(
118-
fontWeight: FontWeight.w600,
118+
fontWeight: FontWeight.w500,
119119
color: colorScheme.primary,
120120
),
121121
),

lib/shared/widgets/feed_core/headline_tile_text_only.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class HeadlineTileTextOnly extends StatelessWidget {
7070
TextSpan(
7171
text: '${l10n.breakingNewsPrefix} - ',
7272
style: textTheme.titleMedium?.copyWith(
73-
fontWeight: FontWeight.w600,
73+
fontWeight: FontWeight.w500,
7474
color: colorScheme.primary,
7575
),
7676
),

0 commit comments

Comments
 (0)