From: Ben Beltran Date: Sat, 5 Sep 2015 19:03:49 +0000 (-0500) Subject: Removes style files X-Git-Tag: v1.0.0~6 X-Git-Url: https://git.r.bdr.sh/rbdr/api-notation-atom/commitdiff_plain/4693f9694e3ce77a48f562cebb5af452988e9e5f?ds=sidebyside;hp=4b7b2598e96691530fe31aaf8243a0d0cc1ca9a3 Removes style files --- diff --git a/index.less b/index.less deleted file mode 100644 index d076b67..0000000 --- a/index.less +++ /dev/null @@ -1 +0,0 @@ -@import "./styles/base.less"; diff --git a/styles/base.less b/styles/base.less deleted file mode 100644 index 93a0923..0000000 --- a/styles/base.less +++ /dev/null @@ -1,311 +0,0 @@ -@import "syntax-variables"; - -atom-text-editor, :host { - background-color: @syntax-background-color; - color: @syntax-text-color; - - .wrap-guide { - background-color: @syntax-wrap-guide-color; - } - - .indent-guide { - color: @syntax-indent-guide-color; - } - - .invisible-character { - color: @syntax-invisible-character-color; - } - - .gutter { - background-color: @syntax-gutter-background-color; - color: @syntax-gutter-text-color; - - .line-number { - &.cursor-line { - background-color: @syntax-gutter-background-color-selected; - color: @syntax-gutter-text-color-selected; - } - - &.cursor-line-no-selection { - color: @syntax-gutter-text-color-selected; - } - } - } - - .gutter .line-number.folded, - .gutter .line-number:after, - .fold-marker:after { - color: @light-gray; - } - - .invisible { - color: @syntax-text-color; - } - - .cursor { - color: @syntax-cursor-color; - } - - .selection .region { - background-color: @syntax-selection-color; - } -} - -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; -} - -.comment { - color: @light-gray; -} - -.entity { - &.name.type { - color: @light-orange; - text-decoration: underline; - } - - &.other.inherited-class { - color: @green; - } -} - -.keyword { - color: @purple; - - &.control { - color: @purple; - } - - &.operator { - color: @syntax-text-color; - } - - &.other.special-method { - color: @blue; - } - - &.other.unit { - color: @orange; - } -} - -.storage { - color: @purple; -} - -.constant { - color: @orange; - - &.character.escape { - color: @cyan; - } - - &.numeric { - color: @orange; - } - - &.other.color { - color: @cyan; - } - - &.other.symbol { - color: @green; - } -} - -.variable { - color: @red; - - &.interpolation { - color: darken(@red, 10%); - } - - &.parameter.function { - color: @syntax-text-color; - } -} - -.invalid.illegal { - background-color: @red; - color: @syntax-background-color; -} - -.string { - color: @green; - - - &.regexp { - color: @cyan; - - .source.ruby.embedded { - color: @orange; - } - } - - &.other.link { - color: @red; - } -} - -.punctuation { - &.definition { - &.comment { - color: @light-gray; - } - - &.string, - &.variable, - &.parameters, - &.array { - color: @syntax-text-color; - } - - &.heading, - &.identity { - color: @blue; - } - - &.bold { - color: @light-orange; - font-weight: bold; - } - - &.italic { - color: @purple; - font-style: italic; - } - } - - &.section.embedded { - color: darken(@red, 10%); - } - -} - -.support { - &.class { - color: @light-orange; - } - - &.function { - color: @cyan; - - &.any-method { - color: @blue; - } - } -} - -.entity { - &.name.function { - color: @blue; - } - - &.name.class, &.name.type.class { - color: @light-orange; - } - - &.name.section { - color: @blue; - } - - &.name.tag { - color: @red; - text-decoration: underline; - } - - &.other.attribute-name { - color: @orange; - - &.id { - color: @blue; - } - } -} - -.meta { - &.class { - color: @light-orange; - } - - &.link { - color: @orange; - } - - &.require { - color: @blue; - } - - &.selector { - color: @purple; - } - - &.separator { - background-color: @gray; - color: @syntax-text-color; - } -} - -.none { - color: @syntax-text-color; -} - -.markup { - &.bold { - color: @orange; - font-weight: bold; - } - - &.changed { - color: @purple; - } - - &.deleted { - color: @red; - } - - &.italic { - color: @purple; - font-style: italic; - } - - &.heading .punctuation.definition.heading { - color: @blue; - } - - &.inserted { - color: @green; - } - - &.list { - color: @red; - } - - &.quote { - color: @orange; - } - - &.raw.inline { - color: @green; - } -} - -.source.gfm .markup { - -webkit-font-smoothing: auto; - &.heading { - color: @green; - } -} - -atom-text-editor[mini] .scroll-view, -:host([mini]) .scroll-view { - padding-left: 1px; -} diff --git a/styles/colors.less b/styles/colors.less deleted file mode 100644 index cb36519..0000000 --- a/styles/colors.less +++ /dev/null @@ -1,15 +0,0 @@ -// These colors are specific to the theme. Do not use in a package! - -@very-light-gray: #c5c8c6; -@light-gray: #969896; -@gray: #373b41; -@dark-gray: #282a2e; -@very-dark-gray: #1d1f21; - -@cyan: #8abeb7; -@blue: #81a2be; -@purple: #b294bb; -@green: #b5bd68; -@red: #cc6666; -@orange: #de935f; -@light-orange: #f0c674; diff --git a/styles/syntax-variables.less b/styles/syntax-variables.less deleted file mode 100644 index 3fa8cda..0000000 --- a/styles/syntax-variables.less +++ /dev/null @@ -1,31 +0,0 @@ -@import "colors"; - -// This defines all syntax variables that syntax themes must implement when they -// include a syntax-variables.less file. - -// General colors -@syntax-text-color: @very-light-gray; -@syntax-cursor-color: white; -@syntax-selection-color: lighten(@dark-gray, 10%); -@syntax-background-color: @very-dark-gray; - -// Guide colors -@syntax-wrap-guide-color: @dark-gray; -@syntax-indent-guide-color: @gray; -@syntax-invisible-character-color: @gray; - -// For find and replace markers -@syntax-result-marker-color: @light-gray; -@syntax-result-marker-color-selected: white; - -// Gutter colors -@syntax-gutter-text-color: @very-light-gray; -@syntax-gutter-text-color-selected: @syntax-gutter-text-color; -@syntax-gutter-background-color: @dark-gray; -@syntax-gutter-background-color-selected: @gray; - -// For git diff info. i.e. in the gutter -@syntax-color-renamed: @blue; -@syntax-color-added: @green; -@syntax-color-modified: @orange; -@syntax-color-removed: @red;