Skip to content

Commit 621784b

Browse files
authored
Update css
Add highlight.js theme Update theme to match highlight.js theme Update featherlight
1 parent 9ce8855 commit 621784b

File tree

3 files changed

+82
-5
lines changed

3 files changed

+82
-5
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
3+
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
4+
5+
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
6+
7+
*/
8+
.hljs {
9+
display: block;
10+
overflow-x: auto;
11+
padding: 0.5em;
12+
line-height: 1.3em;
13+
color: #abb2bf;
14+
background: #282c34;
15+
border-radius: 5px;
16+
}
17+
.hljs-keyword, .hljs-operator {
18+
color: #F92672;
19+
}
20+
.hljs-pattern-match {
21+
color: #F92672;
22+
}
23+
.hljs-pattern-match .hljs-constructor {
24+
color: #61aeee;
25+
}
26+
.hljs-function {
27+
color: #61aeee;
28+
}
29+
.hljs-function .hljs-params {
30+
color: #A6E22E;
31+
}
32+
.hljs-function .hljs-params .hljs-typing {
33+
color: #FD971F;
34+
}
35+
.hljs-module-access .hljs-module {
36+
color: #7e57c2;
37+
}
38+
.hljs-constructor {
39+
color: #e2b93d;
40+
}
41+
.hljs-constructor .hljs-string {
42+
color: #9CCC65;
43+
}
44+
.hljs-comment, .hljs-quote {
45+
color: #b18eb1;
46+
font-style: italic;
47+
}
48+
.hljs-doctag, .hljs-formula {
49+
color: #c678dd;
50+
}
51+
.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {
52+
color: #e06c75;
53+
}
54+
.hljs-literal {
55+
color: #56b6c2;
56+
}
57+
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
58+
color: #98c379;
59+
}
60+
.hljs-built_in, .hljs-class .hljs-title {
61+
color: #e6c07b;
62+
}
63+
.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {
64+
color: #d19a66;
65+
}
66+
.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {
67+
color: #61aeee;
68+
}
69+
.hljs-emphasis {
70+
font-style: italic;
71+
}
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
.hljs-link {
76+
text-decoration: underline;
77+
}

static/css/featherlight.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ code + .copy-to-clipboard {
642642
pre {
643643
padding: 1rem;
644644
margin: 2rem 0;
645-
background: #1d1f21;
645+
background: #282c34;
646646
border: 0;
647647
border-radius: 2px;
648648
line-height: 1.15;
@@ -1074,7 +1074,7 @@ pre .copy-to-clipboard {
10741074
position: absolute;
10751075
right: 4px;
10761076
top: 4px;
1077-
background-color: #4d5257;
1077+
background-color: #949bab;
10781078
color: #ccc;
10791079
border-radius: 2px;
10801080
}

0 commit comments

Comments
 (0)