]> arthur.barton.de Git - atom-ax-monokai-syntax.git/commitdiff
apm
authorjoaoafrmartins <joaoafrmartins@gmail.com>
Mon, 30 Jun 2014 13:22:25 +0000 (14:22 +0100)
committerjoaoafrmartins <joaoafrmartins@gmail.com>
Mon, 30 Jun 2014 13:22:25 +0000 (14:22 +0100)
.gitignore [new file with mode: 0644]
.npmignore [new file with mode: 0644]
README.md [new file with mode: 0644]
index.less [new file with mode: 0644]
lib/main.coffee [new file with mode: 0644]
stylesheets/syntax-variables.less [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..0db216b
--- /dev/null
@@ -0,0 +1,2 @@
+npm-debug.log
+node_modules
diff --git a/.npmignore b/.npmignore
new file mode 100644 (file)
index 0000000..c8f50f7
--- /dev/null
@@ -0,0 +1 @@
+npm-debug.log
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..45d634c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# Monokai theme
+
+A monokai syntax theme for Atom.
+
+Originally converted from the [TextMate](http://www.monokai.nl/blog/wp-content/asdev/Monokai.tmTheme)
+theme using the [TextMate bundle converter](http://atom.io/docs/latest/converting-a-text-mate-theme).
+
+![](https://f.cloud.github.com/assets/671378/2265671/d02ebee8-9e85-11e3-9b8c-12b2cb7015e3.png)
diff --git a/index.less b/index.less
new file mode 100644 (file)
index 0000000..7928bcc
--- /dev/null
@@ -0,0 +1,187 @@
+@import 'syntax-variables';
+
+.editor-colors {
+  background-color: @syntax-background-color;
+  color: @syntax-text-color;
+}
+
+.editor {
+  .invisible-character {
+    color: @syntax-invisible-character-color;
+  }
+
+  .indent-guide {
+    color: @syntax-indent-guide-color;
+  }
+
+  .wrap-guide {
+    background-color: @syntax-wrap-guide-color;
+  }
+
+  .gutter {
+    background-color: @syntax-gutter-background-color;
+
+    .cursor-line {
+      background-color: @syntax-gutter-background-color-selected;
+    }
+  }
+
+  .line-number.cursor-line-no-selection {
+    background-color: @syntax-gutter-background-color-selected;
+  }
+
+  .invisible {
+    color: @syntax-text-color;
+  }
+
+  .cursor {
+    border-color: @syntax-cursor-color;
+  }
+
+  .selection .region {
+    background-color: @syntax-selection-color;
+  }
+
+  .search-results .marker .region {
+    background-color: transparent;
+    border: 1px solid @syntax-result-marker-color;
+  }
+
+  .search-results .marker.current-result .region {
+    border: 1px solid @syntax-result-marker-color-selected;
+  }
+
+  .comment {
+    color: #75715E;
+  }
+
+  .string {
+    color: #E6DB74;
+  }
+
+  .constant.numeric {
+    color: #AE81FF;
+  }
+
+  .constant.language {
+    color: #AE81FF;
+  }
+
+  .constant.character,
+  .constant.other {
+    color: #AE81FF;
+  }
+
+  .keyword {
+    color: #F92672;
+  }
+
+  .storage {
+    color: #F92672;
+  }
+
+  .storage.type {
+    font-style: italic;
+    color: #66D9EF;
+  }
+
+  .entity.name.class {
+    text-decoration: underline;
+    color: #A6E22E;
+  }
+
+  .entity.other.inherited-class {
+    font-style: italic;
+    text-decoration: underline;
+    color: #A6E22E;
+  }
+
+  .entity.name.function {
+    color: #A6E22E;
+  }
+
+  .entity.name.instance {
+    color: #66D9EF;
+  }
+
+  .variable.parameter {
+    font-style: italic;
+    color: #FD971F;
+  }
+
+  .entity.name.tag {
+    color: #F92672;
+  }
+
+  .entity.other.attribute-name {
+    color: #A6E22E;
+  }
+
+  .support.function {
+    color: #66D9EF;
+  }
+
+  .support.constant {
+    color: #66D9EF;
+  }
+
+  .support.type,
+  .support.class {
+    font-style: italic;
+    color: #66D9EF;
+  }
+
+  .invalid {
+    color: #F8F8F0;
+    background-color: #F92672;
+  }
+
+  .invalid.deprecated {
+    color: #F8F8F0;
+    background-color: #AE81FF;
+  }
+
+  // Jade syntax
+  .class.jade {
+    color: #AE81FF;
+  }
+
+  .gfm {
+    .markup {
+      &.heading {
+        color: #A6E22E;
+        font-weight: bold;
+      }
+
+      &.underline {
+        color: #E6DB74;
+        text-decoration: underline;
+      }
+    }
+
+    .bold {
+      font-weight: bold;
+    }
+
+    .italic {
+      font-style: italic;
+    }
+
+    .raw {
+      color: #66D9EF;
+    }
+
+    .variable.list {
+      color: #F92672;
+      font-weight: bold;
+    }
+
+    .link {
+      color: #CCC;
+
+      .entity {
+        color: #AE81FF;
+      }
+    }
+  }
+}
diff --git a/lib/main.coffee b/lib/main.coffee
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/stylesheets/syntax-variables.less b/stylesheets/syntax-variables.less
new file mode 100644 (file)
index 0000000..9039608
--- /dev/null
@@ -0,0 +1,26 @@
+// General colors
+@syntax-text-color: #F8F8F2;
+@syntax-cursor-color: #F8F8F0;
+@syntax-selection-color: #49483E;
+@syntax-background-color: #1D1F21;
+
+// Guide colors
+@syntax-wrap-guide-color: #3D3D3D;
+@syntax-indent-guide-color: #3D3D3D;
+@syntax-invisible-character-color: #3D3D3D;
+
+// For find and replace markers
+@syntax-result-marker-color: #888;
+@syntax-result-marker-color-selected: white;
+
+// Gutter colors
+@syntax-gutter-text-color: @syntax-text-color;
+@syntax-gutter-text-color-selected: @syntax-gutter-text-color;
+@syntax-gutter-background-color: lighten(@syntax-background-color, 3%);
+@syntax-gutter-background-color-selected: @syntax-selection-color;
+
+// For git diff info. i.e. in the gutter
+@syntax-color-renamed: #ffd569;
+@syntax-color-added: #529b2f;
+@syntax-color-modified: #E6DB74;
+@syntax-color-removed: #F92672;