@scalar/code-highlight 0.0.16 → 0.0.18

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,5 +1,17 @@
1
1
  # @scalar/code-highlight
2
2
 
3
+ ## 0.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - e199e9b: feat: updates chevron down icon
8
+
9
+ ## 0.0.17
10
+
11
+ ### Patch Changes
12
+
13
+ - 9002259: style: font size fixtures
14
+
3
15
  ## 0.0.16
4
16
 
5
17
  ### Patch Changes
@@ -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: 16px;
53
- height: 16px;
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="M8.25 19.5L15.75 12L8.25 4.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
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 {
@@ -184,6 +184,10 @@
184
184
  padding: 0 3px;
185
185
  }
186
186
 
187
+ .markdown .hljs {
188
+ font-size: var(--scalar-small);
189
+ }
190
+
187
191
  .markdown pre code {
188
192
  display: block;
189
193
  white-space: pre;
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "lowlight",
17
17
  "highlightjs"
18
18
  ],
19
- "version": "0.0.16",
19
+ "version": "0.0.18",
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.50"
96
+ "@scalar/themes": "0.9.54"
97
97
  },
98
98
  "scripts": {
99
99
  "build": "scalar-build-rollup",