UNPKG

highlight-it

Version:

A lightweight syntax highlighting library with themes, line numbers, and copy functionality

192 lines (149 loc) 2.34 kB
pre code.hljs { display: block; overflow-x: auto; padding: 1em; } code.hljs { padding: 3px 5px; } :root { color: #d3af86; } .hljs-quote { color: #d6baad; } .hljs-meta { color: #dc3958; } .hljs-link { color: #f79a32; } .hljs-addition { color: #889b4a; } .hljs-function { color: #98676a; } .hljs-attribute { color: #f06431; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .highlightit-theme-light { color: #84613d; .hljs-quote { color: #a57a4c; } .hljs-meta { color: #dc3958; } .hljs-link { color: #f79a32; } .hljs-addition { color: #889b4a; } .hljs-function { color: #98676a; } .hljs-attribute { color: #f06431; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } } @media (prefers-color-scheme: light) { :root.highlightit-theme-auto { color: #84613d; .hljs-quote { color: #a57a4c; } .hljs-meta { color: #dc3958; } .hljs-link { color: #f79a32; } .hljs-addition { color: #889b4a; } .hljs-function { color: #98676a; } .hljs-attribute { color: #f06431; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } } } .highlightit-container[data-theme='light'], .highlightit-container pre[data-theme='light'], .highlightit-container code[data-theme='light'] { color: #84613d; .hljs-quote { color: #a57a4c; } .hljs-meta { color: #dc3958; } .hljs-link { color: #f79a32; } .hljs-addition { color: #889b4a; } .hljs-function { color: #98676a; } .hljs-attribute { color: #f06431; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } } .highlightit-container[data-theme='dark'], .highlightit-container pre[data-theme='dark'], .highlightit-container code[data-theme='dark'] { color: #d3af86; .hljs-quote { color: #d6baad; } .hljs-meta { color: #dc3958; } .hljs-link { color: #f79a32; } .hljs-addition { color: #889b4a; } .hljs-function { color: #98676a; } .hljs-attribute { color: #f06431; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } }