Skip to content

Commit

Permalink
Ensure all titles on KP pages are in bold
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Jan 18, 2025
1 parent 277eea2 commit c83fa1b
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ class KnowledgePanelTitleCard extends StatelessWidget {
color: colorFromEvaluation,
fontSize: hasSubtitle ? 15.5 : 15.0,
fontWeight: hasSubtitle
? FontWeight.w500
? isClickable
? FontWeight.w600
: FontWeight.bold
: FontWeight.normal,
),
),
Expand All @@ -121,7 +123,10 @@ class KnowledgePanelTitleCard extends StatelessWidget {
child: Text(
knowledgePanelTitleElement.subtitle!,
style: WellSpacedTextHelper
.TEXT_STYLE_WITH_WELL_SPACED,
.TEXT_STYLE_WITH_WELL_SPACED
.copyWith(
fontWeight: FontWeight.w500,
),
).selectable(isSelectable: !isClickable),
),
),
Expand Down

0 comments on commit c83fa1b

Please sign in to comment.