Skip to content

Commit 15aaa20

Browse files
committed
chore: antora-dark-theme 1.0.9; match site-doc-layout rail padding
Made-with: Cursor
1 parent 44d5232 commit 15aaa20

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"devDependencies": {
33
"@asciidoctor/core": "^3.0.4",
44
"antora": "^3.1.14",
5-
"antora-dark-theme": "^1.0.6",
5+
"antora-dark-theme": "^1.0.9",
66
"asciidoctor-emoji": "^0.5.0"
77
},
88
"scripts": {

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/scripts/sync-antora-dark-theme.cjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ const src = path.join(repoRoot, 'node_modules', 'antora-dark-theme', 'supplement
1111
const files = [
1212
['css', 'site-extra.css'],
1313
/* site-doc-layout.css, partials, site-dark-mode.js, site-adt-accordion.js: maintained in this repo
14-
(FoodTruckNerdz branding: header, footer, truck logo). The package is the debranded baseline;
15-
do not prebuild-overwrite the full tree from npm. */
14+
(FoodTruckNerdz branding: header, footer, truck logo, sticky-footer block at top of
15+
site-doc-layout.css). The package is the debranded baseline; do not prebuild-overwrite the full
16+
tree from npm. When bumping antora-dark-theme, merge :root / layout token changes from the
17+
package’s supplemental-ui/css/site-doc-layout.css (e.g. --adt-mast-pad-h) into this copy. */
1618
]
1719

1820
async function copyIfPresent (fromParts, toParts) {

site/supplemental-ui/css/site-doc-layout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ body > .footer {
5454
/* Horizontal rail: one value for .adt-doc-mast, breadcrumb home hit-area, and left nav. Stock UI
5555
uses calc(var(--toolbar-height) / 4) for the old in-article toolbar; the mast + sidebar must
5656
share the *same* inset so the home icon, component title, and first tree column line up. */
57-
--adt-mast-pad-h: 0.5rem;
57+
--adt-mast-pad-h: 1rem;
5858
--adt-global-rail-hpad: var(--adt-mast-pad-h);
5959
}
6060

0 commit comments

Comments
 (0)