svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.59 kB
JavaScript
const darkmoss = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: darkmoss
Author: Gabriel Avanzi (https://github.com/avanzzzi)
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:#c7c7a5;background:#171e1f}.hljs::selection,
.hljs ::selection{background-color:#373c3d;color:#c7c7a5}.hljs-comment{color:#555e5f}.hljs-tag{color:#818f80}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#c7c7a5}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#ff4658}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#e6db74}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#fdb11f}.hljs-strong{font-weight:bold;color:#fdb11f}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#499180}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#66d9ef}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#498091}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#9bc0c8}.hljs-emphasis{color:#9bc0c8;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#d27b53}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default darkmoss;