| pre code.hljs { | |
| @apply block overflow-x-auto p-4; | |
| } | |
| code.hljs { | |
| padding: 3px 5px; | |
| } | |
| .hljs { | |
| @apply font-mono; | |
| color: #545454; | |
| background: #fefefe; | |
| } | |
| /* Comment */ | |
| .hljs-comment, | |
| .hljs-quote { | |
| color: #696969; | |
| } | |
| /* Red */ | |
| .hljs-variable, | |
| .hljs-template-variable, | |
| .hljs-tag, | |
| .hljs-name, | |
| .hljs-selector-id, | |
| .hljs-selector-class, | |
| .hljs-regexp, | |
| .hljs-deletion { | |
| color: #d91e18; | |
| } | |
| /* Orange */ | |
| .hljs-number, | |
| .hljs-built_in, | |
| .hljs-literal, | |
| .hljs-type, | |
| .hljs-params, | |
| .hljs-meta, | |
| .hljs-link { | |
| color: #aa5d00; | |
| } | |
| /* Yellow */ | |
| .hljs-attribute { | |
| color: #aa5d00; | |
| } | |
| /* Green */ | |
| .hljs-string, | |
| .hljs-symbol, | |
| .hljs-bullet, | |
| .hljs-addition { | |
| color: #008000; | |
| } | |
| /* Blue */ | |
| .hljs-title, | |
| .hljs-section { | |
| color: #007faa; | |
| } | |
| /* Purple */ | |
| .hljs-keyword, | |
| .hljs-selector-tag { | |
| color: #7928a1; | |
| } | |
| .hljs-emphasis { | |
| font-style: italic; | |
| } | |
| .hljs-strong { | |
| font-weight: bold; | |
| } | |
| @media screen and (-ms-high-contrast: active) { | |
| .hljs-addition, | |
| .hljs-attribute, | |
| .hljs-built_in, | |
| .hljs-bullet, | |
| .hljs-comment, | |
| .hljs-link, | |
| .hljs-literal, | |
| .hljs-meta, | |
| .hljs-number, | |
| .hljs-params, | |
| .hljs-string, | |
| .hljs-symbol, | |
| .hljs-type, | |
| .hljs-quote { | |
| color: highlight; | |
| } | |
| .hljs-keyword, | |
| .hljs-selector-tag { | |
| font-weight: bold; | |
| } | |
| } | |