aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Nicolas Veigel <art.jnveigel@gmail.com>2024-03-16 03:51:45 +0100
committerLouis Pilfold <louis@lpil.uk>2024-03-26 10:31:25 +0000
commitd5f3d8b2ba17c64f2e4ca7365219b643ac27ed3f (patch)
tree8b329d4d4da1cd960133189bff8bfd6e430bb43a
parentc041d47e3befea07f7fedba7b2bb1aa29f5755e0 (diff)
downloadtour-d5f3d8b2ba17c64f2e4ca7365219b643ac27ed3f.tar.gz
tour-d5f3d8b2ba17c64f2e4ca7365219b643ac27ed3f.zip
feat: atom one dark / light generic declaration
-rw-r--r--static/css/code/color-schemes/atom-one.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/static/css/code/color-schemes/atom-one.css b/static/css/code/color-schemes/atom-one.css
new file mode 100644
index 0000000..f2a5467
--- /dev/null
+++ b/static/css/code/color-schemes/atom-one.css
@@ -0,0 +1,76 @@
+/*
+
+Atom One Dark & Light by Daniel Gamage
+Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
+
+Tweaked for compat with light / dark themes
+
+*/
+
+:root {
+ /*
+ Atom One Dark
+
+ base: #282c34
+ mono-1: #abb2bf
+ mono-2: #818896
+ mono-3: #5c6370
+ hue-1: #56b6c2
+ hue-2: #61aeee
+ hue-3: #c678dd
+ hue-4: #98c379
+ hue-5: #e06c75
+ hue-5-2: #be5046
+ hue-6: #d19a66
+ hue-6-2: #e6c07b
+ */
+
+ --code-background-dark: #282c34; /* base */
+ --code-token-base-dark: #abb2bf; /* mono-1 */
+ --code-token-punctuation-dark: #818896; /* mono-2 */
+ --code-token-operator-dark: #c678dd; /* hue-3 */
+ --code-token-keyword-dark: #c678dd; /* hue-3 */
+ --code-token-string-dark: #98c379; /* hue-4 */
+ --code-token-comment-dark: #5c6370; /* mono-3 */
+ --code-token-attribute-dark: #818896; /* mono-2 */
+ --code-token-function-dark: #61aeee; /* hue-2 */
+ --code-token-function-name-dark: #61aeee; /* hue-2 */
+ --code-token-function-param-dark: #abb2bf; /* mono-1 */
+ --code-token-boolean-dark: #d19a66; /* hue-6 */
+ --code-token-number-dark: #d19a66; /* hue-6 */
+ --code-token-selector-dark: #e6c07b; /* hue-6-2 */
+ --code-token-type-dark: #56b6c2; /* hue-1 */
+
+ /*
+ Atom One Light
+
+ base: #fafafa
+ mono-1: #383a42
+ mono-2: #686b77
+ mono-3: #a0a1a7
+ hue-1: #0184bb
+ hue-2: #4078f2
+ hue-3: #a626a4
+ hue-4: #50a14f
+ hue-5: #e45649
+ hue-5-2: #c91243
+ hue-6: #986801
+ hue-6-2: #c18401
+ */
+
+ --code-background-light: #fafafa; /* base */
+ --code-token-base-light: #383a42; /* mono-1 */
+ --code-token-punctuation-light: #686b77; /* mono-2 */
+ --code-token-operator-light: #a626a4; /* hue-3 */
+ --code-token-keyword-light: #a626a4; /* hue-3 */
+ --code-token-string-light: #50a14f; /* hue-4 */
+ --code-token-comment-light: #a0a1a7; /* mono-3 */
+ --code-token-attribute-light: #686b77; /* mono-2 */
+ --code-token-function-light: #4078f2; /* hue-2 */
+ --code-token-function-name-light: #4078f2; /* hue-2 */
+ --code-token-function-param-light: #383a42; /* mono-1 */
+ --code-token-boolean-light: #986801; /* hue-6 */
+ --code-token-number-light: #986801; /* hue-6 */
+ --code-token-selector-light: #c18401; /* hue-6-2 */
+ --code-token-type-light: #0184bb; /* hue-1 */
+} \ No newline at end of file