Skip to content

Commit 89af98c

Browse files
chrisbobbegnprice
authored andcommitted
content: For headings, use weightVariableTextStyle
1 parent 0a01ed1 commit 89af98c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/widgets/content.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ class Heading extends StatelessWidget {
179179
child: _buildBlockInlineContainer(
180180
style: TextStyle(
181181
fontSize: kBaseFontSize * emHeight,
182-
fontWeight: FontWeight.w600,
183-
height: 1.4),
182+
height: 1.4,
183+
)
184+
.merge(weightVariableTextStyle(context, wght: 600)),
184185
node: node));
185186
}
186187
}

0 commit comments

Comments
 (0)