@scalar/code-highlight 0.0.17 → 0.0.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/CHANGELOG.md +12 -0
- package/dist/css/markdown.css +8 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scalar/code-highlight
|
|
2
2
|
|
|
3
|
+
## 0.0.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6407b2b: feat(api-reference): extend font weights for links and sidebar items
|
|
8
|
+
|
|
9
|
+
## 0.0.18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- e199e9b: feat: updates chevron down icon
|
|
14
|
+
|
|
3
15
|
## 0.0.17
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/css/markdown.css
CHANGED
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
content: '';
|
|
47
47
|
|
|
48
48
|
position: absolute;
|
|
49
|
-
top: 1px;
|
|
50
|
-
left: 1px;
|
|
49
|
+
top: -1px;
|
|
50
|
+
left: -1px;
|
|
51
51
|
|
|
52
|
-
width:
|
|
53
|
-
height:
|
|
52
|
+
width: 20px;
|
|
53
|
+
height: 20px;
|
|
54
54
|
|
|
55
55
|
background-color: var(--scalar-color-3);
|
|
56
|
-
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="
|
|
56
|
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.markdown summary:hover::after {
|
|
@@ -152,11 +152,13 @@
|
|
|
152
152
|
margin-top: 0;
|
|
153
153
|
}
|
|
154
154
|
.markdown a {
|
|
155
|
-
color: var(--scalar-color-accent);
|
|
155
|
+
color: var(--scalar-link-color, var(--scalar-color-accent));
|
|
156
|
+
font-weight: var(--scalar-link-font-weight, inherit);
|
|
156
157
|
text-decoration: var(--scalar-text-decoration);
|
|
157
158
|
cursor: pointer;
|
|
158
159
|
}
|
|
159
160
|
.markdown a:hover {
|
|
161
|
+
color: var(--scalar-link-color-hover, var(--scalar-color-accent));
|
|
160
162
|
text-decoration: var(--scalar-text-decoration-hover);
|
|
161
163
|
}
|
|
162
164
|
.markdown em {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"bugs": "https://github.com/scalar/scalar/issues/new/choose",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/scalar/scalar.git",
|
|
10
|
+
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/code-highlight"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lowlight",
|
|
17
17
|
"highlightjs"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.0.
|
|
19
|
+
"version": "0.0.19",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"vite": "^5.4.10",
|
|
94
94
|
"vue": "^3.5.12",
|
|
95
95
|
"@scalar/build-tooling": "0.1.12",
|
|
96
|
-
"@scalar/themes": "0.9.
|
|
96
|
+
"@scalar/themes": "0.9.58"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|
|
99
99
|
"build": "scalar-build-rollup",
|