-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement OnyxTabs font styles and overflow #2079
Comments
Relates to #2079 - support horizontal scrolling when not all tabs fit into the available width - add property `size` to change the font style - add CSS variable `--onyx-outline-width` and use it in all components for consistency - make Storybook examples more realistic - fix vertical alignment of tab text if its not selected
scroll behavior and font size is fine. Thanks. |
The deselected already have the medium color, only the selected one has the intense one, see screenshot below. The difference is better visible in dark mode since medium and intense seem to be pretty similar in light mode |
Okay, in figma the deifference is more visible. But never mind, the important thing here ist, that the correct variable is used and it seems, this is the case. approved |
Depends on
Why?
We want to offer multiple font styles for the
OnyxTabs
component and also make them horizontally scrollable if they exceed the max. available width (e.g. if many tabs are used).Design
Figma
Acceptance criteria
h3
andh4
font styles are implementedApplicable ARIA Pattern
Tabs pattern
Definition of Done
Approval
The text was updated successfully, but these errors were encountered: