Mercurial
comparison third_party/highlight/styles/atom-one-dark-reasonable.css @ 157:2db6253f355d
[ThirdParty] Added highlight library for better readability on blog.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 13 Jan 2026 19:18:47 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 156:cd35e600ae34 | 157:2db6253f355d |
|---|---|
| 1 pre code.hljs { | |
| 2 display: block; | |
| 3 overflow-x: auto; | |
| 4 padding: 1em | |
| 5 } | |
| 6 code.hljs { | |
| 7 padding: 3px 5px | |
| 8 } | |
| 9 /* | |
| 10 | |
| 11 Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage | |
| 12 | |
| 13 Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax | |
| 14 | |
| 15 */ | |
| 16 .hljs { | |
| 17 color: #abb2bf; | |
| 18 background: #282c34 | |
| 19 } | |
| 20 .hljs-keyword, | |
| 21 .hljs-operator { | |
| 22 color: #F92672 | |
| 23 } | |
| 24 .hljs-pattern-match { | |
| 25 color: #F92672 | |
| 26 } | |
| 27 .hljs-pattern-match .hljs-constructor { | |
| 28 color: #61aeee | |
| 29 } | |
| 30 .hljs-function { | |
| 31 color: #61aeee | |
| 32 } | |
| 33 .hljs-function .hljs-params { | |
| 34 color: #A6E22E | |
| 35 } | |
| 36 .hljs-function .hljs-params .hljs-typing { | |
| 37 color: #FD971F | |
| 38 } | |
| 39 .hljs-module-access .hljs-module { | |
| 40 color: #7e57c2 | |
| 41 } | |
| 42 .hljs-constructor { | |
| 43 color: #e2b93d | |
| 44 } | |
| 45 .hljs-constructor .hljs-string { | |
| 46 color: #9CCC65 | |
| 47 } | |
| 48 .hljs-comment, | |
| 49 .hljs-quote { | |
| 50 color: #b18eb1; | |
| 51 font-style: italic | |
| 52 } | |
| 53 .hljs-doctag, | |
| 54 .hljs-formula { | |
| 55 color: #c678dd | |
| 56 } | |
| 57 .hljs-section, | |
| 58 .hljs-name, | |
| 59 .hljs-selector-tag, | |
| 60 .hljs-deletion, | |
| 61 .hljs-subst { | |
| 62 color: #e06c75 | |
| 63 } | |
| 64 .hljs-literal { | |
| 65 color: #56b6c2 | |
| 66 } | |
| 67 .hljs-string, | |
| 68 .hljs-regexp, | |
| 69 .hljs-addition, | |
| 70 .hljs-attribute, | |
| 71 .hljs-meta .hljs-string { | |
| 72 color: #98c379 | |
| 73 } | |
| 74 .hljs-built_in, | |
| 75 .hljs-title.class_, | |
| 76 .hljs-class .hljs-title { | |
| 77 color: #e6c07b | |
| 78 } | |
| 79 .hljs-attr, | |
| 80 .hljs-variable, | |
| 81 .hljs-template-variable, | |
| 82 .hljs-type, | |
| 83 .hljs-selector-class, | |
| 84 .hljs-selector-attr, | |
| 85 .hljs-selector-pseudo, | |
| 86 .hljs-number { | |
| 87 color: #d19a66 | |
| 88 } | |
| 89 .hljs-symbol, | |
| 90 .hljs-bullet, | |
| 91 .hljs-link, | |
| 92 .hljs-meta, | |
| 93 .hljs-selector-id, | |
| 94 .hljs-title { | |
| 95 color: #61aeee | |
| 96 } | |
| 97 .hljs-emphasis { | |
| 98 font-style: italic | |
| 99 } | |
| 100 .hljs-strong { | |
| 101 font-weight: bold | |
| 102 } | |
| 103 .hljs-link { | |
| 104 text-decoration: underline | |
| 105 } |