Skip to content

v6: docs / examples code fixes#42378

Merged
julien-deramond merged 2 commits intotwbs:v6-devfrom
coliff:dev/coliff/v6-docs-example-fixes
May 1, 2026
Merged

v6: docs / examples code fixes#42378
julien-deramond merged 2 commits intotwbs:v6-devfrom
coliff:dev/coliff/v6-docs-example-fixes

Conversation

@coliff
Copy link
Copy Markdown
Contributor

@coliff coliff commented May 1, 2026

Motivation & Context / Type of changes

Update examples to use v6 classes

(FYI: I started updating the badges examples page but stopped since many of these are covered by the new chips component... maybe this example page can be removed?)

  • 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

Related issues

Copilot AI review requested due to automatic review settings May 1, 2026 14:29
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

Note

Copilot was unable to run its full agentic suite in this review.

Updates documentation and example templates to align with Bootstrap v6 styling by replacing legacy text-bg-* utility usage with the newer theme-* classes.

Changes:

  • Updated display utilities docs examples to use theme-primary / theme-inverse.
  • Updated multiple Astro example pages to replace text-bg-* with theme-* equivalents.
  • Updated progress bar examples in the cheatsheet to use theme-info / theme-warning.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
site/src/content/docs/utilities/display.mdx Switches display utility examples from text-bg-* to theme-* classes.
site/src/assets/examples/product/index.astro Replaces text-bg-primary wrapper styling with theme-primary.
site/src/assets/examples/pricing/index.astro Updates card header styling to use theme-primary.
site/src/assets/examples/masonry/index.astro Updates a highlighted card from text-bg-primary to theme-primary.
site/src/assets/examples/features/index.astro Replaces multiple icon background utilities from text-bg-primary to theme-primary.
site/src/assets/examples/cheatsheet/index.astro Updates progress bar color utilities from text-bg-* to theme-*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coliff coliff marked this pull request as draft May 1, 2026 14:35
@coliff coliff force-pushed the dev/coliff/v6-docs-example-fixes branch from 5168fe7 to 8ad4167 Compare May 1, 2026 14:42
@coliff coliff force-pushed the dev/coliff/v6-docs-example-fixes branch from 8ad4167 to 6d039f4 Compare May 1, 2026 14:51
@coliff coliff marked this pull request as ready for review May 1, 2026 15:30
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 May 1, 2026
@julien-deramond julien-deramond self-requested a review May 1, 2026 15:52
Copy link
Copy Markdown
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, @coliff Rreally appreciate it as always 🙏
I’ve replaced .theme-inverse with .theme-secondary. It’s not quite as close to the v5 color, but it avoids the white color in dark mode.

Regarding your question in the description, I’ll open an issue right after so we don’t forget it 🙂

@julien-deramond julien-deramond merged commit ba0f03a into twbs:v6-dev May 1, 2026
12 checks passed
mdo pushed a commit that referenced this pull request May 3, 2026
Co-authored-by: Julien Déramond <juderamond@gmail.com>
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.

3 participants