Skip to content

Commit

Permalink
fix(compatibility): remove deprecated selectors deprecated in 1.13.0 …
Browse files Browse the repository at this point in the history
…and bump atom requirement to > 1.13.0
  • Loading branch information
Alex Corre committed Mar 6, 2017
1 parent 9719d39 commit 6f9a949
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repository": "https://github.com/alexcorre/atom-sidetracked",
"license": "MIT",
"engines": {
"atom": ">=1.0.0 <2.0.0"
"atom": ">=1.13.0 <2.0.0"
},
"scripts": {
"bump": "standard-version"
Expand Down
76 changes: 38 additions & 38 deletions styles/base.less
Original file line number Diff line number Diff line change
@@ -1,160 +1,160 @@
@import "syntax-variables";

atom-text-editor, :host {
atom-text-editor,atom-text-editor {
background-color: @syntax-background-color;
color: @syntax-text-color;
}

atom-text-editor .gutter, :host .gutter {
atom-text-editor .gutter,atom-text-editor .gutter {
background-color: @syntax-gutter-background-color;
color: @syntax-gutter-text-color;
}

atom-text-editor .gutter .line-number.cursor-line, :host .gutter .line-number.cursor-line {
atom-text-editor .gutter .line-number.cursor-line,atom-text-editor .gutter .line-number.cursor-line {
background-color: @syntax-gutter-background-color-selected;
color: @syntax-gutter-text-color-selected;
}

atom-text-editor .gutter .line-number.cursor-line-no-selection, :host .gutter .line-number.cursor-line-no-selection {
atom-text-editor .gutter .line-number.cursor-line-no-selection,atom-text-editor .gutter .line-number.cursor-line-no-selection {
color: @syntax-gutter-text-color-selected;
}

atom-text-editor .wrap-guide, :host .wrap-guide {
atom-text-editor .wrap-guide,atom-text-editor .wrap-guide {
color: @syntax-wrap-guide-color;
}

atom-text-editor .indent-guide, :host .indent-guide {
atom-text-editor .indent-guide,atom-text-editor .indent-guide {
color: @syntax-indent-guide-color;
}

atom-text-editor .invisible-character, :host .invisible-character {
atom-text-editor .invisible-character,atom-text-editor .invisible-character {
color: @syntax-invisible-character-color;
}

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

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

atom-text-editor.is-focused .cursor, :host(.is-focused) .cursor {
atom-text-editor.is-focused .cursor,atom-text-editor .cursor {
border-color: @syntax-cursor-color;
}

atom-text-editor.is-focused .selection .region, :host(.is-focused) .selection .region {
atom-text-editor.is-focused .selection .region,atom-text-editor .selection .region {
background-color: @syntax-selection-color;
}

atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-editor.is-focused .line.cursor-line, :host(.is-focused) .line-number.cursor-line-no-selection, :host(.is-focused) .line.cursor-line {
atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-editor.is-focused .line.cursor-line,atom-text-editor .line-number.cursor-line-no-selection,atom-text-editor .line.cursor-line {
background-color: rgba(255, 255, 255, 0.06);
}

.comment {
.syntax--comment {
color: #4B4D48;
}

.constant {
.syntax--constant {
color: #D8B778;
}

.entity {
.syntax--entity {
color: #658AAF;
}

.keyword {
.syntax--keyword {
color: #C87936;
}

.storage {
.syntax--storage {
color: #C87936;
}

.string, .meta.verbatim {
.syntax--string, .syntax--meta.syntax--verbatim {
color: #A4C261;
}

.support {
.syntax--support {
color: #658AAF;
}

.variable {
.syntax--variable {
color: #FFFFFF;
}

.invalid.deprecated {
.syntax--invalid.syntax--deprecated {
font-style: italic;
color: #AB2A1D;
}

.invalid.illegal {
.syntax--invalid.syntax--illegal {
color: #F8F8F8;
background-color: #9D1E15;
}

.entity.other.inherited-class {
.syntax--entity.syntax--other.syntax--inherited-class {
font-style: italic;
color: #FF6400;
}

.string .constant.other.placeholder {
.syntax--string .syntax--constant.syntax--other.syntax--placeholder {
color: #FF6400;
}

.meta.function-call.py {
.syntax--meta.syntax--function-call.py {
color: #BECDE6;
}

.meta.tag, .meta.tag .entity {
.syntax--meta.syntax--tag, .syntax--meta.syntax--tag .syntax--entity {
color: #7F90AA;
}

.entity.name.section {
.syntax--entity.syntax--name.syntax--section {
color: #FFFFFF;
}

.keyword.type.variant {
.syntax--keyword.syntax--type.syntax--variant {
color: #D5E0F3;
}

.source.ocaml .keyword.operator.symbol {
.syntax--source.syntax--ocaml .syntax--keyword.syntax--operator.syntax--symbol {
color: #F8F8F8;
}

.source.ocaml .keyword.operator.symbol.infix {
.syntax--source.syntax--ocaml .syntax--keyword.syntax--operator.syntax--symbol.syntax--infix {
color: #8DA6CE;
}

.source.ocaml .keyword.operator.symbol.prefix {
.syntax--source.syntax--ocaml .syntax--keyword.syntax--operator.syntax--symbol.syntax--prefix {
color: #8DA6CE;
}

.source.ocaml .keyword.operator.symbol.infix.floating-point {
.syntax--source.syntax--ocaml .syntax--keyword.syntax--operator.syntax--symbol.syntax--infix.syntax--floating-point {
text-decoration: underline;
}

.source.ocaml .keyword.operator.symbol.prefix.floating-point {
.syntax--source.syntax--ocaml .syntax--keyword.syntax--operator.syntax--symbol.syntax--prefix.syntax--floating-point {
text-decoration: underline;
}

.source.ocaml .constant.numeric.floating-point {
.syntax--source.syntax--ocaml .syntax--constant.syntax--numeric.syntax--floating-point {
text-decoration: underline;
}

.text.tex.latex .meta.function.environment {
.syntax--text.syntax--tex.syntax--latex .syntax--meta.syntax--function.syntax--environment {
background-color: rgba(255, 255, 255, 0.03);
}

.text.tex.latex .meta.function.environment .meta.function.environment {
.syntax--text.syntax--tex.syntax--latex .syntax--meta.syntax--function.syntax--environment .syntax--meta.syntax--function.syntax--environment {
background-color: rgba(122, 150, 250, 0.03);
}

.text.tex.latex .support.function {
.syntax--text.syntax--tex.syntax--latex .syntax--support.syntax--function {
color: #E90EFB;
}

.source.plist .string.unquoted, .source.plist .keyword.operator {
.syntax--source.syntax--plist .syntax--string.syntax--unquoted, .syntax--source.syntax--plist .syntax--keyword.syntax--operator {
color: #FFFFFF;
}

0 comments on commit 6f9a949

Please sign in to comment.