@primer/doctocat-nextjs 0.0.0-20250624173308 → 0.0.0-20250624173343

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.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,18 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20250624173308
3
+ ## 0.0.0-20250624173343
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
+ ## 0.0.0-20250624173341
10
+
11
+ ### Patch Changes
12
+
13
+ - [#48](https://github.com/primer/doctocat-nextjs/pull/48) [`593f5a3`](https://github.com/primer/doctocat-nextjs/commit/593f5a36b1f426d24f17e13a2784645de2571f84) Thanks [@rezrah](https://github.com/rezrah)! - - Fix inline code font-size in markdown headings. Now inherits size used in the heading.
14
+ - Increased spacing below React code blocks, which was previously too small.
15
+
9
16
  ## 0.5.3
10
17
 
11
18
  ### Patch Changes
@@ -1,4 +1,5 @@
1
1
  .CodeBlock {
2
+ --spacing: var(--base-size-40);
2
3
  margin-block: var(--base-size-24);
3
4
  background-color: var(--brand-color-canvas-default);
4
5
  border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
@@ -211,6 +211,11 @@
211
211
  background-color: var(--base-color-scale-indigo-0);
212
212
  }
213
213
 
214
+ /* Inline code inside headings should inherit font-size */
215
+ .Prose :is(h1, h2, h3, h4, h5, h6):has(code) code:not(:global(.custom-component) code) {
216
+ font-size: inherit;
217
+ }
218
+
214
219
  [data-color-mode='dark'] .Prose code:not(:global(.custom-component) code) {
215
220
  background-color: var(--base-color-scale-indigo-9);
216
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20250624173308",
3
+ "version": "0.0.0-20250624173343",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",