@antdv-next/x-markdown 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antdv-next/x-markdown",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist",
package/themes/dark.css CHANGED
@@ -151,7 +151,7 @@
151
151
  background-color: var(--cite-hover-bg);
152
152
  }
153
153
 
154
- .x-markdown-dark pre code:not([class$="-codeHighlighter-code"] pre code) {
154
+ .x-markdown-dark pre code:not([class$="-highlighter-code"] pre code) {
155
155
  display: block;
156
156
  background: var(--dark-bg) !important;
157
157
  padding: var(--padding-code);
@@ -162,7 +162,7 @@
162
162
  margin: var(--margin-pre);
163
163
  }
164
164
 
165
- .x-markdown-dark code:not([class$="-codeHighlighter-code"] code):not(pre code) {
165
+ .x-markdown-dark code:not([class$="-highlighter-code"] code):not(pre code) {
166
166
  background-color: var(--dark-bg) !important;
167
167
  color: var(--text-color) !important;
168
168
  border-radius: var(--border-radius-small);
package/themes/light.css CHANGED
@@ -154,7 +154,7 @@
154
154
  background-color: var(--cite-hover-bg);
155
155
  }
156
156
 
157
- .x-markdown-light pre code:not([class$="-highlightCode-code"] pre code) {
157
+ .x-markdown-light pre code:not([class$="-highlighter-code"] pre code) {
158
158
  display: block;
159
159
  background: var(--light-bg) !important;
160
160
  padding: var(--padding-code);
@@ -165,7 +165,7 @@
165
165
  margin: var(--margin-pre);
166
166
  }
167
167
 
168
- .x-markdown-light code:not([class$="-highlightCode-code"] code):not(pre code) {
168
+ .x-markdown-light code:not([class$="-highlighter-code"] code):not(pre code) {
169
169
  background-color: var(--light-bg) !important;
170
170
  color: var(--text-color) !important;
171
171
  border-radius: var(--border-radius-small);