UNPKG

highlight-it

Version:

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

192 lines (149 loc) 2.38 kB
pre code.hljs { display: block; overflow-x: auto; padding: 1em; } code.hljs { padding: 3px 5px; } :root { color: #a39e9b; } .hljs-quote { color: #8d8687; } .hljs-meta { color: #ef6155; } .hljs-deletion { color: #f99b15; } .hljs-attribute { color: #fec418; } .hljs-addition { color: #48b685; } .hljs-selector-tag { color: #815ba4; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .highlightit-theme-light { color: #4f424c; .hljs-quote { color: #776e71; } .hljs-meta { color: #ef6155; } .hljs-deletion { color: #f99b15; } .hljs-attribute { color: #fec418; } .hljs-addition { color: #48b685; } .hljs-selector-tag { color: #815ba4; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } } @media (prefers-color-scheme: light) { :root.highlightit-theme-auto { color: #4f424c; .hljs-quote { color: #776e71; } .hljs-meta { color: #ef6155; } .hljs-deletion { color: #f99b15; } .hljs-attribute { color: #fec418; } .hljs-addition { color: #48b685; } .hljs-selector-tag { color: #815ba4; } .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: #4f424c; .hljs-quote { color: #776e71; } .hljs-meta { color: #ef6155; } .hljs-deletion { color: #f99b15; } .hljs-attribute { color: #fec418; } .hljs-addition { color: #48b685; } .hljs-selector-tag { color: #815ba4; } .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: #a39e9b; .hljs-quote { color: #8d8687; } .hljs-meta { color: #ef6155; } .hljs-deletion { color: #f99b15; } .hljs-attribute { color: #fec418; } .hljs-addition { color: #48b685; } .hljs-selector-tag { color: #815ba4; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } }