Skip to content

Commit

Permalink
2024-04-13 19:00:03
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiKimera committed Apr 13, 2024
1 parent 522e45c commit 02eab5f
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 80 deletions.
13 changes: 13 additions & 0 deletions assets/css/system/modules/_syntax.hljs.scss
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
// ------------------------------------------------------------------------------------------------------------------ //
// Global.
// ------------------------------------------------------------------------------------------------------------------ //

pre {
color: #cdd6f4 !important;
background: #282c34 !important;
}

// ------------------------------------------------------------------------------------------------------------------ //
// Custom.
// ------------------------------------------------------------------------------------------------------------------ //

@import 'syntax.hljs.theme';
179 changes: 99 additions & 80 deletions assets/css/system/modules/_syntax.hljs.theme.scss
Original file line number Diff line number Diff line change
@@ -1,92 +1,111 @@
pre {
color: #abb2bf !important;
background: #282c34 !important;
}
code {
.hljs {
&-keyword,
&-name,
&-selector-attr,
&-variable,
&-variable.language_ {
color: #cba6f7
}

/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/

.hljs-comment,
.hljs-quote {
color: #5c6370;
font-style: italic
}
&-built_in,
&-doctag {
color: #f38ba8
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #c678dd
}
&-selector-tag,
&-title.class_,
&-type {
color: #f9e2af
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e06c75
}
&-literal,
&-meta,
&-number,
&-variable.constant_ {
color: #fab387
}

.hljs-literal {
color: #56b6c2
}
&-bullet,
&-formula,
&-operator,
&-property,
&-selector-class,
&-selector-pseudo {
color: #94e2d5
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
color: #98c379
}
&-punctuation {
color: #bac2de
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #d19a66
}
&-regexp {
color: #f5c2e7
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #61aeee
}
&-attribute,
&-char.escape_,
&-code,
&-string {
color: #a6e3a1
}

.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #e6c07b
}
&-subst,
&-tag {
color: #a6adc8
}

.hljs-emphasis {
font-style: italic
}
&-symbol,
&-template-tag,
&-template-variable {
color: #f2cdcd
}

.hljs-strong {
font-weight: bold
}
&-attr,
&-section,
&-selector-id,
&-title,
&-title.function_ {
color: #89b4fa
}

&-params {
color: #cdd6f4
}

&-comment {
color: #585b70;
font-style: italic
}

&-emphasis {
color: #f38ba8;
font-style: italic
}

&-strong {
color: #f38ba8;
font-weight: 700
}

&-link {
color: #74c7ec;
font-style: italic
}

&-quote {
color: #a6e3a1;
font-style: italic
}

&-addition {
color: #a6e3a1;
background: rgba(166, 227, 161, .15)
}

.hljs-link {
text-decoration: underline
&-deletion {
color: #f38ba8;
background: rgba(243, 139, 168, .15)
}
}
}

0 comments on commit 02eab5f

Please sign in to comment.