From e37a168e9d3a635f0cc572f4ea0b5a205daf72d4 Mon Sep 17 00:00:00 2001 From: Robert Crooks Date: Thu, 13 Sep 2018 15:04:33 -0400 Subject: [PATCH 1/5] wip --- styles/base.less | 90 ++++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/styles/base.less b/styles/base.less index 12e40f4..f466dd4 100644 --- a/styles/base.less +++ b/styles/base.less @@ -1,42 +1,42 @@ @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 .marker .region, atom-text-editor.search-results .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 .marker.current-result .region, atom-text-editor.search-results .marker.current-result .region { border: @syntax-result-marker-color-selected; } @@ -52,152 +52,152 @@ atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-edi background-color: @syntax-selection-color; } -.comment { +.syntax--comment { color: @gray; } -.string { +.syntax--string { color: @light-green; } -.constant.numeric { +.syntax--constant.syntax--numeric { color: @green; } -.constant.language { +.syntax--constant.language { color: @purple; } -.constant.character, .constant.other { +.syntax--constant.character, .syntax--constant.syntax--other { color: @purple; } -.variable { +.syntax--variable { color: @light-purple; } -.keyword { +.syntax--keyword { color: @yellow; } -.storage { +.syntax--storage { color: @light-blue; } -.storage.type { +.syntax--storage.syntax--type { font-style: italic; color: @blue; } -.entity.name.class { +.syntax--entity.syntax--name.syntax--class { text-decoration: underline; color: @light-yellow; } -.entity.other.inherited-class { +.syntax--entity.syntax--other.syntax--inherited-class { font-style: italic; text-decoration: underline; color: @light-yellow; } -.entity.name.function { +.syntax--entity.syntax--name.syntax--function { color: @pink; } -.variable.parameter { +.syntax--variable.syntax--parameter { font-style: italic; color: @light-purple; } -.entity.name.tag { +.syntax--entity.syntax--name.syntax--tag { color: @yellow; } -.entity.other.attribute-name { +.syntax--entity.syntax--other.syntax--attribute-name { color: @blue; } -.support.function { +.syntax--support.syntax--function { color: @light-blue; } -.support.constant { +.syntax--support.syntax--constant { color: @purple; } -.support.type, .support.class { +.syntax--support.syntax--type, .syntax--support.syntax--class { color: @light-yellow; } -.support.other.variable { +.syntax--support.syntax--other.syntax--variable { color: @light-purple; } -.source.ruby { +.syntax--source.syntax--ruby { color: rgba(197, 200, 198, 1); } -.constant.other.symbol.ruby.19syntax { +.syntax--constant.syntax--other.syntax--symbol.syntax--ruby.19syntax { color: rgba(153, 204, 153, 1); } -.variable.other.constant.ruby { +.syntax--variable.syntax--other.syntax--constant.syntax--ruby { color: rgba(198, 197, 226, 1); } -.entity.name.type.class.ruby { +.syntax--entity.syntax--name.syntax--type.syntax--class.syntax--ruby { color: @light-yellow; } -.entity.name.type.module.ruby { +.syntax--entity.syntax--name.syntax--type.syntax--module.syntax--ruby { color: @light-yellow; } -.source.ruby.embedded.source { +.syntax--source.syntax--ruby.syntax--embedded.syntax--source { color: rgba(237, 237, 237, 1); } -.source.ruby.embedded.source .punctuation.section.embedded.ruby { +.syntax--source.syntax--ruby.syntax--embedded.syntax--source .syntax--punctuation.section.syntax--embedded.syntax--ruby { color: @blue; } -.storage.modifier.import.java { +.syntax--storage.syntax--modifier.import.syntax--java { color: @light-blue; } -.storage.modifier.java { +.syntax--storage.syntax--modifier.syntax--java { color: @light-pink; } -.entity.name.type.class.java { +.syntax--entity.syntax--name.syntax--type.syntax--class.syntax--java { text-decoration: underline; color: @light-yellow; } -.storage.type.primitive.array.java { +.syntax--storage.syntax--type.syntax--primitive.syntax--array.syntax--java { color: @light-blue; } -.storage.type.object.array.java { +.syntax--storage.syntax--type.syntax--object.syntax--array.syntax--java { color: @light-blue; } -.constant.numeric.java { +.syntax--constant.syntax--numeric.syntax--java { color: @green; } -.storage.type.java { +.syntax--storage.syntax--type.syntax--java { color: @blue; } -.keyword.operator.dereference.java { +.syntax--keyword.syntax--operator.syntax--dereference.syntax--java { color: @green; } -.markup.inserted.diff, .meta.diff.header.to-file { +.syntax--markup.syntax--inserted.syntax--diff, .syntax--meta.syntax--diff.syntax--header.syntax--to-file { color: @green; } -.markup.deleted.diff, .meta.diff.header.from-file { +.syntax--markup.syntax--deleted.syntax--diff, .syntax--meta.syntax--diff.syntax--header.syntax--from-file { color: @pink; } From 962754b9fe65931b61f010d672738f0702ebaf8c Mon Sep 17 00:00:00 2001 From: Robert Crooks Date: Thu, 13 Sep 2018 15:25:33 -0400 Subject: [PATCH 2/5] wip --- styles/base.less | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/styles/base.less b/styles/base.less index f466dd4..413b0c6 100644 --- a/styles/base.less +++ b/styles/base.less @@ -31,24 +31,24 @@ atom-text-editor .invisible-character, atom-text-editor.invisible-character { color: @syntax-invisible-character-color; } -atom-text-editor .search-results .marker .region, atom-text-editor.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, atom-text-editor.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: @syntax-selection-color; } @@ -64,11 +64,11 @@ atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-edi color: @green; } -.syntax--constant.language { +.syntax--constant.syntax--language { color: @purple; } -.syntax--constant.character, .syntax--constant.syntax--other { +.syntax--constant.syntax--character, .syntax--constant.syntax--other { color: @purple; } @@ -161,7 +161,7 @@ atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-edi color: @blue; } -.syntax--storage.syntax--modifier.import.syntax--java { +.syntax--storage.syntax--modifier.syntax--import.syntax--java { color: @light-blue; } From b48d4a7113cc13ffd247663062fbf57d3ad4ddb1 Mon Sep 17 00:00:00 2001 From: Robert Crooks Date: Thu, 13 Sep 2018 15:28:01 -0400 Subject: [PATCH 3/5] fix selectors --- styles/base.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/base.less b/styles/base.less index 413b0c6..36e37f9 100644 --- a/styles/base.less +++ b/styles/base.less @@ -157,7 +157,7 @@ atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-edi color: rgba(237, 237, 237, 1); } -.syntax--source.syntax--ruby.syntax--embedded.syntax--source .syntax--punctuation.section.syntax--embedded.syntax--ruby { +.syntax--source.syntax--ruby.syntax--embedded.syntax--source .syntax--punctuation.syntax--section.syntax--embedded.syntax--ruby { color: @blue; } From 121ae193fdc7b218507e3f16a9602e81579f9d98 Mon Sep 17 00:00:00 2001 From: Robert Crooks Date: Thu, 13 Sep 2018 15:33:58 -0400 Subject: [PATCH 4/5] update changelog and package version --- CHANGELOG.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3d858c..164723c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ ## 0.1.0 - First Release * Every feature added * Every bug fixed + +## 0.1.1 - Update Selectors +* Deprecated selectors updated diff --git a/package.json b/package.json index 8f3df99..3a2fa0d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "monday-syntax", "theme": "syntax", - "version": "0.1.4", + "version": "0.1.5", "description": "A fresh and dark syntax theme.", "keywords": [ "syntax", From 247f3bcaa9e807c8fd4d9e706e6b5494d8957ad4 Mon Sep 17 00:00:00 2001 From: Robert Crooks Date: Thu, 13 Sep 2018 15:34:17 -0400 Subject: [PATCH 5/5] tweak --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 164723c..f9bb421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,5 +2,5 @@ * Every feature added * Every bug fixed -## 0.1.1 - Update Selectors +## 0.1.5 - Update Selectors * Deprecated selectors updated