Skip to content

Commit

Permalink
Update css
Browse files Browse the repository at this point in the history
Add highlight.js theme
Update theme to match highlight.js theme
Update featherlight
  • Loading branch information
ozobi authored and matalo33 committed Apr 1, 2019
1 parent f2ef666 commit 2463671
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 5 deletions.
77 changes: 77 additions & 0 deletions static/css/atom-one-dark-reasonable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
line-height: 1.3em;
color: #abb2bf;
background: #282c34;
border-radius: 5px;
}
.hljs-keyword, .hljs-operator {
color: #F92672;
}
.hljs-pattern-match {
color: #F92672;
}
.hljs-pattern-match .hljs-constructor {
color: #61aeee;
}
.hljs-function {
color: #61aeee;
}
.hljs-function .hljs-params {
color: #A6E22E;
}
.hljs-function .hljs-params .hljs-typing {
color: #FD971F;
}
.hljs-module-access .hljs-module {
color: #7e57c2;
}
.hljs-constructor {
color: #e2b93d;
}
.hljs-constructor .hljs-string {
color: #9CCC65;
}
.hljs-comment, .hljs-quote {
color: #b18eb1;
font-style: italic;
}
.hljs-doctag, .hljs-formula {
color: #c678dd;
}
.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {
color: #e06c75;
}
.hljs-literal {
color: #56b6c2;
}
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
color: #98c379;
}
.hljs-built_in, .hljs-class .hljs-title {
color: #e6c07b;
}
.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {
color: #d19a66;
}
.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {
color: #61aeee;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
6 changes: 3 additions & 3 deletions static/css/featherlight.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ code + .copy-to-clipboard {
pre {
padding: 1rem;
margin: 2rem 0;
background: #1d1f21;
background: #282c34;
border: 0;
border-radius: 2px;
line-height: 1.15;
Expand Down Expand Up @@ -1078,7 +1078,7 @@ pre .copy-to-clipboard {
position: absolute;
right: 4px;
top: 4px;
background-color: #4d5257;
background-color: #949bab;
color: #ccc;
border-radius: 2px;
}
Expand Down

0 comments on commit 2463671

Please sign in to comment.