Skip to content

Commit 28694b8

Browse files
authored
Add equinox.css with syntax highlighting styles
This style aim to be - usable in both light and dark mode - loosely based on Monaco coloring scheme - no background for a smooth integration
1 parent 5697ae5 commit 28694b8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/styles/equinox.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.hljs{filter: saturate(2)}
2+
.hljs-emphasis{font-style:italic}
3+
.hljs-strong{font-weight:700}
4+
.hljs-link{text-decoration:underline}
5+
.hljs-comment,.hljs-doctag,.hljs-quote{color:color-mix(in srgb, currentColor, green)}
6+
.hljs-formula,.hljs-keyword{color:color-mix(in srgb, currentColor, purple)}
7+
.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:color-mix(in srgb, currentColor, pink)}
8+
.hljs-literal{color:color-mix(in srgb, currentColor, cyan)}
9+
.hljs-number{color:color-mix(in srgb, currentColor, lime)}
10+
.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:color-mix(in srgb, currentColor, orange)}
11+
.hljs-attr,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:color-mix(in srgb, currentColor, blue)}
12+
.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:color-mix(in srgb, currentColor, olive)}
13+
.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:color-mix(in srgb, currentColor, yellow)}

0 commit comments

Comments
 (0)