Skip to content

Commit

Permalink
fix: update font to monospaced for a11y support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayebsed93 committed Nov 21, 2024
1 parent 19b5e5e commit e1d547e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Showcase/Showcase/Pages/Utils/ShowcaseTokenCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct ShowcaseTokenCode: View {
private func codeTokenDisplayCodeSection() -> some View {
HStack(alignment: .firstTextBaseline, spacing: theme.spacePaddingBlockMedium) {
Text(code)
.font(.system(size: 16, weight: .regular, design: .monospaced))
.font(.system(.body, design: .monospaced))
.foregroundStyle(theme.colorContentDefault.color(for: colorScheme))
.padding(.vertical, theme.spacePaddingInlineShort)

Expand Down

0 comments on commit e1d547e

Please sign in to comment.