svelte-highlight
Version:
Svelte component library for highlighting code using highlight.js
38 lines (36 loc) • 1.12 kB
JavaScript
const rosePineDawn = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs-meta,
.hljs-comment{color:#9893a5}.hljs-tag,
.hljs-doctag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-template-tag,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_,
.hljs-deletion{color:#b4637a}.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-link{color:#d7827e}.hljs-built_in,
.hljs-attribute{color:#ea9d34}.hljs-selector-tag{color:#286983}.hljs-keyword,
.hljs-title.function_,
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-subst,
.hljs-property,.hljs-selector-tag{color:#56949f}.hljs-quote,
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition{color:#286983}.hljs-code,
.hljs-formula,
.hljs-section{color:#d7827e}.hljs-name,
.hljs-keyword,
.hljs-operator,
.hljs-keyword,
.hljs-char.escape_,
.hljs-attr{color:#907aa9}.hljs-punctuation,.hljs{color:#575279}.hljs{background:#faf4ed}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}</style>`;
export default rosePineDawn;