@t8/docsgen 0.3.17 → 0.3.19
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 +1 -1
- package/dist/css/code.css +15 -0
- package/dist/css/index.css +3 -3
- package/package.json +1 -1
- package/src/bin/setContent.ts +1 -1
- package/src/css/code.css +15 -0
- package/src/css/index.css +3 -3
package/dist/bin.js
CHANGED
|
@@ -675,7 +675,7 @@ var __filename = fileURLToPath(import.meta.url);
|
|
|
675
675
|
var __dirname = dirname(__filename);
|
|
676
676
|
function getDefaultCodeStyleContent(cssRoot) {
|
|
677
677
|
return `
|
|
678
|
-
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/
|
|
678
|
+
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/dark.min.css" media="(prefers-color-scheme: light)">
|
|
679
679
|
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/base16/material.min.css" media="(prefers-color-scheme: dark)">
|
|
680
680
|
<link rel="stylesheet" href="${cssRoot}/code.css">
|
|
681
681
|
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/highlight.min.js"></script>
|
package/dist/css/code.css
CHANGED
|
@@ -13,6 +13,21 @@
|
|
|
13
13
|
}
|
|
14
14
|
.hljs-comment {
|
|
15
15
|
color: #898e93;
|
|
16
|
+
font-style: italic;
|
|
17
|
+
}
|
|
18
|
+
.hljs-name,
|
|
19
|
+
.hljs-quote,
|
|
20
|
+
.hljs-selector-id,
|
|
21
|
+
.hljs-template-tag,
|
|
22
|
+
.hljs-type {
|
|
23
|
+
color: #86329d;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
}
|
|
26
|
+
.hljs-built_in,
|
|
27
|
+
.hljs-literal,
|
|
28
|
+
.hljs-title {
|
|
29
|
+
color: #7460ac;
|
|
30
|
+
font-weight: bold;
|
|
16
31
|
}
|
|
17
32
|
}
|
|
18
33
|
@media (prefers-color-scheme: dark) {
|
package/dist/css/index.css
CHANGED
|
@@ -151,6 +151,9 @@ section.intro {
|
|
|
151
151
|
section.intro .section-content {
|
|
152
152
|
width: 100%;
|
|
153
153
|
}
|
|
154
|
+
section.intro pre {
|
|
155
|
+
margin: 1.75em 0;
|
|
156
|
+
}
|
|
154
157
|
@media (max-width: 840px) {
|
|
155
158
|
section {
|
|
156
159
|
width: auto;
|
|
@@ -187,9 +190,6 @@ section.intro .section-content {
|
|
|
187
190
|
section.intro .section-content {
|
|
188
191
|
padding-top: 0.75rem;
|
|
189
192
|
}
|
|
190
|
-
section.intro pre {
|
|
191
|
-
margin: 1.75em 0;
|
|
192
|
-
}
|
|
193
193
|
}
|
|
194
194
|
.features {
|
|
195
195
|
--list-padding-x: 1.25rem;
|
package/package.json
CHANGED
package/src/bin/setContent.ts
CHANGED
|
@@ -23,7 +23,7 @@ const __dirname = dirname(__filename);
|
|
|
23
23
|
|
|
24
24
|
function getDefaultCodeStyleContent(cssRoot: string) {
|
|
25
25
|
return `
|
|
26
|
-
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/
|
|
26
|
+
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/dark.min.css" media="(prefers-color-scheme: light)">
|
|
27
27
|
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/base16/material.min.css" media="(prefers-color-scheme: dark)">
|
|
28
28
|
<link rel="stylesheet" href="${cssRoot}/code.css">
|
|
29
29
|
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.11.1/highlight.min.js"></script>
|
package/src/css/code.css
CHANGED
|
@@ -13,6 +13,21 @@
|
|
|
13
13
|
}
|
|
14
14
|
.hljs-comment {
|
|
15
15
|
color: #898e93;
|
|
16
|
+
font-style: italic;
|
|
17
|
+
}
|
|
18
|
+
.hljs-name,
|
|
19
|
+
.hljs-quote,
|
|
20
|
+
.hljs-selector-id,
|
|
21
|
+
.hljs-template-tag,
|
|
22
|
+
.hljs-type {
|
|
23
|
+
color: #86329d;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
}
|
|
26
|
+
.hljs-built_in,
|
|
27
|
+
.hljs-literal,
|
|
28
|
+
.hljs-title {
|
|
29
|
+
color: #7460ac;
|
|
30
|
+
font-weight: bold;
|
|
16
31
|
}
|
|
17
32
|
}
|
|
18
33
|
@media (prefers-color-scheme: dark) {
|
package/src/css/index.css
CHANGED
|
@@ -151,6 +151,9 @@ section.intro {
|
|
|
151
151
|
section.intro .section-content {
|
|
152
152
|
width: 100%;
|
|
153
153
|
}
|
|
154
|
+
section.intro pre {
|
|
155
|
+
margin: 1.75em 0;
|
|
156
|
+
}
|
|
154
157
|
@media (max-width: 840px) {
|
|
155
158
|
section {
|
|
156
159
|
width: auto;
|
|
@@ -187,9 +190,6 @@ section.intro .section-content {
|
|
|
187
190
|
section.intro .section-content {
|
|
188
191
|
padding-top: 0.75rem;
|
|
189
192
|
}
|
|
190
|
-
section.intro pre {
|
|
191
|
-
margin: 1.75em 0;
|
|
192
|
-
}
|
|
193
193
|
}
|
|
194
194
|
.features {
|
|
195
195
|
--list-padding-x: 1.25rem;
|