├── .github └── no-response.yml ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── LICENSE.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── index.less ├── package.json └── styles ├── colors.less ├── editor.less ├── syntax-variables.less └── syntax ├── _base.less ├── c.less ├── coffee.less ├── css.less ├── go.less ├── java.less ├── javascript.less ├── markdown.less ├── markup.less ├── php.less ├── python.less ├── ruby.less ├── scala.less └── typescript.less /.github/no-response.yml: -------------------------------------------------------------------------------- 1 | # Configuration for probot-no-response - https://github.com/probot/no-response 2 | 3 | # Number of days of inactivity before an issue is closed for lack of response 4 | daysUntilClose: 28 5 | 6 | # Label requiring a response 7 | responseRequiredLabel: more-information-needed 8 | 9 | # Comment to post when closing an issue for lack of response. Set to `false` to disable. 10 | closeComment: > 11 | This issue has been automatically closed because there has been no response 12 | to our request for more information from the original author. With only the 13 | information that is currently in the issue, we don't have enough information 14 | to take action. Please reach out if you have or find the answers we need so 15 | that we can investigate further. 16 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | See the [Atom contributing guide](https://github.com/atom/atom/blob/master/CONTRIBUTING.md) 2 | -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 8 | 9 | ### Prerequisites 10 | 11 | * [ ] Put an X between the brackets on this line if you have done all of the following: 12 | * Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode 13 | * Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/ 14 | * Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq 15 | * Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom 16 | * Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages 17 | 18 | ### Description 19 | 20 | [Description of the issue] 21 | 22 | ### Steps to Reproduce 23 | 24 | 1. [First Step] 25 | 2. [Second Step] 26 | 3. [and so on...] 27 | 28 | **Expected behavior:** [What you expect to happen] 29 | 30 | **Actual behavior:** [What actually happens] 31 | 32 | **Reproduces how often:** [What percentage of the time does it reproduce?] 33 | 34 | ### Versions 35 | 36 | You can get this information from copy and pasting the output of `atom --version` and `apm --version` from the command line. Also, please include the OS and what version of the OS you're running. 37 | 38 | ### Additional Information 39 | 40 | Any additional information, configuration or data that might be necessary to reproduce the issue. 41 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 GitHub Inc. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Requirements 2 | 3 | * Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. 4 | * All new code requires tests to ensure against regressions 5 | 6 | ### Description of the Change 7 | 8 | 13 | 14 | ### Alternate Designs 15 | 16 | 17 | 18 | ### Benefits 19 | 20 | 21 | 22 | ### Possible Drawbacks 23 | 24 | 25 | 26 | ### Applicable Issues 27 | 28 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### This package is now a part of the [core Atom repository](https://github.com/atom/atom/tree/master/packages/solarized-dark-syntax), please direct all issues and pull requests there in the future! 2 | 3 | --- 4 | 5 | # Solarized Dark Syntax theme 6 | 7 | Atom theme using the ever popular dark [solarized](http://ethanschoonover.com/solarized) colors. 8 | 9 | screenshot 10 | 11 | This theme is installed by default with Atom and can be activated by going to 12 | the _Themes_ section in the Settings view (`cmd-,`) and selecting it from the 13 | _Syntax Themes_ dropdown menu. 14 | -------------------------------------------------------------------------------- /index.less: -------------------------------------------------------------------------------- 1 | // Solarized Syntax Theme 2 | 3 | @import "styles/syntax-variables.less"; 4 | 5 | // Editor 6 | @import "styles/editor.less"; 7 | 8 | // Languages 9 | @import "styles/syntax/_base.less"; 10 | @import "styles/syntax/c.less"; 11 | @import "styles/syntax/coffee.less"; 12 | @import "styles/syntax/css.less"; 13 | @import "styles/syntax/go.less"; 14 | @import "styles/syntax/java.less"; 15 | @import "styles/syntax/javascript.less"; 16 | @import "styles/syntax/markdown.less"; 17 | @import "styles/syntax/markup.less"; 18 | @import "styles/syntax/php.less"; 19 | @import "styles/syntax/python.less"; 20 | @import "styles/syntax/ruby.less"; 21 | @import "styles/syntax/scala.less"; 22 | @import "styles/syntax/typescript.less"; 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "solarized-dark-syntax", 3 | "theme": "syntax", 4 | "version": "1.3.0", 5 | "description": "A dark syntax theme using the solarized colors", 6 | "repository": "https://github.com/atom/solarized-dark-syntax", 7 | "license": "MIT", 8 | "engines": { 9 | "atom": ">0.50.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /styles/colors.less: -------------------------------------------------------------------------------- 1 | 2 | // Solarized color scheme 3 | // http://ethanschoonover.com/solarized#the-values 4 | 5 | // Background/Foreground Tones 6 | @base03: #002b36; 7 | @base02: #073642; 8 | 9 | // Content Tones 10 | @base01: #586e75; 11 | @base00: #657b83; 12 | @base0: #839496; 13 | @base1: #93a1a1; 14 | 15 | // Background/Foreground Tones 16 | @base2: #eee8d5; 17 | @base3: #fdf6e3; 18 | 19 | // Accent Colors 20 | @yellow: #b58900; 21 | @orange: #cb4b16; 22 | @red: #dc322f; 23 | @magenta: #d33682; 24 | @violet: #6c71c4; 25 | @blue: #268bd2; 26 | @cyan: #2aa198; 27 | @green: #859900; 28 | -------------------------------------------------------------------------------- /styles/editor.less: -------------------------------------------------------------------------------- 1 | atom-text-editor { 2 | color: @syntax-text-color; 3 | background-color: @syntax-background-color; 4 | 5 | .gutter { 6 | color: @syntax-gutter-text-color; 7 | background-color: @syntax-gutter-background-color; 8 | 9 | .line-number { 10 | &.cursor-line { 11 | background-color: @syntax-gutter-background-color-selected; 12 | } 13 | } 14 | } 15 | 16 | .invisible-character { 17 | color: @syntax-invisible-character-color; 18 | } 19 | 20 | .indent-guide { 21 | color: @syntax-indent-guide-color; 22 | } 23 | 24 | .cursor { 25 | border-color: @syntax-cursor-color; 26 | } 27 | 28 | .cursor-line { 29 | background-color: @syntax-cursor-line; 30 | } 31 | 32 | .selection .region { 33 | background-color: @syntax-selection-color; 34 | } 35 | 36 | .fold-marker:after, 37 | .gutter .line-number.folded { 38 | color: @magenta; 39 | } 40 | 41 | .bracket-matcher .region { 42 | border-color: @magenta; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /styles/syntax-variables.less: -------------------------------------------------------------------------------- 1 | @import "colors.less"; 2 | 3 | // This defines all syntax variables that syntax themes must implement when they 4 | // include a syntax-variables.less file. 5 | 6 | // General colors 7 | @syntax-text-color: @base0; 8 | @syntax-cursor-color: @base3; 9 | @syntax-selection-color: lighten(@base02, 1%); 10 | @syntax-selection-flash-color: @base1; 11 | @syntax-background-color: @base03; 12 | 13 | // Guide colors 14 | @syntax-wrap-guide-color: lighten(@base02, 6%); 15 | @syntax-indent-guide-color: lighten(@base02, 6%); 16 | @syntax-invisible-character-color: lighten(@base02, 6%); 17 | 18 | // For find and replace markers 19 | @syntax-result-marker-color: @cyan; 20 | @syntax-result-marker-color-selected: @base3; 21 | 22 | // Gutter colors 23 | @syntax-gutter-text-color: @base0; 24 | @syntax-gutter-text-color-selected: @base2; 25 | @syntax-gutter-background-color: @base02; 26 | @syntax-gutter-background-color-selected: lighten(@base02, 6%); 27 | 28 | // For git diff info. i.e. in the gutter 29 | @syntax-color-added: @green; 30 | @syntax-color-renamed: @blue; 31 | @syntax-color-modified: @yellow; 32 | @syntax-color-removed: @red; 33 | 34 | // For language entity colors 35 | @syntax-color-variable: @blue; 36 | @syntax-color-constant: @yellow; 37 | @syntax-color-property: @yellow; 38 | @syntax-color-value: @cyan; 39 | @syntax-color-function: @blue; 40 | @syntax-color-method: @blue; 41 | @syntax-color-class: @blue; 42 | @syntax-color-keyword: @green; 43 | @syntax-color-tag: @blue; 44 | @syntax-color-attribute: @syntax-comment-color; 45 | @syntax-color-import: @red; 46 | @syntax-color-snippet: @syntax-color-keyword; 47 | 48 | 49 | // Custom variables 50 | // Warning: Don't use in packages 51 | 52 | @syntax-comment-color: @base01; 53 | @syntax-subtle-color: @base00; 54 | @syntax-emphasized-color: @base1; 55 | @syntax-cursor-line: fade(lighten(@syntax-background-color, 30%), 8%); // needs to be semi-transparent 56 | -------------------------------------------------------------------------------- /styles/syntax/_base.less: -------------------------------------------------------------------------------- 1 | .syntax--comment { 2 | color: @syntax-comment-color; 3 | font-style: italic; 4 | 5 | .syntax--markup.syntax--link { 6 | color: @syntax-comment-color; 7 | } 8 | } 9 | 10 | .syntax--string { 11 | color: @cyan; 12 | &.syntax--regexp { 13 | color: @red; 14 | } 15 | } 16 | 17 | .syntax--constant { 18 | &.syntax--numeric { 19 | color: @magenta; 20 | } 21 | &.syntax--language { 22 | color: @yellow; 23 | } 24 | &.syntax--character, 25 | &.syntax--other, 26 | &.syntax--support { 27 | color: @orange; 28 | } 29 | } 30 | 31 | .syntax--variable { 32 | color: @blue; 33 | } 34 | 35 | .syntax--keyword { 36 | color: @green; 37 | } 38 | 39 | .syntax--storage { 40 | color: @green; 41 | } 42 | 43 | .syntax--meta.syntax--class { 44 | color: @blue; 45 | } 46 | 47 | .syntax--entity { 48 | &.syntax--name { 49 | &.syntax--class, 50 | &.syntax--function, 51 | &.syntax--section, 52 | &.syntax--type { 53 | color: @blue; 54 | } 55 | } 56 | &.syntax--other.syntax--attribute-name { 57 | color: @syntax-subtle-color; 58 | } 59 | } 60 | 61 | .syntax--support { 62 | &.syntax--function { 63 | color: @blue; 64 | &.syntax--builtin { 65 | color: @green; 66 | } 67 | } 68 | &.syntax--type, 69 | &.syntax--class { 70 | color: @green; 71 | } 72 | } 73 | 74 | .syntax--tag { 75 | &.syntax--entity.syntax--name { 76 | color: @blue; 77 | } 78 | &.syntax--punctuation.syntax--definition { 79 | &.syntax--html, 80 | &.syntax--begin, 81 | &.syntax--end { 82 | color: @syntax-comment-color; 83 | } 84 | } 85 | } 86 | 87 | .syntax--invalid { 88 | &.syntax--deprecated { 89 | color: @yellow; 90 | text-decoration: underline; 91 | } 92 | &.syntax--illegal { 93 | color: @red; 94 | text-decoration: underline; 95 | } 96 | } 97 | 98 | .syntax--none { 99 | color: @syntax-text-color; 100 | } 101 | -------------------------------------------------------------------------------- /styles/syntax/c.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--c, 2 | .syntax--source.syntax--cpp { 3 | .syntax--meta.syntax--preprocessor { 4 | color: @red; 5 | } 6 | .syntax--keyword.syntax--control.syntax--directive { 7 | color: @orange; 8 | } 9 | .syntax--punctuation.syntax--string { 10 | color: @cyan; 11 | } 12 | .syntax--constant { 13 | color: @orange; 14 | 15 | &.syntax--numeric, &.syntax--language.syntax--c { 16 | color: @cyan; 17 | } 18 | } 19 | .syntax--storage { 20 | color: @yellow; 21 | } 22 | .syntax--entity { 23 | color: @syntax-text-color; 24 | 25 | &.syntax--name.syntax--function.syntax--preprocessor { 26 | color: @red; 27 | } 28 | } 29 | .syntax--support.syntax--type { 30 | color: @yellow; 31 | 32 | &.syntax--posix-reserved { 33 | color: @syntax-text-color; 34 | } 35 | } 36 | .syntax--variable { 37 | &.syntax--other.syntax--dot-access { 38 | color: @syntax-text-color; 39 | } 40 | &.syntax--parameter.syntax--preprocessor { 41 | color: @red; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /styles/syntax/coffee.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--coffee { 2 | .syntax--support.syntax--class { 3 | color: @green; 4 | } 5 | 6 | .syntax--variable, 7 | .syntax--entity.syntax--name.syntax--function, 8 | .syntax--entity.syntax--name.syntax--class { 9 | color: @blue; 10 | } 11 | .syntax--variable.syntax--parameter.syntax--function { 12 | color: @syntax-text-color; 13 | } 14 | .syntax--variable.syntax--other.syntax--readwrite { 15 | color: @green; 16 | } 17 | 18 | .syntax--storage.syntax--type.syntax--function { 19 | color: @green; 20 | } 21 | 22 | .syntax--entity.syntax--name { 23 | color: @syntax-text-color; 24 | } 25 | 26 | .syntax--meta.syntax--brace { 27 | &.syntax--round, 28 | &.syntax--square { 29 | color: @syntax-text-color; 30 | } 31 | } 32 | .syntax--meta.syntax--delimiter { 33 | color: @syntax-text-color; 34 | } 35 | 36 | .syntax--storage.syntax--type.syntax--class { 37 | color: @green; 38 | } 39 | 40 | .syntax--punctuation.syntax--terminator { 41 | color: @syntax-text-color; 42 | } 43 | 44 | .syntax--punctuation.syntax--section.syntax--embedded { 45 | color: @red; 46 | } 47 | .syntax--embedded.syntax--source { 48 | color: @syntax-text-color; 49 | } 50 | 51 | .syntax--constant.syntax--numeric { 52 | color: @magenta; 53 | } 54 | 55 | .syntax--constant.syntax--language.syntax--boolean { 56 | color: @yellow; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /styles/syntax/css.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--css { 2 | 3 | .syntax--punctuation { 4 | &.syntax--separator, 5 | &.syntax--terminator { 6 | color: @syntax-text-color; 7 | } 8 | &.syntax--property-list.syntax--begin, 9 | &.syntax--property-list.syntax--end { 10 | color: @red; 11 | } 12 | &.syntax--section.syntax--function { 13 | color: @cyan; 14 | } 15 | } 16 | 17 | .syntax--entity.syntax--name { 18 | color: @green; 19 | } 20 | .syntax--attribute-name.syntax--class, 21 | .syntax--id { 22 | color: @blue; 23 | } 24 | .syntax--pseudo-element, 25 | .syntax--pseudo-class { 26 | color: @orange; 27 | } 28 | 29 | .syntax--property-value { 30 | color: @cyan; 31 | } 32 | .syntax--constant.syntax--numeric { 33 | color: @cyan; 34 | .syntax--unit { 35 | color: @cyan; 36 | } 37 | } 38 | .syntax--rgb-value { 39 | color: @cyan; 40 | } 41 | .syntax--support.syntax--constant { 42 | color: @cyan; 43 | &.syntax--media { 44 | color: @red; 45 | } 46 | } 47 | 48 | .syntax--keyword.syntax--important { 49 | color: @red; 50 | } 51 | 52 | } 53 | 54 | 55 | // Less/Sass should have their own files, 56 | // but for just a single override, here should be fine too 57 | 58 | .syntax--source.syntax--less, 59 | .syntax--source.syntax--scss { 60 | .syntax--keyword.syntax--unit { 61 | color: @cyan; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /styles/syntax/go.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--go { 2 | 3 | .syntax--operator { 4 | color: @syntax-text-color; 5 | &.syntax--assignment { 6 | color: @green; 7 | } 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /styles/syntax/java.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--java { 2 | .syntax--keyword.syntax--operator{ 3 | color:@green; 4 | } 5 | .syntax--keyword.syntax--import{ 6 | color: @orange; 7 | } 8 | .syntax--storage.syntax--modifier.syntax--import{ 9 | color: @syntax-comment-color; 10 | } 11 | .syntax--meta.syntax--class{ 12 | .syntax--storage.syntax--modifier{ 13 | color: @yellow; 14 | } 15 | .syntax--meta.syntax--class.syntax--identifier{ 16 | .syntax--entity.syntax--name.syntax--type.syntax--class{ 17 | color: @blue; 18 | } 19 | } 20 | } 21 | .syntax--storage.syntax--type.syntax--primitive.syntax--array{ 22 | color:@green; 23 | } 24 | .syntax--constant.syntax--numeric{ 25 | color:@magenta; 26 | } 27 | .syntax--constant.syntax--other{ 28 | color:@orange; 29 | } 30 | .syntax--storage.syntax--type{ 31 | color:@green; 32 | } 33 | .syntax--meta.syntax--method-call{ 34 | //@ibocon: method parameter's color 35 | color:@red; 36 | //@ibocon: method and variable use different hightlight 37 | .syntax--meta.syntax--method{ 38 | color:@violet; 39 | } 40 | .syntax--punctuation.syntax--definition.syntax--seperator.syntax--parameter{ 41 | color:@green; 42 | } 43 | } 44 | .syntax--punctuation.syntax--definition.syntax--method-parameters{ 45 | color: @syntax-emphasized-color; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /styles/syntax/javascript.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--js { 2 | .syntax--comma { 3 | color: @syntax-text-color; 4 | } 5 | 6 | .syntax--support.syntax--class { 7 | color: @green; 8 | } 9 | 10 | .syntax--entity { 11 | &.syntax--name.syntax--type { 12 | color: @yellow; 13 | } 14 | &.syntax--name { 15 | color: @syntax-text-color; 16 | 17 | &.syntax--function { 18 | color: @blue; 19 | } 20 | } 21 | 22 | &.syntax--name.syntax--tag { 23 | color: @blue; 24 | } 25 | 26 | &.syntax--other.syntax--attribute-name { 27 | color: @yellow; 28 | } 29 | } 30 | 31 | 32 | .syntax--meta.syntax--brace { 33 | color: @syntax-text-color; 34 | } 35 | 36 | .syntax--keyword { 37 | color: @syntax-text-color; 38 | } 39 | .syntax--keyword.syntax--operator.syntax--new { 40 | color: @green; 41 | } 42 | .syntax--keyword.syntax--control { 43 | color: @orange; 44 | } 45 | .syntax--keyword.syntax--control.syntax--regexp { 46 | color: @cyan; 47 | } 48 | 49 | .syntax--variable { 50 | color: @syntax-text-color; 51 | } 52 | .syntax--variable.syntax--dom { 53 | color: @green; 54 | } 55 | .syntax--delimiter + .syntax--dom { 56 | color: @syntax-text-color; 57 | } 58 | .syntax--name { 59 | color: @syntax-text-color; 60 | } 61 | .syntax--variable.syntax--language { 62 | color: @blue; 63 | } 64 | .syntax--variable.syntax--parameter { 65 | color: @syntax-text-color; 66 | } 67 | 68 | .syntax--regexp { 69 | color: @cyan; 70 | } 71 | 72 | .syntax--support.syntax--function { 73 | color: @syntax-text-color; 74 | } 75 | .syntax--support.syntax--constant { 76 | color: @syntax-text-color; 77 | } 78 | 79 | .syntax--storage.syntax--modifier { 80 | color: @yellow; 81 | } 82 | 83 | .syntax--punctuation.syntax--terminator.syntax--statement { 84 | color: @syntax-text-color; 85 | } 86 | 87 | .syntax--meta.syntax--delimiter.syntax--method.syntax--period { 88 | color: @syntax-text-color; 89 | } 90 | .syntax--meta.syntax--brace.syntax--square { 91 | color: @blue; 92 | } 93 | .syntax--meta.syntax--brace.syntax--curly { 94 | color: @blue; 95 | } 96 | 97 | .syntax--string.syntax--quoted.syntax--template { 98 | .syntax--embedded.syntax--source { 99 | color: @syntax-text-color; 100 | & > .syntax--embedded.syntax--punctuation { 101 | color: @red; 102 | } 103 | } 104 | } 105 | 106 | &.syntax--embedded .syntax--entity.syntax--name.syntax--tag { 107 | color: @blue; 108 | } 109 | 110 | .syntax--import { 111 | .syntax--control { 112 | color: @orange; 113 | } 114 | } 115 | } 116 | 117 | 118 | // JavaScript (Rails) language-ruby-on-rails 119 | 120 | .syntax--source.syntax--js.syntax--rails { 121 | .syntax--instance { 122 | color: @blue; 123 | } 124 | 125 | .syntax--class { 126 | color: @yellow; 127 | } 128 | } 129 | -------------------------------------------------------------------------------- /styles/syntax/markdown.less: -------------------------------------------------------------------------------- 1 | .syntax--md, 2 | .syntax--gfm { 3 | .syntax--link .syntax--entity { 4 | color: @violet; 5 | } 6 | 7 | .syntax--list { 8 | &.syntax--ordered { 9 | color: @green; 10 | } 11 | &.syntax--unordered { 12 | color: @yellow; 13 | } 14 | } 15 | 16 | .syntax--raw { 17 | font-style: italic; 18 | } 19 | 20 | &.syntax--support { 21 | color:@syntax-comment-color; 22 | &.syntax--quote { 23 | color: @violet; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /styles/syntax/markup.less: -------------------------------------------------------------------------------- 1 | .syntax--markup { 2 | 3 | &.syntax--bold { 4 | font-weight: bold; 5 | } 6 | &.syntax--italic { 7 | font-style: italic; 8 | } 9 | 10 | &.syntax--heading { 11 | color: @blue; 12 | } 13 | 14 | &.syntax--link { 15 | color: @cyan; 16 | } 17 | 18 | &.syntax--deleted { 19 | color: @red; 20 | } 21 | 22 | &.syntax--changed { 23 | color: @yellow; 24 | } 25 | 26 | &.syntax--inserted { 27 | color: @cyan; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /styles/syntax/php.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--php { 2 | .syntax--storage { 3 | &.syntax--type { 4 | &.syntax--class { 5 | color: @yellow; 6 | } 7 | &.syntax--function { 8 | color: @orange; 9 | } 10 | } 11 | &.syntax--modifier { 12 | color: @yellow; 13 | } 14 | } 15 | .syntax--entity { 16 | &.syntax--name { 17 | &.syntax--type.syntax--class { 18 | color: @syntax-text-color; 19 | } 20 | &.syntax--function { 21 | color: @syntax-text-color; 22 | } 23 | } 24 | &.syntax--other { 25 | color: @syntax-text-color; 26 | } 27 | } 28 | .syntax--variable { 29 | color: @blue; 30 | } 31 | .syntax--punctuation.syntax--definition { 32 | color: @syntax-text-color; 33 | &.syntax--comment { 34 | color: @syntax-comment-color; 35 | } 36 | &.syntax--array { 37 | color: @red; 38 | } 39 | &.syntax--string { 40 | color: @syntax-text-color; 41 | } 42 | &.syntax--variable { 43 | color: @green; 44 | } 45 | } 46 | .syntax--support.syntax--function { 47 | &.syntax--construct { 48 | color: @yellow; 49 | } 50 | &.syntax--array { 51 | color: @green; 52 | } 53 | } 54 | .syntax--keyword { 55 | &.syntax--operator { 56 | &.syntax--class { 57 | color: @yellow; 58 | } 59 | &.syntax--assignment { 60 | color: @green; 61 | } 62 | } 63 | &.syntax--other { 64 | color: @red; 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /styles/syntax/python.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--python { 2 | .syntax--entity { 3 | color: @syntax-text-color; 4 | 5 | &.syntax--name { 6 | color: @blue; 7 | } 8 | &.syntax--other { 9 | color: @blue; 10 | } 11 | } 12 | 13 | .syntax--function { 14 | color: @blue; 15 | 16 | &.syntax--magic { 17 | color: @blue; 18 | } 19 | } 20 | 21 | .syntax--punctuation.syntax--string { 22 | color: @cyan; 23 | } 24 | .syntax--keyword { 25 | &.syntax--operator { 26 | color: @syntax-text-color; 27 | &.syntax--quantifier { 28 | color: @cyan; 29 | } 30 | &.syntax--logical { 31 | color: @green; 32 | } 33 | } 34 | &.syntax--control.syntax--import { 35 | color: @orange; 36 | } 37 | &.syntax--other { 38 | color: @green; 39 | } 40 | } 41 | .syntax--constant { 42 | &.syntax--language { 43 | color: @blue; 44 | } 45 | &.syntax--character { 46 | color: @cyan; 47 | } 48 | &.syntax--other { 49 | color: @red; 50 | } 51 | } 52 | 53 | .syntax--entity.syntax--name.syntax--type.syntax--class { 54 | color: @blue; 55 | } 56 | .syntax--variable { 57 | color: @syntax-text-color; 58 | } 59 | .syntax--support { 60 | &.syntax--function.syntax--builtin { 61 | color: @blue; 62 | } 63 | &.syntax--type { 64 | &.syntax--exception.syntax--python { 65 | color: @yellow; 66 | } 67 | &.syntax--python { 68 | color: @blue; 69 | } 70 | } 71 | } 72 | .syntax--storage.syntax--type.syntax--string { 73 | color: @cyan; 74 | } 75 | 76 | .syntax--storage.syntax--type.syntax--class { 77 | color: @green; 78 | &.syntax--todo { 79 | color: @magenta; 80 | } 81 | } 82 | 83 | .syntax--storage.syntax--type.syntax--function { 84 | color: @green; 85 | } 86 | 87 | .syntax--punctuation.syntax--definition.syntax--parameters { 88 | color: @syntax-text-color; 89 | } 90 | 91 | .syntax--punctuation.syntax--section.syntax--function.syntax--begin { 92 | color: @syntax-text-color; 93 | } 94 | 95 | .syntax--punctuation.syntax--separator.syntax--parameters { 96 | color: @syntax-text-color; 97 | } 98 | 99 | 100 | } 101 | -------------------------------------------------------------------------------- /styles/syntax/ruby.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--ruby { 2 | 3 | .syntax--meta.syntax--embedded { 4 | .syntax--punctuation.syntax--section { 5 | color: @red; 6 | } 7 | } 8 | .syntax--punctuation.syntax--definition { 9 | color: @syntax-text-color; 10 | &.syntax--string { 11 | color: @red; 12 | } 13 | } 14 | .syntax--punctuation.syntax--definition.syntax--comment { 15 | color: @syntax-comment-color; 16 | } 17 | .syntax--entity.syntax--inherited-class { 18 | color: @yellow; 19 | } 20 | .syntax--variable { 21 | &.syntax--parameter { 22 | color: @syntax-text-color; 23 | } 24 | } 25 | .syntax--variable.syntax--constant { 26 | color: @yellow; 27 | } 28 | .syntax--constant.syntax--boolean { 29 | color: @cyan; 30 | } 31 | .syntax--instance { 32 | .syntax--punctuation.syntax--definition { 33 | color: @blue; 34 | } 35 | } 36 | .syntax--class { 37 | color: @yellow; 38 | &.syntax--control { 39 | color: @syntax-text-color; 40 | } 41 | } 42 | .syntax--module { 43 | color: @yellow; 44 | } 45 | .syntax--require { 46 | .syntax--keyword.syntax--other.syntax--special-method { 47 | color: @orange; 48 | } 49 | } 50 | .syntax--keyword.syntax--other.syntax--special-method { 51 | color: @orange; 52 | } 53 | .syntax--keyword.syntax--other { 54 | color: @green; 55 | } 56 | .syntax--keyword.syntax--control { 57 | color: @green; 58 | } 59 | .syntax--keyword.syntax--operator { 60 | color: @syntax-text-color; 61 | } 62 | .syntax--special-method { 63 | color: @blue; 64 | } 65 | .syntax--symbol { 66 | color: @cyan; 67 | .syntax--punctuation.syntax--definition { 68 | color: @cyan; 69 | } 70 | } 71 | .syntax--hashkey { 72 | color: @red; 73 | .syntax--punctuation.syntax--definition { 74 | color: @red; 75 | } 76 | } 77 | .syntax--string.syntax--regexp { 78 | color: @red; 79 | } 80 | .syntax--todo { 81 | color: @magenta; 82 | } 83 | .syntax--variable.syntax--ruby.syntax--global { 84 | color: @blue; 85 | .syntax--punctuation { 86 | color: @blue; 87 | } 88 | } 89 | .syntax--variable.syntax--block { 90 | color: @blue; 91 | } 92 | .syntax--variable.syntax--self { 93 | color: @cyan; 94 | } 95 | .syntax--punctuation.syntax--separator { 96 | color: @syntax-text-color; 97 | } 98 | .syntax--numeric { 99 | color: @cyan; 100 | } 101 | .syntax--punctuation.syntax--section.syntax--regexp { 102 | color: @red; 103 | } 104 | .syntax--string.syntax--interpolated { 105 | color: @cyan; 106 | } 107 | .syntax--string.syntax--interpolated { 108 | .syntax--embedded.syntax--line.syntax--ruby { 109 | .syntax--punctuation { 110 | .syntax--source.syntax--ruby { 111 | color: @red; 112 | } 113 | } 114 | .syntax--source.syntax--ruby { 115 | .syntax--punctuation.syntax--array, 116 | .syntax--punctuation.syntax--function { 117 | color: @syntax-text-color; 118 | } 119 | color: @syntax-text-color; 120 | } 121 | } 122 | } 123 | .syntax--support.syntax--function { 124 | color: @syntax-text-color; 125 | } 126 | .syntax--support.syntax--function.syntax--kernel { 127 | color: @green; 128 | } 129 | } 130 | -------------------------------------------------------------------------------- /styles/syntax/scala.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--scala { 2 | .syntax--variable { 3 | color: @syntax-emphasized-color; 4 | } 5 | 6 | .syntax--declaration { 7 | color: @syntax-emphasized-color; 8 | font-weight: bold; 9 | } 10 | .syntax--comparison { 11 | color: @syntax-emphasized-color; 12 | } 13 | .syntax--class, .syntax--type { 14 | color: @yellow; 15 | } 16 | .syntax--val { 17 | font-weight: normal; 18 | } 19 | .syntax--variable { 20 | font-weight: bold; 21 | } 22 | .syntax--variable.syntax--parameter { 23 | color: @violet; 24 | font-weight: normal; 25 | } 26 | .syntax--control.syntax--flow { 27 | color: @syntax-emphasized-color; 28 | font-weight: bold; 29 | } 30 | .syntax--constant.syntax--language { 31 | color: @syntax-emphasized-color; 32 | font-weight: bold; 33 | } 34 | .syntax--function.syntax--declaration { 35 | color: @violet; 36 | } 37 | .syntax--modifier.syntax--other { 38 | font-weight: bold; 39 | } 40 | .syntax--package { 41 | color: @syntax-emphasized-color; 42 | } 43 | .syntax--variable.syntax--import { 44 | font-weight: normal; 45 | } 46 | 47 | .syntax--type { 48 | .syntax--bounds, .syntax--class { 49 | color: @violet; 50 | } 51 | } 52 | 53 | .syntax--documentation { 54 | :not(.syntax--embedded) { 55 | // out of scope ? 56 | // https://github.syntax--com/atom/link 57 | &.syntax--link.syntax--entity { 58 | color: @blue; 59 | text-decoration: underline; 60 | } 61 | .syntax--class, .syntax--parameter { 62 | color: @syntax-emphasized-color; 63 | } 64 | .syntax--description { 65 | color: @syntax-comment-color; 66 | } 67 | } 68 | } 69 | 70 | .syntax--embedded { 71 | color: darken(@syntax-emphasized-color, 15%); 72 | 73 | // so we dont confused it with normal expressions 74 | font-style: italic; 75 | .syntax--margin, .syntax--delimiters { 76 | font-style: normal; 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /styles/syntax/typescript.less: -------------------------------------------------------------------------------- 1 | .syntax--source.syntax--ts, 2 | .syntax--source.syntax--tsx { 3 | .syntax--import { 4 | .syntax--control { 5 | color: @orange; 6 | } 7 | } 8 | 9 | .syntax--entity { 10 | &.syntax--name.syntax--type { 11 | color: @yellow; 12 | } 13 | 14 | &.syntax--inherited-class { 15 | color: @yellow; 16 | } 17 | } 18 | 19 | .syntax--support.syntax--type { 20 | color: @yellow; 21 | } 22 | } 23 | --------------------------------------------------------------------------------