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

fix(odyssey-react-mui): ensure headings pick up TypographyFamilyHeading #1942

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

edburyenegren-okta
Copy link
Contributor

@edburyenegren-okta edburyenegren-okta commented Aug 22, 2023

Description

Typography variants no longer have their fontFamily overridden by a default prop. support and subordinate now render as p instead of h6.

Comment on lines -2274 to -2275
fontFamily:
"'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need these? Or was this the situation it had the wrong font?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting the default here unintuitively overrides the styles in typography.ts. They've probably been broken for awhile 😞

@edburyenegren-okta edburyenegren-okta merged commit d8fc766 into develop Aug 22, 2023
@edburyenegren-okta edburyenegren-okta deleted the ee/heading-family branch August 22, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants