svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.63 kB
JavaScript
const dracula = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Dracula
Author: Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)
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:#e9e9f4;background:#282936}.hljs::selection,
.hljs ::selection{background-color:#4d4f68;color:#e9e9f4}.hljs-comment{color:#626483}.hljs-tag{color:#62d6e8}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#e9e9f4}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#ea51b2}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#b45bcf}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#00f769}.hljs-strong{font-weight:bold;color:#00f769}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#ebff87}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#a1efe4}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#62d6e8}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#b45bcf}.hljs-emphasis{color:#b45bcf;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#00f769}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default dracula;