Skip to content

Commit

Permalink
(themes) Add Srcery style (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin authored Apr 10, 2020
1 parent ca23180 commit 512ae5f
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ New languages:

New themes:

- none.
- *Srcery* by [Chen Bin][]

Parser Engine Changes:

Expand Down Expand Up @@ -63,6 +63,7 @@ Developer Tools:
[Omid Golparvar]: https://github.com/omidgolparvar
[Alexandre Grison]: https://github.com/agrison
[Josh Goebel]: https://github.com/yyyc514
[Chen Bin]: https://github.com/redguardtoo
[Sam Miller]: https://github.com/smillerc
[Robert Riebisch]: https://github.com/bttrx
[Taufik Nurrohman]: https://github.com/taufik-nurrohman
Expand Down
78 changes: 78 additions & 0 deletions src/styles/srcery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/*
Description: Srcery dark color scheme for highlight.js
Author: Chen Bin <chen.bin@gmail.com>
Website: https://srcery-colors.github.io/
Date: 2020-04-06
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #1C1B19;
color: #FCE8C3;
}

.hljs-strong,
.hljs-emphasis {
color: #918175;
}

.hljs-bullet,
.hljs-quote,
.hljs-link,
.hljs-number,
.hljs-regexp,
.hljs-literal {
color: #FF5C8F;
}

.hljs-code,
.hljs-selector-class {
color: #68A8E4
}

.hljs-emphasis {
font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-attribute,
.hljs-variable {
color: #EF2F27;
}

.hljs-name,
.hljs-title {
color: #FBB829;
}

.hljs-type,
.hljs-params {
color: #0AAEB3;
}

.hljs-string {
color: #98BC37;
}

.hljs-subst,
.hljs-built_in,
.hljs-builtin-name,
.hljs-symbol,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
color: #C07ABE;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
color: #918175;
}

0 comments on commit 512ae5f

Please sign in to comment.