@scalar/code-highlight 0.1.2 → 0.1.4

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,18 @@
1
1
  # @scalar/code-highlight
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 7913193: feat: updates hljs curl language style
8
+
9
+ ## 0.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 4156f1d: Expand workspace store integration
14
+ - a37df33: fix: enhances introduction optical alignment
15
+
3
16
  ## 0.1.2
4
17
 
5
18
  ### Patch Changes
package/dist/css/code.css CHANGED
@@ -165,20 +165,12 @@
165
165
  color: var(--scalar-color-2);
166
166
  }
167
167
 
168
- .hljs.language-curl .hljs-keyword {
169
- color: var(--scalar-color-orange);
170
- }
171
-
172
168
  .hljs.language-curl .hljs-string {
173
- color: var(--scalar-color-1);
174
- }
175
-
176
- .hljs.language-curl .hljs-literal {
177
169
  color: var(--scalar-color-blue);
178
170
  }
179
171
 
180
172
  .hljs.language-curl .hljs-literal {
181
- color: var(--scalar-color-blue);
173
+ color: var(--scalar-color-1);
182
174
  }
183
175
 
184
176
  /** Compromise here */
@@ -263,7 +263,7 @@
263
263
  display: flex;
264
264
  align-items: top;
265
265
  height: 40px;
266
- padding: 11px 0px 11px 40px;
266
+ padding: 11px 0px 11px 37px;
267
267
  position: relative;
268
268
  font-weight: var(--scalar-semibold);
269
269
  cursor: pointer;
@@ -285,7 +285,7 @@
285
285
  content: "";
286
286
  position: absolute;
287
287
  top: calc(var(--markdown-spacing-sm) + 1px);
288
- left: 14px;
288
+ left: 10px;
289
289
  width: var(--markdown-spacing-md);
290
290
  height: var(--markdown-spacing-md);
291
291
  background-color: var(--scalar-color-3);
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "lowlight",
17
17
  "highlightjs"
18
18
  ],
19
- "version": "0.1.2",
19
+ "version": "0.1.4",
20
20
  "engines": {
21
21
  "node": ">=20"
22
22
  },
@@ -97,8 +97,8 @@
97
97
  "vfile": "^6.0.1",
98
98
  "vite": "5.4.19",
99
99
  "vue": "^3.5.12",
100
- "@scalar/build-tooling": "0.2.2",
101
- "@scalar/themes": "0.13.2"
100
+ "@scalar/build-tooling": "0.2.3",
101
+ "@scalar/themes": "0.13.3"
102
102
  },
103
103
  "scripts": {
104
104
  "build": "scalar-build-esbuild",