svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
37 lines (35 loc) • 1.19 kB
JavaScript
const gradientDark = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background-color:#652487;background-image:linear-gradient(160deg,#652487 0%,#443ac3 35%,#0174b7 68%,#04988e 100%);color:#e7e4eb}.hljs-subtr{color:#e7e4eb}.hljs-doctag,
.hljs-meta,
.hljs-comment,
.hljs-quote{color:#af8dd9}.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-regexp,
.hljs-attr,
.hljs-tag{color:#AEFBFF}.hljs-params,
.hljs-selector-class,
.hljs-bullet{color:#F19FFF}.hljs-keyword,
.hljs-section,
.hljs-meta .hljs-keyword,
.hljs-symbol,
.hljs-type{color:#17fc95}.hljs-addition,
.hljs-number,
.hljs-link{color:#C5FE00}.hljs-string{color:#38c0ff}.hljs-attribute,
.hljs-addition{color:#E7FF9F}.hljs-variable,
.hljs-template-variable{color:#E447FF}.hljs-built_in,
.hljs-formula,
.hljs-name,
.hljs-title,
.hljs-class,
.hljs-function{color:#FFC800}.hljs-selector-pseudo,
.hljs-deletion,
.hljs-literal{color:#FF9E44}.hljs-emphasis,
.hljs-quote{font-style:italic}.hljs-params,
.hljs-selector-class,
.hljs-strong,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-section,
.hljs-keyword{font-weight:bold}</style>`;
export default gradientDark;