svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.6 kB
JavaScript
const darkViolet = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Dark Violet
Author: ruler501 (https://github.com/ruler501/base16-darkviolet)
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:#b08ae6;background:#000000}.hljs::selection,
.hljs ::selection{background-color:#432d59;color:#b08ae6}.hljs-comment{color:#593380}.hljs-tag{color:#00ff00}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#b08ae6}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#a82ee6}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#bb66cc}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#f29df2}.hljs-strong{font-weight:bold;color:#f29df2}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#4595e6}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#40dfff}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#4136d9}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#7e5ce6}.hljs-emphasis{color:#7e5ce6;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#a886bf}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default darkViolet;