@t8/docsgen 0.2.21 → 0.2.23

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/dist/bin.js CHANGED
@@ -817,7 +817,7 @@ ${getInjectedContent(ctx, "redirect", "body")}
817
817
  <h1>${getTitle(ctx, { withPackageURL: true })}</h1>
818
818
  ${content}
819
819
 
820
- <p class="b1 pagenav">
820
+ <p class="pagenav">
821
821
  <span class="prev">
822
822
  <span class="icon">\u2190</span>
823
823
  ${nav[i - 1]?.id ? `<a href="${root}${contentDir}/${nav[i - 1]?.id}">${nav[i - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
package/dist/css/code.css CHANGED
@@ -2,6 +2,14 @@
2
2
  .hljs {
3
3
  background: #f2f2f2;
4
4
  }
5
+ .hljs-deletion {
6
+ color: #ac3e3e;
7
+ background: #f0e4e3;
8
+ }
9
+ .hljs-addition {
10
+ color: #2b7945;
11
+ background: #daf4ea;
12
+ }
5
13
  }
6
14
  @media (prefers-color-scheme: dark) {
7
15
  .hljs {
@@ -204,7 +204,7 @@ main h2:first-child {
204
204
  justify-content: space-between;
205
205
  gap: 1em;
206
206
  border-top: 0.05rem solid;
207
- padding: 0.6em 0.75em 0.75em;
207
+ padding: 0.6em 0 0;
208
208
  margin: 1.5em 0 0;
209
209
  }
210
210
  @media (max-width: 840px) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
@@ -183,7 +183,7 @@ ${getInjectedContent(ctx, "redirect", "body")}
183
183
  <h1>${getTitle(ctx, { withPackageURL: true })}</h1>
184
184
  ${content}
185
185
 
186
- <p class="b1 pagenav">
186
+ <p class="pagenav">
187
187
  <span class="prev">
188
188
  <span class="icon">←</span>
189
189
  ${nav[i - 1]?.id ? `<a href="${root}${contentDir}/${nav[i - 1]?.id}">${nav[i - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
package/src/css/code.css CHANGED
@@ -2,6 +2,14 @@
2
2
  .hljs {
3
3
  background: #f2f2f2;
4
4
  }
5
+ .hljs-deletion {
6
+ color: #ac3e3e;
7
+ background: #f0e4e3;
8
+ }
9
+ .hljs-addition {
10
+ color: #2b7945;
11
+ background: #daf4ea;
12
+ }
5
13
  }
6
14
  @media (prefers-color-scheme: dark) {
7
15
  .hljs {
@@ -204,7 +204,7 @@ main h2:first-child {
204
204
  justify-content: space-between;
205
205
  gap: 1em;
206
206
  border-top: 0.05rem solid;
207
- padding: 0.6em 0.75em 0.75em;
207
+ padding: 0.6em 0 0;
208
208
  margin: 1.5em 0 0;
209
209
  }
210
210
  @media (max-width: 840px) {