-
Notifications
You must be signed in to change notification settings - Fork 85
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
fix(tabs): update background colour to improve contrast for selected Tab in alternate variant FE-5120 #5032
Conversation
…Tab in alternate variant Updates the background colour for selected or hovered `Tab` when `Tabs` are rendered inside the `Drawer` `sidebar` or when `variant` is set to `alternate` fix #5030
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d733de0:
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
🎉 This PR is included in version 106.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fix #5030
Proposed behaviour
Updates the background colour for selected or hovered
Tab
whenTabs
are rendered inside theDrawer
sidebar
or whenvariant
is set toalternate
Current behaviour
Contrast is too low when Tabs are rendered in Drawer sidebar or variant is "alternate"
Checklist
QA
Additional context
Proposed look after updates:
Testing instructions
Test
tabs--with-alternate-styling
storyTest
drawer--with-tab-controls
storyThe following CodeSandbox is an example of the broken behaviour.
You can see the new behaviour by looking at the version in the comment by
codesandbox[bot]
.