Conversation
jason-fox
marked this pull request as draft
August 1, 2026 11:52
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.
The
v6branch updates the PDF customization plugin (which renders DITA content to PDF using XSL-FO) to match the Bootstrap 6 styling specs, particularly color system upgrades and component rendering.1. Color Palette Variable Updates
Bootstrap 6 changes color mappings (replacing
light/darkwithaccent/inverse). The PDF attributes and settings files have been updated to reflect these values:bootstrap-light,bootstrap-dark,bootstrap-light-subtle,bootstrap-dark-subtle, and their table/button/badge sub-variants.bootstrap-accent/bootstrap-inversebootstrap-accent-subtle/bootstrap-inverse-subtle(along with their text colors:*-subtle-text)accentandinverse.bootstrap-btn-primary-bgchanged from#0d6efdto#0087fe).2. Component Element Matching & Specialization Support
PDF templates were updated to directly check the DITA element names (like
self::cardorself::drawer) rather than solely relying on class hierarchy matching. This yields cleaner code and better compatibility with DITA 2.0 and custom maps.cards.xslself::card,self::card-header, andself::card-footer.bootstrapDecorationmode override template for cards to prevent background color duplication on card borders and bodies.alert.xsltheme-prefixed outputclasses (e.g.,theme-success) which are used in Bootstrap 6 alongsidealert-styling classes.drawer,carousel, oraccordion) from being processed as alerts.drawer.xsl/offcanvas.xslupdates]):