react-syntax-highlighter
Advanced tools
Comparing version 11.0.2 to 11.0.3
@@ -48,2 +48,3 @@ ## Available `stylesheet` props | ||
* googlecode | ||
* gradientDark | ||
* grayscale | ||
@@ -65,2 +66,3 @@ * gruvboxDark | ||
* monokai | ||
* nightOwl | ||
* nord | ||
@@ -67,0 +69,0 @@ * obsidian |
@@ -12,6 +12,4 @@ "use strict"; | ||
"padding": "0.5em", | ||
"lineHeight": "1.3em", | ||
"color": "#abb2bf", | ||
"background": "#282c34", | ||
"borderRadius": "5px" | ||
"background": "#282c34" | ||
}, | ||
@@ -18,0 +16,0 @@ "hljs-keyword": { |
@@ -21,5 +21,2 @@ "use strict"; | ||
}, | ||
"hljs-string": { | ||
"color": "#df5000" | ||
}, | ||
"hljs-variable": { | ||
@@ -41,9 +38,9 @@ "color": "#df5000" | ||
"hljs-keyword": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
"hljs-selector-tag": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
"hljs-type": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
@@ -72,18 +69,18 @@ "hljs-literal": { | ||
"hljs-title": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-attr": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-id": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-class": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-attr": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-pseudo": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
@@ -100,4 +97,10 @@ "hljs-addition": { | ||
"textDecoration": "underline" | ||
}, | ||
"hljs-number": { | ||
"color": "#005cc5" | ||
}, | ||
"hljs-string": { | ||
"color": "#032f62" | ||
} | ||
}; | ||
exports.default = _default; |
@@ -15,3 +15,3 @@ "use strict"; | ||
}, | ||
"hljs-keywords": { | ||
"hljs-keyword": { | ||
"color": "#FFB871", | ||
@@ -18,0 +18,0 @@ "fontWeight": "bold" |
@@ -97,2 +97,3 @@ "use strict"; | ||
"display": "block", | ||
"overflowX": "auto", | ||
"background": "#322931", | ||
@@ -99,0 +100,0 @@ "color": "#b9b5b8", |
@@ -284,2 +284,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "gradientDark", { | ||
enumerable: true, | ||
get: function get() { | ||
return _gradientDark.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "grayscale", { | ||
@@ -381,2 +387,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "nightOwl", { | ||
enumerable: true, | ||
get: function get() { | ||
return _nightOwl.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "nord", { | ||
@@ -637,2 +649,4 @@ enumerable: true, | ||
var _gradientDark = _interopRequireDefault(require("./gradient-dark")); | ||
var _grayscale = _interopRequireDefault(require("./grayscale")); | ||
@@ -670,2 +684,4 @@ | ||
var _nightOwl = _interopRequireDefault(require("./night-owl")); | ||
var _nord = _interopRequireDefault(require("./nord")); | ||
@@ -672,0 +688,0 @@ |
@@ -13,6 +13,6 @@ "use strict"; | ||
"background": "white", | ||
"color": "#000000" | ||
"color": "black" | ||
}, | ||
"hljs-subst": { | ||
"color": "#000000" | ||
"color": "black" | ||
}, | ||
@@ -19,0 +19,0 @@ "hljs-comment": { |
@@ -14,8 +14,6 @@ "use strict"; | ||
"lineHeight": "16px", | ||
"color": "#3e5915" | ||
}, | ||
"re": { | ||
"background": "#f6f6ae url(./school-book.png)", | ||
"borderTop": "solid 2px #d2e8b9", | ||
"borderBottom": "solid 1px #d2e8b9" | ||
"borderBottom": "solid 1px #d2e8b9", | ||
"color": "#3e5915" | ||
}, | ||
@@ -22,0 +20,0 @@ "hljs-keyword": { |
@@ -11,4 +11,3 @@ "use strict"; | ||
"overflowX": "auto", | ||
"lineHeight": "1.45", | ||
"padding": "2rem", | ||
"padding": "0.5em", | ||
"background": "#2d2b57", | ||
@@ -15,0 +14,0 @@ "fontWeight": "normal", |
@@ -13,3 +13,3 @@ "use strict"; | ||
"background": "#000", | ||
"padding": "0.5" | ||
"padding": "0.5em" | ||
}, | ||
@@ -16,0 +16,0 @@ "hljs-subst": { |
@@ -6,6 +6,4 @@ export default { | ||
"padding": "0.5em", | ||
"lineHeight": "1.3em", | ||
"color": "#abb2bf", | ||
"background": "#282c34", | ||
"borderRadius": "5px" | ||
"background": "#282c34" | ||
}, | ||
@@ -12,0 +10,0 @@ "hljs-keyword": { |
@@ -15,5 +15,2 @@ export default { | ||
}, | ||
"hljs-string": { | ||
"color": "#df5000" | ||
}, | ||
"hljs-variable": { | ||
@@ -35,9 +32,9 @@ "color": "#df5000" | ||
"hljs-keyword": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
"hljs-selector-tag": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
"hljs-type": { | ||
"color": "#a71d5d" | ||
"color": "#d73a49" | ||
}, | ||
@@ -66,18 +63,18 @@ "hljs-literal": { | ||
"hljs-title": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-attr": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-id": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-class": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-attr": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
"hljs-selector-pseudo": { | ||
"color": "#795da3" | ||
"color": "#6f42c1" | ||
}, | ||
@@ -94,3 +91,9 @@ "hljs-addition": { | ||
"textDecoration": "underline" | ||
}, | ||
"hljs-number": { | ||
"color": "#005cc5" | ||
}, | ||
"hljs-string": { | ||
"color": "#032f62" | ||
} | ||
}; |
@@ -9,3 +9,3 @@ export default { | ||
}, | ||
"hljs-keywords": { | ||
"hljs-keyword": { | ||
"color": "#FFB871", | ||
@@ -12,0 +12,0 @@ "fontWeight": "bold" |
@@ -91,2 +91,3 @@ export default { | ||
"display": "block", | ||
"overflowX": "auto", | ||
"background": "#322931", | ||
@@ -93,0 +94,0 @@ "color": "#b9b5b8", |
@@ -47,2 +47,3 @@ export { default as a11yDark } from './a11y-dark'; | ||
export { default as googlecode } from './googlecode'; | ||
export { default as gradientDark } from './gradient-dark'; | ||
export { default as grayscale } from './grayscale'; | ||
@@ -64,2 +65,3 @@ export { default as gruvboxDark } from './gruvbox-dark'; | ||
export { default as monokai } from './monokai'; | ||
export { default as nightOwl } from './night-owl'; | ||
export { default as nord } from './nord'; | ||
@@ -66,0 +68,0 @@ export { default as obsidian } from './obsidian'; |
@@ -7,6 +7,6 @@ export default { | ||
"background": "white", | ||
"color": "#000000" | ||
"color": "black" | ||
}, | ||
"hljs-subst": { | ||
"color": "#000000" | ||
"color": "black" | ||
}, | ||
@@ -13,0 +13,0 @@ "hljs-comment": { |
@@ -8,8 +8,6 @@ export default { | ||
"lineHeight": "16px", | ||
"color": "#3e5915" | ||
}, | ||
"re": { | ||
"background": "#f6f6ae url(./school-book.png)", | ||
"borderTop": "solid 2px #d2e8b9", | ||
"borderBottom": "solid 1px #d2e8b9" | ||
"borderBottom": "solid 1px #d2e8b9", | ||
"color": "#3e5915" | ||
}, | ||
@@ -16,0 +14,0 @@ "hljs-keyword": { |
@@ -5,4 +5,3 @@ export default { | ||
"overflowX": "auto", | ||
"lineHeight": "1.45", | ||
"padding": "2rem", | ||
"padding": "0.5em", | ||
"background": "#2d2b57", | ||
@@ -9,0 +8,0 @@ "fontWeight": "normal", |
@@ -7,3 +7,3 @@ export default { | ||
"background": "#000", | ||
"padding": "0.5" | ||
"padding": "0.5em" | ||
}, | ||
@@ -10,0 +10,0 @@ "hljs-subst": { |
{ | ||
"name": "react-syntax-highlighter", | ||
"version": "11.0.2", | ||
"version": "11.0.3", | ||
"description": "syntax highlighting component for react with prismjs or highlightjs ast using inline styles", | ||
@@ -10,3 +10,3 @@ "main": "dist/cjs/index.js", | ||
"@babel/runtime": "^7.3.1", | ||
"highlight.js": "~9.13.0", | ||
"highlight.js": "~9.18.2", | ||
"lowlight": "~1.11.0", | ||
@@ -13,0 +13,0 @@ "prismjs": "^1.8.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1203421
1188
48898
+ Addedhighlight.js@9.18.5(transitive)
Updatedhighlight.js@~9.18.2