@scalar/code-highlight 0.0.8 → 0.0.10
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 +12 -0
- package/dist/css/markdown.css +9 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scalar/code-highlight
|
|
2
2
|
|
|
3
|
+
## 0.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c450bb3: fix: scalar api ref use scalar-border-width
|
|
8
|
+
|
|
9
|
+
## 0.0.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 58e5912: fix: markdown fixes and intro card polish
|
|
14
|
+
|
|
3
15
|
## 0.0.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/css/markdown.css
CHANGED
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
/* Don't add margin to the first block */
|
|
78
78
|
.markdown > :first-child {
|
|
79
79
|
margin-top: 0;
|
|
80
|
+
margin-bottom: 0;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
.markdown h1 {
|
|
@@ -147,6 +148,9 @@
|
|
|
147
148
|
margin: 6px 0;
|
|
148
149
|
display: list-item;
|
|
149
150
|
}
|
|
151
|
+
.markdown ul:first-of-type li:first-of-type {
|
|
152
|
+
margin-top: 0;
|
|
153
|
+
}
|
|
150
154
|
.markdown a {
|
|
151
155
|
color: var(--scalar-color-accent);
|
|
152
156
|
text-decoration: var(--scalar-text-decoration);
|
|
@@ -174,7 +178,7 @@
|
|
|
174
178
|
.markdown code {
|
|
175
179
|
font-family: var(--scalar-font-code);
|
|
176
180
|
background-color: var(--scalar-background-2);
|
|
177
|
-
box-shadow: 0 0 0
|
|
181
|
+
box-shadow: 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
|
|
178
182
|
font-size: var(--scalar-micro);
|
|
179
183
|
border-radius: 2px;
|
|
180
184
|
padding: 0 3px;
|
|
@@ -194,7 +198,7 @@
|
|
|
194
198
|
|
|
195
199
|
.markdown hr {
|
|
196
200
|
border: none;
|
|
197
|
-
border-bottom:
|
|
201
|
+
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
198
202
|
}
|
|
199
203
|
|
|
200
204
|
.markdown blockquote {
|
|
@@ -212,7 +216,7 @@
|
|
|
212
216
|
width: max-content;
|
|
213
217
|
max-width: 100%;
|
|
214
218
|
margin: 1em 0;
|
|
215
|
-
box-shadow: 0 0 0
|
|
219
|
+
box-shadow: 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
|
|
216
220
|
border-radius: var(--scalar-radius-lg);
|
|
217
221
|
}
|
|
218
222
|
.markdown tbody {
|
|
@@ -242,8 +246,8 @@
|
|
|
242
246
|
font-size: var(--scalar-small);
|
|
243
247
|
color: var(--scalar-color-1);
|
|
244
248
|
font-weight: var(--font-weight, var(--scalar-regular));
|
|
245
|
-
border-right:
|
|
246
|
-
border-bottom:
|
|
249
|
+
border-right: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
250
|
+
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
247
251
|
}
|
|
248
252
|
|
|
249
253
|
.markdown td > *,
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lowlight",
|
|
17
17
|
"highlightjs"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.0.
|
|
19
|
+
"version": "0.0.10",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"vite": "^5.2.10",
|
|
88
88
|
"vue": "^3.4.29",
|
|
89
89
|
"@scalar/build-tooling": "0.1.10",
|
|
90
|
-
"@scalar/themes": "0.9.
|
|
90
|
+
"@scalar/themes": "0.9.23"
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"build": "scalar-build-rollup",
|