ATELIER 0.8.0
Installation
quarto add mcanouil/quarto-atelier@0.8.0Changelog
New Features
- feat: dark-pinned docked sidebar, so a book-like
website.sidebarwithstyle: dockedjoins the navbar and the footer as one chrome in both colour schemes. Quarto derives that surface from the page instead, which alongside a navbar leaves the column following the body, and without one falls back to Bootstrap's$light, painting a near-white column beside a dark page. - feat:
--atelier-sidebar-*custom properties, each defaulting to its--atelier-navbar-*counterpart, driving the whole column: item ink, active item pill, section dividers, collapse chevrons, group labels, header and logo link, sidebar tools and their dropdown menus, sidebar search, the mobile bar carrying the sidebar toggle and the breadcrumbs, the sidebar edge, the sidebar scrollbar, and the focus ring. Astyle: floatingsidebar keeps Quarto's page-coloured treatment, since it has no surface of its own.
Bug Fixes
- fix: colour sidebar links, hover, and the active item from the sidebar accent instead of
$primary, which with the default tokens was 3.2:1 against the dark column in the light scheme. The focus ring inside the sidebar takes the accent for the same reason. - fix: ink the sidebar search field, caret, placeholder, and magnifier, and the overlay search button beside them. Quarto colours the field from
$body-colorand the button only inside.sidebar-tools-*, either of which can match the surface it sits on. - fix: paint the mobile secondary navigation bar, which Quarto paints with the sidebar surface this theme replaces.
- fix: draw the sidebar's right edge and the footer's top edge from the border tokens, so all three bars carry the same hairline. Quarto draws both from its baked
#dee2e6, the sidebar with!importantsincesidebar.borderdefaults to true when docked, and the footer through abody-prefixed rule that outranked the previous selector.
Documentation
- docs: document the sidebar tokens, the book-like sidebar configuration, that
website.sidebar.backgroundandforegroundhave no effect on a docked sidebar, and that a project settingnavbar: falserenders no search until the sidebar asks for it.
What's Changed
- feat: dark-pin the docked sidebar from its own tokens by @mcanouil in #16
- ci: bump version for release 🚀 by @mcanouil-dev[bot] in #17
Full Changelog: 0.7.1...0.8.0