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 May 1, 2024
1 parent 56e8bbe commit 9d01e85
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 @@ -179,8 +179,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 9d01e85

Please sign in to comment.