-
Notifications
You must be signed in to change notification settings - Fork 37
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
🐛 A disclosure component content have a 14px as Orbit default font-size is 16px #1017
Comments
A medium Text is 14px. A Modal with text is 14px by default, Tabs too. I am not saying this is a good idea but fixing this would mean fixing the Text scale as a whole. This has a lot of implications. |
I see, well the scale seem broken then. How come a medium text font size is smaller than the default sont size? Medium should be the default. What’s the logic being it? |
What do you mean by default font size? Are you talking about the browser
default font size or Orbit default font size?
…On Tue., Aug. 16, 2022, 11:47 p.m. Patrick Lafrance, < ***@***.***> wrote:
I see, well the scale seem broken then.
How come a medium text font size is smaller than the default sont size?
Medium should be the default.
What’s the logic being it?
—
Reply to this email directly, view it on GitHub
<#1017 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACYJIACYDNWGTHHIDPJHO3VZROFRANCNFSM55TMF6DA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
What’s the difference for an Orbit application as Orbit set the applicafion default font size? |
I meant what do you mean by this:
|
I don't think it matter for an Orbit application as the default Orbit font-size is set as the default font-size on the |
What's going on with this issue @fraincs? Is it something that could included in the rebrand work? |
Will validate with design. |
The medium text-size is 14px, but the default browser size is 16px. Its the same for Igloo. If we rethink design tokens, we could bring this discussion into the mix. This is a visual difference only noticeable in the Orbit documentation, not in the applications. |
I guess this will be adressed by this issue: #1072 |
16px is the browser's default size, so font-size 16px on body probably doesn't do anything |
Exactly, font-size: 16px only prevents users from changing their browsers font size and have our components react, #1072 will address it. This is not linked to the core issue though, the main issue is that our medium font size is 14 which might be ok as a button with a 16px font size is too much, same goes with checkbox labels, select text, etc. Our paragraphs could benefit from a higher default size though. |
I know it's the browser size but Orbit export a normalize stylesheet since the beginning to set the body Textual componens has been added like 1-2 years after. It hasn't been added to prevent users from overrding the default browser font-size, I don't even think this features existed at the time or at least we weren't aware it existed. That's why I say that to me Textual components Anyway, it doesn't change the fact that indeed to fix this, the tokens system would have to be reworked. It's kind of weird throught that Orbit "md" size textual components doesn't match |
Yeah that would be weird, there's a bug in the system. I think the way to fix this would be to update the normalize stylesheet value to Therefore, |
Describe the bug
A disclosure component content have a 14px as Orbit default font-size is 16px.
I doubt a disclore component content should have a smaller font-size than the base font-size. It's textutal content.
Steps to reproduce
https://orbit.sharegate.design/?path=/docs/disclosure--default-story
The text was updated successfully, but these errors were encountered: