@scalar/code-highlight 0.0.15 → 0.0.17

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.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 9002259: style: font size fixtures
8
+
9
+ ## 0.0.16
10
+
11
+ ### Patch Changes
12
+
13
+ - 1b06f64: fix(api-reference): conflicting styles with bulma, galaxy bug on docs
14
+
3
15
  ## 0.0.15
4
16
 
5
17
  ### Patch Changes
package/dist/css/code.css CHANGED
@@ -11,7 +11,9 @@
11
11
  tab-size: 4;
12
12
  }
13
13
  code.hljs {
14
+ all: unset;
14
15
  font-size: var(--scalar-small);
16
+ color: var(--scalar-color-2);
15
17
  font-family: var(--scalar-font-code);
16
18
  display: inline-block;
17
19
  counter-reset: linenumber;
@@ -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.15",
19
+ "version": "0.0.17",
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
@@ -90,10 +90,10 @@
90
90
  "@types/mdast": "^4.0.4",
91
91
  "@types/unist": "^3.0.2",
92
92
  "vfile": "^6.0.1",
93
- "vite": "^5.4.9",
93
+ "vite": "^5.4.10",
94
94
  "vue": "^3.5.12",
95
95
  "@scalar/build-tooling": "0.1.12",
96
- "@scalar/themes": "0.9.47"
96
+ "@scalar/themes": "0.9.51"
97
97
  },
98
98
  "scripts": {
99
99
  "build": "scalar-build-rollup",