From 107c0569c4673723d337cd4b9efb54dcd3e1c123 Mon Sep 17 00:00:00 2001 From: Chev <11602755+chev2@users.noreply.github.com> Date: Sat, 12 Oct 2019 17:03:11 -0700 Subject: [PATCH] Add 1337 Syntax Highlighting --- README.md | 7 ++++++ themes/1337Syntax.theme.css | 45 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 themes/1337Syntax.theme.css diff --git a/README.md b/README.md index b9dbe8e..c93b07f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ Example: ![Chromodynamics Example](https://i.imgur.com/K7oZtF4.png) +## 1337 Syntax Highlighting + +Example: + +![1337 Example](https://i.imgur.com/eb8pCR9.png) + + ## Bruh Button Emoji Replacer This replaces every Discord emoji (including custom ones) with a bruh button. You can even put in your own 32x32 image in the CSS file to replace all emotes with your own URL. diff --git a/themes/1337Syntax.theme.css b/themes/1337Syntax.theme.css new file mode 100644 index 0000000..f5573f6 --- /dev/null +++ b/themes/1337Syntax.theme.css @@ -0,0 +1,45 @@ +//META{"name":"1337 Syntax Highlight","description":"Changes Discord's syntax highlighting to match the 1337 color scheme from Sublime Text","author":"Chev","version":"1.0.0"}*//{} + +.hljs-tag, +.hljs-important, +.hljs-at_rule, +.hljs-keyword { + color: #ff5e5e !important; +} +.hljs-class, +.hljs-id { + color: #8cdaff !important; +} +.hljs-params { + color: #d0d0d0 !important; +} +.hljs-string, +.hljs-attr { + color: #fbe3bf !important; +} +.hljs-number { + color: #fdb082 !important; +} +.hljs-literal { + color: #fc9354 !important; +} +.hljs-title { + color: #8cdaff !important; +} +.hljs-built_in { + color: #6699cc !important; +} +.hljs-value, +.hljs-hexcolor, +.hljs-function { + color: rgba(255, 255, 255, 0.8) !important; +} +.hljs-attribute { + color: #82d4e5 !important; +} +.hljs-comment { + color: #6d6d6d !important; +} +.hljs-pseudo { + color: #fff !important; +}