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: fix headings color in light/dark mode #37802

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Jan 4, 2023

Description

/cc @mdo

https://github.com/twbs/bootstrap/pull/37800/files introduced a regression of headings color in our docs; we can't see anymore the headings in light mode.

You can check this regression live in https://twbs-bootstrap.netlify.app/docs/5.3/getting-started/introduction/:

Screenshot 2023-01-04 at 10 29 36

This PR suggests to use a custom property allowing to switch between black and white in light/dark mode and replaces --#{$prefix} by --bs.

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

@julien-deramond julien-deramond marked this pull request as ready for review January 4, 2023 09:35
@julien-deramond julien-deramond requested a review from a team as a code owner January 4, 2023 09:35
@julien-deramond julien-deramond mentioned this pull request Jan 4, 2023
81 tasks
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.

Lol my bad

@mdo mdo merged commit 803d9d4 into main Jan 4, 2023
@mdo mdo deleted the main-jd-fix-headings-color-in-doc branch January 4, 2023 16:47
@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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants