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

Docs: remove .btn-*-dark from Button group docs to avoid issues in dark mode #37757

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Dec 29, 2022

Description

This PR suggests to replace the use of .btn-*-dark with .btn-*-primary so that the dark mode renders correctly the examples.

I don't think that the colors were that important before so I chose to use primary color. Can be something else of course if we want to add some variety of colors in the page.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • (NA) I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues

Closes #37753

@julien-deramond julien-deramond force-pushed the main-jd-remove-btn-dark-from-button-group branch from 4e4e2ce to 1fbd617 Compare December 29, 2022 18:43
@julien-deramond julien-deramond marked this pull request as ready for review December 29, 2022 18:44
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

Thanks!

@mdo mdo merged commit 433558d into main Dec 29, 2022
@mdo mdo deleted the main-jd-remove-btn-dark-from-button-group branch December 29, 2022 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Darkmode: btn-outline-dark is not visible in button group component
2 participants