diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-28 23:45:33 +0100 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2023-07-29 18:10:50 +0100 |
commit | f82de3956b104d93461517216fc751fdf09f834f (patch) | |
tree | ae09024ce0c96ec92589993d78e43e5c9841fedc /public/css/highlight.js | |
parent | 9a10c8db3ade25b1f9e920d0860063b95bd00dd6 (diff) |
Add hlphp & codeblock component
Diffstat (limited to 'public/css/highlight.js')
-rw-r--r-- | public/css/highlight.js/github-dark.min.css | 10 | ||||
-rw-r--r-- | public/css/highlight.js/stackoverflow-dark.css | 126 | ||||
-rw-r--r-- | public/css/highlight.js/tomorrow-night-bright.css | 70 |
3 files changed, 206 insertions, 0 deletions
diff --git a/public/css/highlight.js/github-dark.min.css b/public/css/highlight.js/github-dark.min.css new file mode 100644 index 0000000..03b6da8 --- /dev/null +++ b/public/css/highlight.js/github-dark.min.css @@ -0,0 +1,10 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS +*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
\ No newline at end of file diff --git a/public/css/highlight.js/stackoverflow-dark.css b/public/css/highlight.js/stackoverflow-dark.css new file mode 100644 index 0000000..0eabaf2 --- /dev/null +++ b/public/css/highlight.js/stackoverflow-dark.css @@ -0,0 +1,126 @@ +/*! + Theme: StackOverflow Dark + Description: Dark theme as used on stackoverflow.com + Author: stackoverflow.com + Maintainer: @Hirse + Website: https://github.com/StackExchange/Stacks + License: MIT + Updated: 2021-05-15 + + Updated for @stackoverflow/stacks v0.64.0 + Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less + Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less +*/ + +.hljs { + /* var(--highlight-color) */ + color: #ffffff; + /* var(--highlight-bg) */ + background: #1c1b1b; +} + +.hljs-subst { + /* var(--highlight-color) */ + color: #ffffff; +} + +.hljs-comment { + /* var(--highlight-comment) */ + color: #999999; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-meta .hljs-keyword, +.hljs-doctag, +.hljs-section { + /* var(--highlight-keyword) */ + color: #88aece; +} + +.hljs-attr { + /* var(--highlight-attribute); */ + color: #88aece; +} + +.hljs-attribute { + /* var(--highlight-symbol) */ + color: #c59bc1; +} + +.hljs-name, +.hljs-type, +.hljs-number, +.hljs-selector-id, +.hljs-quote, +.hljs-template-tag { + /* var(--highlight-namespace) */ + color: #f08d49; +} + +.hljs-selector-class { + /* var(--highlight-keyword) */ + color: #88aece; +} + +.hljs-string, +.hljs-regexp, +.hljs-symbol, +.hljs-variable, +.hljs-template-variable, +.hljs-link, +.hljs-selector-attr { + /* var(--highlight-variable) */ + color: #b5bd68; +} + +.hljs-meta, +.hljs-selector-pseudo { + /* var(--highlight-keyword) */ + color: #88aece; +} + +.hljs-built_in, +.hljs-title, +.hljs-literal { + /* var(--highlight-literal) */ + color: #f08d49; +} + +.hljs-bullet, +.hljs-code { + /* var(--highlight-punctuation) */ + color: #cccccc; +} + +.hljs-meta .hljs-string { + /* var(--highlight-variable) */ + color: #b5bd68; +} + +.hljs-deletion { + /* var(--highlight-deletion) */ + color: #de7176; +} + +.hljs-addition { + /* var(--highlight-addition) */ + color: #76c490; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-formula, +.hljs-operator, +.hljs-params, +.hljs-property, +.hljs-punctuation, +.hljs-tag { + /* purposely ignored */ +} diff --git a/public/css/highlight.js/tomorrow-night-bright.css b/public/css/highlight.js/tomorrow-night-bright.css new file mode 100644 index 0000000..f909618 --- /dev/null +++ b/public/css/highlight.js/tomorrow-night-bright.css @@ -0,0 +1,70 @@ +/* Tomorrow Night Bright Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment, +.hljs-quote { + color: #969896; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-tag, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class, +.hljs-regexp, +.hljs-deletion { + color: #d54e53; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-built_in, +.hljs-literal, +.hljs-type, +.hljs-params, +.hljs-meta, +.hljs-link { + color: #e78c45; +} + +/* Tomorrow Yellow */ +.hljs-attribute { + color: #e7c547; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet, +.hljs-addition { + color: #b9ca4a; +} + +/* Tomorrow Blue */ +.hljs-title, +.hljs-section { + color: #7aa6da; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #c397d8; +} + +.hljs { + background: black; + color: #eaeaea; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} |