Skip to content

Commit 6ae9b3b

Browse files
committed
Release version 0.19.0
1 parent dd4f761 commit 6ae9b3b

2 files changed

Lines changed: 23 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.19.0] - 2026-03-08
11+
1012
### Changed
11-
- **`sticky_contents` now defaults to `True`** — the sticky right-hand table of contents with scroll spy is now enabled by default for all projects using the theme. To revert to the classic TOC, set `sticky_contents: False` in `html_theme_options` in `conf.py`, or `sticky_contents: false` in YAML-based configuration (e.g. `_config.yml`).
13+
- **`sticky_contents` now defaults to `True`** (#371) — the sticky right-hand table of contents with scroll spy is now enabled by default for all projects using the theme. To revert to the classic TOC, set `sticky_contents: False` in `html_theme_options`.
14+
- **Increased CSS specificity for custom code highlighting** (#373) — replaced `:where()` wrappers with `html body:not(.use-pygments-style)` to ensure custom token colors are not overridden by pydata-sphinx-theme's Pygments rules when `data-theme` is set.
15+
16+
### Added
17+
- **`data-theme` attribute on `<html>`** (#373) — sets the standard `data-theme="light"` or `"dark"` attribute used by pydata-sphinx-theme, Furo, and sphinx-book-theme, fixing compatibility with `myst-nb` 1.4.0+ which uses this attribute for dark mode detection. Resolves dark code cell backgrounds appearing on light-themed sites for users with OS dark mode.
18+
- **`inline_literal_box` theme option** (#373) — new boolean option (default: `False`) that controls whether inline code literals (`code.literal`) display with pydata-sphinx-theme's background box and border styling. Set to `True` to re-enable boxes.
19+
- **`--qe-literal-color` CSS variable** (#373) — inline code literal color integrated into the text color scheme system alongside emphasis, strong, and definition colors:
20+
- Seoul256: `#af5f5f` (muted rust) / `#d78787` (soft rose) for dark mode
21+
- Gruvbox: `#9d0006` (dark red) / `#fb4934` (bright red) for dark mode
22+
- None: inherits text color
23+
- Overridable via `--qe-literal-color` in custom CSS
24+
25+
### Fixed
26+
- **Dark code cells with myst-nb 1.4+** (#373) — myst-nb 1.4.0 changed CSS dark mode detection to a space-toggle technique with `@media (prefers-color-scheme)` fallback; since the theme only used `body.dark-theme` class, myst-nb fell through to OS preference causing dark backgrounds on light sites. Fixed by setting `data-theme` attribute.
27+
28+
### CI
29+
- Bump `actions/upload-pages-artifact` from 3 to 4 (#370)
30+
- Bump `actions/upload-artifact` from 6 to 7 (#369)
1231

1332
## [0.18.0] - 2026-02-24
1433

@@ -259,7 +278,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
259278
### Added
260279
- Initial stable release with core theme features
261280

262-
[Unreleased]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.18.0...HEAD
281+
[Unreleased]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.19.0...HEAD
282+
[0.19.0]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.18.0...v0.19.0
263283
[0.18.0]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.17.1...v0.18.0
264284
[0.17.1]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.17.0...v0.17.1
265285
[0.17.0]: https://github.com/QuantEcon/quantecon-book-theme/compare/v0.16.0...v0.17.0

src/quantecon_book_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .launch import add_hub_urls
1717

18-
__version__ = "0.18.0"
18+
__version__ = "0.19.0"
1919
"""quantecon-book-theme version"""
2020

2121
SPHINX_LOGGER = logging.getLogger(__name__)

0 commit comments

Comments
 (0)