v6: docs / examples code fixes#42378
Conversation
There was a problem hiding this comment.
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-*withtheme-*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.
5168fe7 to
8ad4167
Compare
8ad4167 to
6d039f4
Compare
julien-deramond
left a comment
There was a problem hiding this comment.
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 🙂
Co-authored-by: Julien Déramond <juderamond@gmail.com>
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?)
Checklist
npm run lint)Live previews
Related issues