svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.61 kB
JavaScript
const grayscaleLight = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Grayscale Light
Author: Alexandre Gavioli (https://github.com/Alexx2/)
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:#464646;background:#f7f7f7}.hljs::selection,
.hljs ::selection{background-color:#b9b9b9;color:#464646}.hljs-comment{color:#ababab}.hljs-tag{color:#525252}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#464646}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#7c7c7c}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#999999}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#a0a0a0}.hljs-strong{font-weight:bold;color:#a0a0a0}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#8e8e8e}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#868686}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#686868}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#747474}.hljs-emphasis{color:#747474;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#5e5e5e}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default grayscaleLight;