Skip to content

Commit

Permalink
0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Dec 9, 2016
1 parent 80c688f commit f1f73e8
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 277 deletions.
4 changes: 3 additions & 1 deletion index.less
@@ -1 +1,3 @@
@import "./styles/base.less";
@import "./styles/syntax-variables.less";
@import "./styles/editor.less";
@import "./styles/languages.less";
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -20,9 +20,9 @@
},
"scripts": {
"_version": "apm publish $(npm view github-syntax-theme-generator version)",
"_commit": "git commit -am $(npm view github-syntax-theme-generator version)",
"_update": "npm update && cp -rf node_modules/github-syntax-theme-generator/build/atom/github-light/styles . && cp node_modules/github-syntax-theme-generator/build/atom/github-light/index.less .",
"ship": "npm run _update && npm run _commit && npm run _version && git push && git push --tags",
"_commit": "git commit -am \"$(npm view github-syntax-theme-generator version)\"",
"_update": "npm update && cp -rf node_modules/github-syntax-theme-generator/build/atom/github-light/*.less ./styles/",
"ship": "npm run _update && npm run _commit && npm run _version",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
Expand Down
266 changes: 0 additions & 266 deletions styles/base.less

This file was deleted.

91 changes: 91 additions & 0 deletions styles/editor.less
@@ -0,0 +1,91 @@
atom-text-editor, :host {
background-color: @syntax-background-color;
color: @syntax-text-color;

.line.cursor-line {
background-color: @syntax-cursor-line;
}

.invisible {
color: @syntax-invisible-color;
}

.cursor {
border-left: 2px solid @syntax-cursor-color;
}

.selection .region {
background-color: @syntax-selection-color;
}

.bracket-matcher .region {
border-bottom: 1px solid @syntax-cursor-color;
box-sizing: border-box;
}

.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;
color: @syntax-gutter-text-color;

.line-number {
color: @syntax-gutter-text-color;
-webkit-font-smoothing: antialiased;

&.cursor-line {
color: @syntax-gutter-text-color-selected;
background-color: @syntax-gutter-background-color-selected;
}
&.cursor-line-no-selection {
background-color: transparent;
}

.icon-right {
color: @syntax-text-color;
}
}

&:not(.git-diff-icon) .line-number.git-line-removed {
&.git-line-removed::before {
bottom: -3px;
}
&::after {
content: "";
position: absolute;
left: 0px;
bottom: 0px;
width: 25px;
border-bottom: 1px dotted fade(@syntax-color-removed, 50%);
pointer-events: none;
}
}
}

.gutter .line-number.folded,
.gutter .line-number:after,
.fold-marker:after {
color: @syntax-gutter-text-color-selected;
}
}

atom-text-editor .search-results .marker .region,
:host .search-results .marker .region {
background-color: transparent;
border: 1px solid @syntax-result-marker-color;
}

atom-text-editor .search-results .marker.current-result .region,
:host .search-results .marker.current-result .region {
border: 1px solid @syntax-result-marker-color-selected;
}

0 comments on commit f1f73e8

Please sign in to comment.