svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.58 kB
JavaScript
const brewer = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Brewer
Author: Timothée Poisot (http://github.com/tpoisot)
License: ~ MIT (or more permissive) [via base16-schemes-source]
Maintainer: @highlightjs/core-team
Version: 2021.09.0
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#b7b8b9;background:#0c0d0e}.hljs::selection,
.hljs ::selection{background-color:#515253;color:#b7b8b9}.hljs-comment{color:#737475}.hljs-tag{color:#959697}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#b7b8b9}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#e31a1c}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#e6550d}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#dca060}.hljs-strong{font-weight:bold;color:#dca060}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#31a354}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#80b1d3}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#3182bd}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#756bb1}.hljs-emphasis{color:#756bb1;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#b15928}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default brewer;