Skip to content

Commit

Permalink
content: For headings, use weightVariableTextStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed Feb 29, 2024
1 parent 09a8695 commit d555bb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/widgets/content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ class Heading extends StatelessWidget {
child: _buildBlockInlineContainer(
style: TextStyle(
fontSize: kBaseFontSize * emHeight,
fontWeight: FontWeight.w600,
height: 1.4),
height: 1.4,
)
.merge(weightVariableTextStyle(context, wght: 600)),
node: node));
}
}
Expand Down

0 comments on commit d555bb9

Please sign in to comment.