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

Font sizes doesn't match with Polaris Text component #425

Open
remy727 opened this issue Jun 28, 2024 · 0 comments
Open

Font sizes doesn't match with Polaris Text component #425

remy727 opened this issue Jun 28, 2024 · 0 comments

Comments

@remy727
Copy link
Contributor

remy727 commented Jun 28, 2024

Font sizes of Text component doesn't match with Polaris Text component.

Example:

Polaris ViewComponents

<%= polaris_text(as: :h4, variant: :headingXl) { "Hello" } %> <!-- 16px -->

Polaris components

<Text variant="headingXl" as="h4">Hello</Text> // 24px;

I was looking for the font variant with 24px but no variant existed.
Is this because Polaris ViewComponent is using Polaris 12.0?

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

No branches or pull requests

1 participant