svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.57 kB
JavaScript
const materialVivid = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Material Vivid
Author: joshyrobot
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:#80868b;background:#202124}.hljs::selection,
.hljs ::selection{background-color:#323639;color:#80868b}.hljs-comment{color:#44464d}.hljs-tag{color:#676c71}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#80868b}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#f44336}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#ff9800}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#ffeb3b}.hljs-strong{font-weight:bold;color:#ffeb3b}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#00e676}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#00bcd4}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#2196f3}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#673ab7}.hljs-emphasis{color:#673ab7;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#8d6e63}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default materialVivid;