svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.61 kB
JavaScript
const spacemacs = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Spacemacs
Author: Nasser Alshammari (https://github.com/nashamri/spacemacs-theme)
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:#a3a3a3;background:#1f2022}.hljs::selection,
.hljs ::selection{background-color:#444155;color:#a3a3a3}.hljs-comment{color:#585858}.hljs-tag{color:#b8b8b8}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#a3a3a3}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#f2241f}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#ffa500}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#b1951d}.hljs-strong{font-weight:bold;color:#b1951d}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#67b11d}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#2d9574}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#4f97d7}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#a31db1}.hljs-emphasis{color:#a31db1;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#b03060}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default spacemacs;