@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) • 909 B
JSON
{
"color": "white",
"backgroundColor": "hsl(30, 20%, 25%)",
".comment,.prolog,.doctype,.cdata": {
"color": "hsl(30, 20%, 50%)"
},
".punctuation": {
"opacity": 0.7
},
".namespace": {
"opacity": 0.7
},
".property,.tag,.boolean,.number,.constant,.symbol": {
"color": "hsl(350, 40%, 70%)"
},
".selector,.attr-name,.string,.char,.builtin,.inserted": {
"color": "hsl(75, 70%, 60%)"
},
".operator,.entity,.url,.language-css .string,.style .string,.variable": {
"color": "hsl(40, 90%, 60%)"
},
".atrule,.attr-value,.keyword": {
"color": "hsl(350, 40%, 70%)"
},
".regex,.important": {
"color": "#e90"
},
".important,.bold": {
"fontWeight": "bold"
},
".italic": {
"fontStyle": "italic"
},
".entity": {
"cursor": "help"
},
".deleted": {
"color": "red"
},
".highlight": {
"background": "hsla(0, 0%, 70%, .5)"
}
}