Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(typography): fix code type styles not using mono font #3429

Merged

Conversation

janhassel
Copy link
Member

Looks like there were still a few elements using bx on the typography page which caused the code type styles to not IBM Plex Mono but IBM Plex Sans. Also, the styling on the right wasn't correct.

In addition, I wrapped the right side in a Layer so that the code snippet would render its background color correctly.

Changelog

Changed

  • Updated bx prefixes in TypesetExample to cds
  • Wrapped the type definitions in a <Layer> to ensure code snippet receives correct background color

Before
image

After
image

@vercel
Copy link

vercel bot commented Mar 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
carbondesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 15, 2023 at 6:13PM (UTC)

@kodiakhq kodiakhq bot merged commit 8e7d30b into carbon-design-system:main Mar 15, 2023
@janhassel janhassel deleted the type-style-code-font-family branch March 16, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants