Skip to content

DITA Bootstrap v6 - #11

Draft
jason-fox wants to merge 2 commits into
developfrom
v6
Draft

DITA Bootstrap v6#11
jason-fox wants to merge 2 commits into
developfrom
v6

Conversation

@jason-fox

@jason-fox jason-fox commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

The v6 branch updates the Bootswatch-based PDF themes to implement the new Bootstrap 6 color system tokens.


1. Universal Color Token Migration (Light/Dark $\rightarrow$ Accent/Inverse)

Across all 35 Bootswatch PDF themes (including Cosmo, Cyborg, Darkly, Flatly, Slate, Superhero, etc.), the variable configuration files were updated:

  • Removed Variables: All references to light and dark color systems, including their subtle background, subtle text, table background, button, and badge styling variables.
  • Added Variables: Equivalent theme-specific variables for the accent and inverse color systems.

For each theme, these variables are customized with distinct hex values that match the theme's visual branding. For example:

  • In the Brite theme, the new accent color is mapped to pink (#f5a4c9) with customized text, button, table, and badge styles.
  • In dark-mode themes (like Cyborg or Darkly), the inverse variable maps to the primary dark body color with inverted light values for readability.

2. Component Value Alignments

All theme-specific components (buttons, badges, tables, alerts, and notes) now consume the updated accent and inverse mappings to ensure consistent PDF rendering when compiling documents with specific theme overrides.

@jason-fox
jason-fox marked this pull request as draft August 1, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant