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?