v6: docs updates#42394
Open
coliff wants to merge 1 commit intotwbs:v6-devfrom
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Bootstrap v6 documentation and example snippets to align with the current v6 utility class names/tokens (notably fg-* color utilities) and removes an inaccurate migration-table entry.
Changes:
- Fix a docs color example to use
bg-black(sincebg-darkis not present) for the.fg-whitesample. - Remove the “Stepper” row from the v5→v6 class migration table (it was not applicable as a v5 “before” class).
- Update multiple Astro examples to replace deprecated/nonexistent
text-*color utility classes with the v6fg-*equivalents (including emphasis variants).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| site/src/content/docs/utilities/colors.mdx | Corrects a color utility example to use an available background utility (bg-black). |
| site/src/content/docs/guides/migration.mdx | Removes an inapplicable migration mapping row for “Stepper”. |
| site/src/assets/examples/dialogs/index.astro | Updates button text coloring to use v6 fg-primary utilities. |
| site/src/assets/examples/checkout/index.astro | Updates “Your cart” and promo code coloring to use fg-* utilities. |
| site/src/assets/examples/blog/index.astro | Updates emphasis color utilities to fg-emphasis-* variants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
various minor fixes to docs and examples
8bd61fb to
f1a4a93
Compare
Member
|
Thanks for this! The replacement for |
Contributor
Author
Oh, I'll look into updating that later today, though i thought |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / Motivation & Context
various minor fixes across docs and examples.
side note: there is a lot of usage of the
bg-darkutility class which isn't in v6. We could replace withbg-blackI suppose, butbg-darkwas/is a useful utility class. I'd be happy to see it re-added!Type of changes
Checklist
npm run lint)Live previews