svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.59 kB
JavaScript
const rosPineDawn = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Rosé Pine Dawn
Author: Emilia Dunfelt <sayhi@dunfelt.se>
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:#575279;background:#faf4ed}.hljs::selection,
.hljs ::selection{background-color:#f2e9de;color:#575279}.hljs-comment{color:#9893a5}.hljs-tag{color:#6e6a86}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#575279}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#1f1d2e}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#b4637a}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#ea9d34}.hljs-strong{font-weight:bold;color:#ea9d34}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#d7827e}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#286983}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#56949f}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#907aa9}.hljs-emphasis{color:#907aa9;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#c5c3ce}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default rosPineDawn;