Skip to content

Fix button visibility issue on dark theme#38115

Merged
mdo merged 4 commits intotwbs:mainfrom
lavsemen:button-text-visible-in-dark-mode
Mar 2, 2023
Merged

Fix button visibility issue on dark theme#38115
mdo merged 4 commits intotwbs:mainfrom
lavsemen:button-text-visible-in-dark-mode

Conversation

@lavsemen
Copy link
Copy Markdown
Contributor

@lavsemen lavsemen commented Feb 25, 2023

Description

Fix button color change issue on switching to dark theme: Resolved an issue where the button color was not changing properly on switching to the dark theme.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

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
  • I have added tests to cover my changes
  • All new and existing tests passed

Related issues

Closes #38113

@lavsemen lavsemen marked this pull request as ready for review February 25, 2023 11:11
@lavsemen lavsemen requested a review from a team as a code owner February 25, 2023 11:11
Copy link
Copy Markdown
Member

@louismaximepiton louismaximepiton left a comment

Choose a reason for hiding this comment

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

Hey, nice catch!

Just a small enhancement and I think we're good to go. Thanks a lot for your PR 😄

Comment thread scss/_buttons.scss Outdated
@lavsemen
Copy link
Copy Markdown
Contributor Author

lavsemen commented Mar 2, 2023

@louismaximepiton Moved color to sass variable!

Copy link
Copy Markdown
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.

Two quick changes I'll make and then good to go, thanks!

Comment thread scss/_variables.scss Outdated
Comment thread scss/_buttons.scss Outdated
@mdo mdo merged commit 9a1f4ed into twbs:main Mar 2, 2023
@mahilanmjd mahilanmjd mentioned this pull request Apr 16, 2023
6 tasks
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.

Dark theme: Base button text is not visible

5 participants