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

Restyle Tabs component #2945

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Restyle Tabs component #2945

wants to merge 1 commit into from

Conversation

hughess
Copy link
Member

@hughess hughess commented Dec 20, 2024

Description

Bring Tabs in line with style of other components

Before

CleanShot 2024-12-20 at 08 17 23@2x
CleanShot 2024-12-20 at 08 17 33@2x
CleanShot 2024-12-20 at 08 20 01@2x
CleanShot 2024-12-20 at 08 20 57

After

CleanShot 2024-12-20 at 08 17 01@2x
CleanShot 2024-12-20 at 08 17 41@2x
CleanShot 2024-12-20 at 08 20 11@2x
CleanShot 2024-12-20 at 08 21 24

New Options

fullWidth (boolean - default = false)
CleanShot 2024-12-20 at 08 19 04@2x

background (boolean - default = false)
CleanShot 2024-12-20 at 08 19 10@2x

Checklist

  • For UI or styling changes, I have added a screenshot or gif showing before & after
  • I have added a changeset
  • I have added to the docs where applicable

@hughess hughess requested a review from mcrascal December 31, 2024 20:28
Copy link
Member

@mcrascal mcrascal left a comment

Choose a reason for hiding this comment

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

Looks fantastic.

I think the prop listing for the color needs to be updated to reflect the new default of primary rather than blue, and to flag that theme tokens will work.

I think the blue looks good, but I would probably style mine color=primary-content, rather than primary. That might be a more mellow default to start people with.

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