Skip to content

v6: docs updates#42394

Open
coliff wants to merge 1 commit intotwbs:v6-devfrom
coliff:dev/coliff/v6-docs-update
Open

v6: docs updates#42394
coliff wants to merge 1 commit intotwbs:v6-devfrom
coliff:dev/coliff/v6-docs-update

Conversation

@coliff
Copy link
Copy Markdown
Contributor

@coliff coliff commented May 5, 2026

Description / Motivation & Context

various minor fixes across docs and examples.

side note: there is a lot of usage of the bg-dark utility class which isn't in v6. We could replace with bg-black I suppose, but bg-dark was/is a useful utility class. I'd be happy to see it re-added!

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

Live previews

Copilot AI review requested due to automatic review settings May 5, 2026 05:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 (since bg-dark is not present) for the .fg-white sample.
  • 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 v6 fg-* 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
@coliff coliff force-pushed the dev/coliff/v6-docs-update branch from 8bd61fb to f1a4a93 Compare May 5, 2026 13:27
@mdo
Copy link
Copy Markdown
Member

mdo commented May 5, 2026

Thanks for this! The replacement for .bg-dark would be .bg-inverse if you want to swap those out at some point :).

@coliff
Copy link
Copy Markdown
Contributor Author

coliff commented May 6, 2026

The replacement for .bg-dark would be .bg-inverse

Oh, I'll look into updating that later today, though i thought bg-dark was ALWAYS dark (in light and dark theme) and bg-inverse changes depending on theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

4 participants