svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
17 lines (15 loc) • 1.03 kB
JavaScript
const sunburst = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#000;color:#f8f8f8}.hljs-comment,
.hljs-quote{color:#aeaeae;font-style:italic}.hljs-keyword,
.hljs-selector-tag,
.hljs-type{color:#e28964}.hljs-string{color:#65b042}.hljs-subst{color:#daefa3}.hljs-regexp,
.hljs-link{color:#e9c062}.hljs-title,
.hljs-section,
.hljs-tag,
.hljs-name{color:#89bdff}.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-doctag{text-decoration:underline}.hljs-symbol,
.hljs-bullet,
.hljs-number{color:#3387cc}.hljs-params,
.hljs-variable,
.hljs-template-variable{color:#3e87e3}.hljs-attribute{color:#cda869}.hljs-meta{color:#8996a8}.hljs-formula{background-color:#0e2231;color:#f8f8f8;font-style:italic}.hljs-addition{background-color:#253b22;color:#f8f8f8}.hljs-deletion{background-color:#420e09;color:#f8f8f8}.hljs-selector-class{color:#9b703f}.hljs-selector-id{color:#8b98ab}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}</style>`;
export default sunburst;