svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
43 lines (41 loc) • 1.57 kB
JavaScript
const ocean = `<style>pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
/*!
Theme: Ocean
Author: Chris Kempson (http://chriskempson.com)
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:#c0c5ce;background:#2b303b}.hljs::selection,
.hljs ::selection{background-color:#4f5b66;color:#c0c5ce}.hljs-comment{color:#65737e}.hljs-tag{color:#a7adba}.hljs-subst,
.hljs-punctuation,
.hljs-operator{color:#c0c5ce}.hljs-operator{opacity:0.7}.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion{color:#bf616a}.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal{color:#d08770}.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_{color:#ebcb8b}.hljs-strong{font-weight:bold;color:#ebcb8b}.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string{color:#a3be8c}.hljs-built_in,
.hljs-doctag,
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp{color:#96b5b4}.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section{color:#8fa1b3}.hljs-type,
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword{color:#b48ead}.hljs-emphasis{color:#b48ead;font-style:italic}.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string{color:#ab7967}.hljs-meta .hljs-keyword,
.hljs-meta-keyword{font-weight:bold}</style>`;
export default ocean;