@theme-ui/prism
Version:
A syntax highlighting component based on [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) that works seamlessly with Theme UI.
44 lines (43 loc) • 831 B
JSON
{
"color": "white",
"backgroundColor": "black",
".comment,.prolog,.doctype,.cdata": {
"color": "#aaa"
},
".punctuation": {
"color": "#999"
},
".namespace": {
"opacity": 0.7
},
".property,.tag,.boolean,.number,.constant,.symbol": {
"color": "#0cf"
},
".selector,.attr-name,.string,.char,.builtin": {
"color": "yellow"
},
".operator,.entity,.url,.language-css .string,.variable,.inserted": {
"color": "yellowgreen"
},
".atrule,.attr-value,.keyword": {
"color": "deeppink"
},
".regex,.important": {
"color": "orange"
},
".important,.bold": {
"fontWeight": "bold"
},
".italic": {
"fontStyle": "italic"
},
".entity": {
"cursor": "help"
},
".deleted": {
"color": "red"
},
".highlight": {
"background": "hsla(0, 0%, 40%, .5)"
}
}