Repository navigation
v0.16.0
Customizable Emphasis and Bold Text Colors
What's New
Customizable Emphasis and Bold Text Colors (#355, #356)
Six new html_theme_options allow per-site color customization of typography elements:
emphasis_color/emphasis_color_dark— italic (<em>) textstrong_color/strong_color_dark— bold (<strong>/<b>) textdefinition_color/definition_color_dark— definition list (<dt>) elements
Each supports light and dark mode independently, with CSS custom properties and SCSS fallbacks. Server-side validation prevents CSS injection.
Example configuration:
html_theme_options = {
"emphasis_color": "#d9534f",
"strong_color": "#0056b3",
"definition_color": "#2e7d32",
}See the configuration docs for full details.
Bug Fixes
- Math equation visual test stability (#357) — replaced fixed timeout with
MathJax.startup.promisefor reliable rendering detection - Update-snapshots workflow — added
continue-on-errorto handle missing snapshot exits gracefully
Dependency Updates
- Bump codecov/codecov-action from 5.5.1 to 5.5.2 (#351)
- Bump actions/upload-artifact from 5 to 6 (#352)
Full Changelog: v0.15.1...v0.16.0