jamdesk 1.1.156 → 1.1.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -372,7 +372,7 @@ html:not(.dark) body[data-theme="jam"]:not([data-decoration="none"]):not([data-d
372
372
 
373
373
  /* Prose body */
374
374
  body[data-theme="jam"] .prose {
375
- font-family: var(--font-sans, 'Inter'), sans-serif;
375
+ font-family: var(--font-sans, var(--font-primary, 'Inter')), sans-serif;
376
376
  font-size: var(--prose-body-size);
377
377
  line-height: var(--prose-body-line-height);
378
378
  font-weight: var(--prose-body-weight);
@@ -382,7 +382,7 @@ body[data-theme="jam"] .prose {
382
382
  /* Prose headings */
383
383
  body[data-theme="jam"] .prose h1,
384
384
  body[data-theme="jam"] h1 {
385
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
385
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
386
386
  font-size: var(--prose-h1-size);
387
387
  line-height: var(--prose-h1-line-height);
388
388
  font-weight: var(--prose-h1-weight);
@@ -391,7 +391,7 @@ body[data-theme="jam"] h1 {
391
391
  }
392
392
 
393
393
  body[data-theme="jam"] .prose h2 {
394
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
394
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
395
395
  font-size: var(--prose-h2-size);
396
396
  line-height: var(--prose-h2-line-height);
397
397
  font-weight: var(--prose-h2-weight);
@@ -400,7 +400,7 @@ body[data-theme="jam"] .prose h2 {
400
400
  }
401
401
 
402
402
  body[data-theme="jam"] .prose h3 {
403
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
403
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
404
404
  font-size: var(--prose-h3-size);
405
405
  line-height: var(--prose-h3-line-height);
406
406
  font-weight: var(--prose-h3-weight);
@@ -409,7 +409,7 @@ body[data-theme="jam"] .prose h3 {
409
409
  }
410
410
 
411
411
  body[data-theme="jam"] .prose h4 {
412
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
412
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
413
413
  font-size: var(--prose-h4-size);
414
414
  line-height: var(--prose-h4-line-height);
415
415
  font-weight: var(--prose-h4-weight);
@@ -710,6 +710,17 @@ body[data-theme="jam"] .sidebar-scroll .sidebar-nav-groups > div:first-child {
710
710
  margin-top: 0 !important;
711
711
  }
712
712
 
713
+ /* When the nav groups are the first thing in the sidebar (no left tabs / external
714
+ anchors), align the first group heading with the breadcrumb + "On this page" TOC
715
+ heading, both of which sit 40px down via the content/TOC `py-10` wrapper. The
716
+ base 16px above is the tabs→groups gap for the sidebar-tabs case, so only bump
717
+ the first-child, desktop-only path here. */
718
+ @media (min-width: 1024px) {
719
+ body[data-theme="jam"] .sidebar-scroll nav > .sidebar-nav-groups:first-child {
720
+ padding-top: 2.5rem !important;
721
+ }
722
+ }
723
+
713
724
  /* Sidebar scroll container positioning for header-logo layout */
714
725
  /* The sidebar-scroll div needs constrained height to scroll independently */
715
726
  /* When tabs exist at top, sidebar needs more top offset (header 57px + tabs 57px = 114px) */
@@ -294,3 +294,13 @@ body[data-theme="nebula"] .sidebar-scroll .sidebar-nav-groups > div.ml-6 {
294
294
  padding-top: 16px;
295
295
  }
296
296
 
297
+ /* When the nav groups are the first thing in the sidebar (no left tabs / external
298
+ anchors), align the first group heading with the breadcrumb + "On this page" TOC
299
+ heading, both 40px down via the content/TOC `py-10` wrapper. The 16px above is the
300
+ inter-group gap, so only the first group on desktop gets the larger offset. */
301
+ @media (min-width: 1024px) {
302
+ body[data-theme="nebula"] .sidebar-scroll nav > .sidebar-nav-groups:first-child > div.ml-6:first-child {
303
+ padding-top: 2.5rem;
304
+ }
305
+ }
306
+
@@ -175,7 +175,7 @@
175
175
 
176
176
  /* Prose body */
177
177
  .prose {
178
- font-family: var(--font-sans, 'Inter'), sans-serif;
178
+ font-family: var(--font-sans, var(--font-primary, 'Inter')), sans-serif;
179
179
  font-size: var(--prose-body-size);
180
180
  line-height: var(--prose-body-line-height);
181
181
  font-weight: var(--prose-body-weight);
@@ -185,7 +185,7 @@
185
185
  /* Prose headings */
186
186
  .prose h1,
187
187
  h1 {
188
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
188
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
189
189
  font-size: var(--prose-h1-size);
190
190
  line-height: var(--prose-h1-line-height);
191
191
  font-weight: var(--prose-h1-weight);
@@ -194,7 +194,7 @@ h1 {
194
194
  }
195
195
 
196
196
  .prose h2 {
197
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
197
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
198
198
  font-size: var(--prose-h2-size);
199
199
  line-height: var(--prose-h2-line-height);
200
200
  font-weight: var(--prose-h2-weight);
@@ -203,7 +203,7 @@ h1 {
203
203
  }
204
204
 
205
205
  .prose h3 {
206
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
206
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
207
207
  font-size: var(--prose-h3-size);
208
208
  line-height: var(--prose-h3-line-height);
209
209
  font-weight: var(--prose-h3-weight);
@@ -212,7 +212,7 @@ h1 {
212
212
  }
213
213
 
214
214
  .prose h4 {
215
- font-family: var(--font-heading, var(--font-sans, 'Inter')), sans-serif;
215
+ font-family: var(--font-heading, var(--font-sans, var(--font-primary, 'Inter'))), sans-serif;
216
216
  font-size: var(--prose-h4-size);
217
217
  line-height: var(--prose-h4-line-height);
218
218
  font-weight: var(--prose-h4-weight);