svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
99 lines (96 loc) • 1.35 kB
CSS
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
/*
Gradient Light (c) Samia Ali <samiaab1990@gmail.com>
*/
.hljs {
background-color: #f9ccff;
background-image: linear-gradient(
295deg,
#f9ccff 0%,
#e6bbf9 11%,
#9ec6f9 32%,
#55e6ee 60%,
#91f5d1 74%,
#f9ffbf 98%
);
color: #250482;
}
.hljs-subtr {
color: #01958b;
}
.hljs-doctag,
.hljs-meta,
.hljs-comment,
.hljs-quote {
color: #cb7200;
}
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-regexp,
.hljs-attr,
.hljs-tag {
color: #07bd5f;
}
.hljs-params,
.hljs-selector-class,
.hljs-bullet {
color: #43449f;
}
.hljs-keyword,
.hljs-section,
.hljs-meta .hljs-keyword,
.hljs-symbol,
.hljs-type {
color: #7d2801;
}
.hljs-addition,
.hljs-number,
.hljs-link {
color: #7f0096;
}
.hljs-string {
color: #2681ab;
}
.hljs-attribute,
.hljs-addition {
color: #296562;
}
.hljs-variable,
.hljs-template-variable {
color: #025c8f;
}
.hljs-built_in,
.hljs-formula,
.hljs-name,
.hljs-title,
.hljs-class,
.hljs-function {
color: #529117;
}
.hljs-selector-pseudo,
.hljs-deletion,
.hljs-literal {
color: #ad13ff;
}
.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;
}