Merge pull request #18555 from ryanolsonx/migrate-solarized-dark-syntax-package

➡ Migrate core package 'solarized-dark-syntax' into ./packages
This commit is contained in:
simurai
2019-01-03 18:14:25 +09:00
committed by GitHub
24 changed files with 1095 additions and 6 deletions

3
package-lock.json generated
View File

@@ -5064,8 +5064,7 @@
}
},
"solarized-dark-syntax": {
"version": "https://www.atom.io/api/packages/solarized-dark-syntax/versions/1.3.0/tarball",
"integrity": "sha512-2X4Df16sQqna8dmpWnpk2FoL346cXW34Vk2JKJY23fYYCH3t16mGl9G9URB7+S2x+/WmeCjdwIQSMsGvBf/95g=="
"version": "file:packages/solarized-dark-syntax"
},
"solarized-light-syntax": {
"version": "file:packages/solarized-light-syntax"

View File

@@ -148,7 +148,7 @@
"settings-view": "https://www.atom.io/api/packages/settings-view/versions/0.257.3/tarball",
"sinon": "1.17.4",
"snippets": "https://www.atom.io/api/packages/snippets/versions/1.4.0/tarball",
"solarized-dark-syntax": "https://www.atom.io/api/packages/solarized-dark-syntax/versions/1.3.0/tarball",
"solarized-dark-syntax": "file:packages/solarized-dark-syntax",
"solarized-light-syntax": "file:packages/solarized-light-syntax",
"spell-check": "https://www.atom.io/api/packages/spell-check/versions/0.74.2/tarball",
"status-bar": "https://www.atom.io/api/packages/status-bar/versions/1.8.16/tarball",
@@ -181,7 +181,7 @@
"one-light-ui": "file:./packages/one-light-ui",
"one-dark-syntax": "file:./packages/one-dark-syntax",
"one-light-syntax": "file:./packages/one-light-syntax",
"solarized-dark-syntax": "1.3.0",
"solarized-dark-syntax": "file:./packages/solarized-dark-syntax",
"solarized-light-syntax": "file:./packages/solarized-light-syntax",
"about": "file:./packages/about",
"archive-view": "0.65.1",

View File

@@ -87,7 +87,7 @@ See [RFC 003](https://github.com/atom/atom/blob/master/docs/rfcs/003-consolidate
| **package-generator** | [`atom/package-generator`][package-generator] | [#18279](https://github.com/atom/atom/issues/18279) |
| **settings-view** | [`atom/settings-view`][settings-view] | |
| **snippets** | [`atom/snippets`][snippets] | |
| **solarized-dark-syntax** | [`atom/solarized-dark-syntax`][solarized-dark-syntax] | [#18280](https://github.com/atom/atom/issues/18280) |
| **solarized-dark-syntax** | [`./solarized-dark-syntax`](./solarized-dark-syntax) | [#18280](https://github.com/atom/atom/issues/18280) |
| **solarized-light-syntax** | [`./solarized-light-syntax`](./solarized-light-syntax) | [#18281](https://github.com/atom/atom/issues/18281) |
| **spell-check** | [`atom/spell-check`][spell-check] | |
| **status-bar** | [`atom/status-bar`][status-bar] | [#18282](https://github.com/atom/atom/issues/18282) |
@@ -158,7 +158,6 @@ See [RFC 003](https://github.com/atom/atom/blob/master/docs/rfcs/003-consolidate
[package-generator]: https://github.com/atom/package-generator
[settings-view]: https://github.com/atom/settings-view
[snippets]: https://github.com/atom/snippets
[solarized-dark-syntax]: https://github.com/atom/solarized-dark-syntax
[spell-check]: https://github.com/atom/spell-check
[status-bar]: https://github.com/atom/status-bar
[styleguide]: https://github.com/atom/styleguide

View File

@@ -0,0 +1,20 @@
Copyright (c) 2014 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,9 @@
# Solarized Dark Syntax theme
Atom theme using the ever popular dark [solarized](http://ethanschoonover.com/solarized) colors.
<img alt="screenshot" src="https://cloud.githubusercontent.com/assets/378023/12602908/9c252b08-c4f0-11e5-8833-6aad91b8fa34.png" srcset="https://cloud.githubusercontent.com/assets/378023/12602909/9c25b366-c4f0-11e5-9f5d-aa6a517f7d7e.png 2x">
This theme is installed by default with Atom and can be activated by going to
the _Themes_ section in the Settings view (`cmd-,`) and selecting it from the
_Syntax Themes_ dropdown menu.

View File

@@ -0,0 +1,22 @@
// Solarized Syntax Theme
@import "styles/syntax-variables.less";
// Editor
@import "styles/editor.less";
// Languages
@import "styles/syntax/_base.less";
@import "styles/syntax/c.less";
@import "styles/syntax/coffee.less";
@import "styles/syntax/css.less";
@import "styles/syntax/go.less";
@import "styles/syntax/java.less";
@import "styles/syntax/javascript.less";
@import "styles/syntax/markdown.less";
@import "styles/syntax/markup.less";
@import "styles/syntax/php.less";
@import "styles/syntax/python.less";
@import "styles/syntax/ruby.less";
@import "styles/syntax/scala.less";
@import "styles/syntax/typescript.less";

View File

@@ -0,0 +1,11 @@
{
"name": "solarized-dark-syntax",
"theme": "syntax",
"version": "1.3.0",
"description": "A dark syntax theme using the solarized colors",
"repository": "https://github.com/atom/atom",
"license": "MIT",
"engines": {
"atom": ">0.50.0"
}
}

View File

@@ -0,0 +1,27 @@
// Solarized color scheme
// http://ethanschoonover.com/solarized#the-values
// Background/Foreground Tones
@base03: #002b36;
@base02: #073642;
// Content Tones
@base01: #586e75;
@base00: #657b83;
@base0: #839496;
@base1: #93a1a1;
// Background/Foreground Tones
@base2: #eee8d5;
@base3: #fdf6e3;
// Accent Colors
@yellow: #b58900;
@orange: #cb4b16;
@red: #dc322f;
@magenta: #d33682;
@violet: #6c71c4;
@blue: #268bd2;
@cyan: #2aa198;
@green: #859900;

View File

@@ -0,0 +1,44 @@
atom-text-editor {
color: @syntax-text-color;
background-color: @syntax-background-color;
.gutter {
color: @syntax-gutter-text-color;
background-color: @syntax-gutter-background-color;
.line-number {
&.cursor-line {
background-color: @syntax-gutter-background-color-selected;
}
}
}
.invisible-character {
color: @syntax-invisible-character-color;
}
.indent-guide {
color: @syntax-indent-guide-color;
}
.cursor {
border-color: @syntax-cursor-color;
}
.cursor-line {
background-color: @syntax-cursor-line;
}
.selection .region {
background-color: @syntax-selection-color;
}
.fold-marker:after,
.gutter .line-number.folded {
color: @magenta;
}
.bracket-matcher .region {
border-color: @magenta;
}
}

View File

@@ -0,0 +1,55 @@
@import "colors.less";
// This defines all syntax variables that syntax themes must implement when they
// include a syntax-variables.less file.
// General colors
@syntax-text-color: @base0;
@syntax-cursor-color: @base3;
@syntax-selection-color: lighten(@base02, 1%);
@syntax-selection-flash-color: @base1;
@syntax-background-color: @base03;
// Guide colors
@syntax-wrap-guide-color: lighten(@base02, 6%);
@syntax-indent-guide-color: lighten(@base02, 6%);
@syntax-invisible-character-color: lighten(@base02, 6%);
// For find and replace markers
@syntax-result-marker-color: @cyan;
@syntax-result-marker-color-selected: @base3;
// Gutter colors
@syntax-gutter-text-color: @base0;
@syntax-gutter-text-color-selected: @base2;
@syntax-gutter-background-color: @base02;
@syntax-gutter-background-color-selected: lighten(@base02, 6%);
// For git diff info. i.e. in the gutter
@syntax-color-added: @green;
@syntax-color-renamed: @blue;
@syntax-color-modified: @yellow;
@syntax-color-removed: @red;
// For language entity colors
@syntax-color-variable: @blue;
@syntax-color-constant: @yellow;
@syntax-color-property: @yellow;
@syntax-color-value: @cyan;
@syntax-color-function: @blue;
@syntax-color-method: @blue;
@syntax-color-class: @blue;
@syntax-color-keyword: @green;
@syntax-color-tag: @blue;
@syntax-color-attribute: @syntax-comment-color;
@syntax-color-import: @red;
@syntax-color-snippet: @syntax-color-keyword;
// Custom variables
// Warning: Don't use in packages
@syntax-comment-color: @base01;
@syntax-subtle-color: @base00;
@syntax-emphasized-color: @base1;
@syntax-cursor-line: fade(lighten(@syntax-background-color, 30%), 8%); // needs to be semi-transparent

View File

@@ -0,0 +1,100 @@
.syntax--comment {
color: @syntax-comment-color;
font-style: italic;
.syntax--markup.syntax--link {
color: @syntax-comment-color;
}
}
.syntax--string {
color: @cyan;
&.syntax--regexp {
color: @red;
}
}
.syntax--constant {
&.syntax--numeric {
color: @magenta;
}
&.syntax--language {
color: @yellow;
}
&.syntax--character,
&.syntax--other,
&.syntax--support {
color: @orange;
}
}
.syntax--variable {
color: @blue;
}
.syntax--keyword {
color: @green;
}
.syntax--storage {
color: @green;
}
.syntax--meta.syntax--class {
color: @blue;
}
.syntax--entity {
&.syntax--name {
&.syntax--class,
&.syntax--function,
&.syntax--section,
&.syntax--type {
color: @blue;
}
}
&.syntax--other.syntax--attribute-name {
color: @syntax-subtle-color;
}
}
.syntax--support {
&.syntax--function {
color: @blue;
&.syntax--builtin {
color: @green;
}
}
&.syntax--type,
&.syntax--class {
color: @green;
}
}
.syntax--tag {
&.syntax--entity.syntax--name {
color: @blue;
}
&.syntax--punctuation.syntax--definition {
&.syntax--html,
&.syntax--begin,
&.syntax--end {
color: @syntax-comment-color;
}
}
}
.syntax--invalid {
&.syntax--deprecated {
color: @yellow;
text-decoration: underline;
}
&.syntax--illegal {
color: @red;
text-decoration: underline;
}
}
.syntax--none {
color: @syntax-text-color;
}

View File

@@ -0,0 +1,44 @@
.syntax--source.syntax--c,
.syntax--source.syntax--cpp {
.syntax--meta.syntax--preprocessor {
color: @red;
}
.syntax--keyword.syntax--control.syntax--directive {
color: @orange;
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--constant {
color: @orange;
&.syntax--numeric, &.syntax--language.syntax--c {
color: @cyan;
}
}
.syntax--storage {
color: @yellow;
}
.syntax--entity {
color: @syntax-text-color;
&.syntax--name.syntax--function.syntax--preprocessor {
color: @red;
}
}
.syntax--support.syntax--type {
color: @yellow;
&.syntax--posix-reserved {
color: @syntax-text-color;
}
}
.syntax--variable {
&.syntax--other.syntax--dot-access {
color: @syntax-text-color;
}
&.syntax--parameter.syntax--preprocessor {
color: @red;
}
}
}

View File

@@ -0,0 +1,58 @@
.syntax--source.syntax--coffee {
.syntax--support.syntax--class {
color: @green;
}
.syntax--variable,
.syntax--entity.syntax--name.syntax--function,
.syntax--entity.syntax--name.syntax--class {
color: @blue;
}
.syntax--variable.syntax--parameter.syntax--function {
color: @syntax-text-color;
}
.syntax--variable.syntax--other.syntax--readwrite {
color: @green;
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--entity.syntax--name {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace {
&.syntax--round,
&.syntax--square {
color: @syntax-text-color;
}
}
.syntax--meta.syntax--delimiter {
color: @syntax-text-color;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
}
.syntax--punctuation.syntax--terminator {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--embedded {
color: @red;
}
.syntax--embedded.syntax--source {
color: @syntax-text-color;
}
.syntax--constant.syntax--numeric {
color: @magenta;
}
.syntax--constant.syntax--language.syntax--boolean {
color: @yellow;
}
}

View File

@@ -0,0 +1,63 @@
.syntax--source.syntax--css {
.syntax--punctuation {
&.syntax--separator,
&.syntax--terminator {
color: @syntax-text-color;
}
&.syntax--property-list.syntax--begin,
&.syntax--property-list.syntax--end {
color: @red;
}
&.syntax--section.syntax--function {
color: @cyan;
}
}
.syntax--entity.syntax--name {
color: @green;
}
.syntax--attribute-name.syntax--class,
.syntax--id {
color: @blue;
}
.syntax--pseudo-element,
.syntax--pseudo-class {
color: @orange;
}
.syntax--property-value {
color: @cyan;
}
.syntax--constant.syntax--numeric {
color: @cyan;
.syntax--unit {
color: @cyan;
}
}
.syntax--rgb-value {
color: @cyan;
}
.syntax--support.syntax--constant {
color: @cyan;
&.syntax--media {
color: @red;
}
}
.syntax--keyword.syntax--important {
color: @red;
}
}
// Less/Sass should have their own files,
// but for just a single override, here should be fine too
.syntax--source.syntax--less,
.syntax--source.syntax--scss {
.syntax--keyword.syntax--unit {
color: @cyan;
}
}

View File

@@ -0,0 +1,10 @@
.syntax--source.syntax--go {
.syntax--operator {
color: @syntax-text-color;
&.syntax--assignment {
color: @green;
}
}
}

View File

@@ -0,0 +1,47 @@
.syntax--source.syntax--java {
.syntax--keyword.syntax--operator{
color:@green;
}
.syntax--keyword.syntax--import{
color: @orange;
}
.syntax--storage.syntax--modifier.syntax--import{
color: @syntax-comment-color;
}
.syntax--meta.syntax--class{
.syntax--storage.syntax--modifier{
color: @yellow;
}
.syntax--meta.syntax--class.syntax--identifier{
.syntax--entity.syntax--name.syntax--type.syntax--class{
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--primitive.syntax--array{
color:@green;
}
.syntax--constant.syntax--numeric{
color:@magenta;
}
.syntax--constant.syntax--other{
color:@orange;
}
.syntax--storage.syntax--type{
color:@green;
}
.syntax--meta.syntax--method-call{
//@ibocon: method parameter's color
color:@red;
//@ibocon: method and variable use different hightlight
.syntax--meta.syntax--method{
color:@violet;
}
.syntax--punctuation.syntax--definition.syntax--seperator.syntax--parameter{
color:@green;
}
}
.syntax--punctuation.syntax--definition.syntax--method-parameters{
color: @syntax-emphasized-color;
}
}

View File

@@ -0,0 +1,128 @@
.syntax--source.syntax--js {
.syntax--comma {
color: @syntax-text-color;
}
.syntax--support.syntax--class {
color: @green;
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--name {
color: @syntax-text-color;
&.syntax--function {
color: @blue;
}
}
&.syntax--name.syntax--tag {
color: @blue;
}
&.syntax--other.syntax--attribute-name {
color: @yellow;
}
}
.syntax--meta.syntax--brace {
color: @syntax-text-color;
}
.syntax--keyword {
color: @syntax-text-color;
}
.syntax--keyword.syntax--operator.syntax--new {
color: @green;
}
.syntax--keyword.syntax--control {
color: @orange;
}
.syntax--keyword.syntax--control.syntax--regexp {
color: @cyan;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--variable.syntax--dom {
color: @green;
}
.syntax--delimiter + .syntax--dom {
color: @syntax-text-color;
}
.syntax--name {
color: @syntax-text-color;
}
.syntax--variable.syntax--language {
color: @blue;
}
.syntax--variable.syntax--parameter {
color: @syntax-text-color;
}
.syntax--regexp {
color: @cyan;
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--constant {
color: @syntax-text-color;
}
.syntax--storage.syntax--modifier {
color: @yellow;
}
.syntax--punctuation.syntax--terminator.syntax--statement {
color: @syntax-text-color;
}
.syntax--meta.syntax--delimiter.syntax--method.syntax--period {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace.syntax--square {
color: @blue;
}
.syntax--meta.syntax--brace.syntax--curly {
color: @blue;
}
.syntax--string.syntax--quoted.syntax--template {
.syntax--embedded.syntax--source {
color: @syntax-text-color;
& > .syntax--embedded.syntax--punctuation {
color: @red;
}
}
}
&.syntax--embedded .syntax--entity.syntax--name.syntax--tag {
color: @blue;
}
.syntax--import {
.syntax--control {
color: @orange;
}
}
}
// JavaScript (Rails) language-ruby-on-rails
.syntax--source.syntax--js.syntax--rails {
.syntax--instance {
color: @blue;
}
.syntax--class {
color: @yellow;
}
}

View File

@@ -0,0 +1,26 @@
.syntax--md,
.syntax--gfm {
.syntax--link .syntax--entity {
color: @violet;
}
.syntax--list {
&.syntax--ordered {
color: @green;
}
&.syntax--unordered {
color: @yellow;
}
}
.syntax--raw {
font-style: italic;
}
&.syntax--support {
color:@syntax-comment-color;
&.syntax--quote {
color: @violet;
}
}
}

View File

@@ -0,0 +1,30 @@
.syntax--markup {
&.syntax--bold {
font-weight: bold;
}
&.syntax--italic {
font-style: italic;
}
&.syntax--heading {
color: @blue;
}
&.syntax--link {
color: @cyan;
}
&.syntax--deleted {
color: @red;
}
&.syntax--changed {
color: @yellow;
}
&.syntax--inserted {
color: @cyan;
}
}

View File

@@ -0,0 +1,67 @@
.syntax--source.syntax--php {
.syntax--storage {
&.syntax--type {
&.syntax--class {
color: @yellow;
}
&.syntax--function {
color: @orange;
}
}
&.syntax--modifier {
color: @yellow;
}
}
.syntax--entity {
&.syntax--name {
&.syntax--type.syntax--class {
color: @syntax-text-color;
}
&.syntax--function {
color: @syntax-text-color;
}
}
&.syntax--other {
color: @syntax-text-color;
}
}
.syntax--variable {
color: @blue;
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--comment {
color: @syntax-comment-color;
}
&.syntax--array {
color: @red;
}
&.syntax--string {
color: @syntax-text-color;
}
&.syntax--variable {
color: @green;
}
}
.syntax--support.syntax--function {
&.syntax--construct {
color: @yellow;
}
&.syntax--array {
color: @green;
}
}
.syntax--keyword {
&.syntax--operator {
&.syntax--class {
color: @yellow;
}
&.syntax--assignment {
color: @green;
}
}
&.syntax--other {
color: @red;
}
}
}

View File

@@ -0,0 +1,100 @@
.syntax--source.syntax--python {
.syntax--entity {
color: @syntax-text-color;
&.syntax--name {
color: @blue;
}
&.syntax--other {
color: @blue;
}
}
.syntax--function {
color: @blue;
&.syntax--magic {
color: @blue;
}
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--keyword {
&.syntax--operator {
color: @syntax-text-color;
&.syntax--quantifier {
color: @cyan;
}
&.syntax--logical {
color: @green;
}
}
&.syntax--control.syntax--import {
color: @orange;
}
&.syntax--other {
color: @green;
}
}
.syntax--constant {
&.syntax--language {
color: @blue;
}
&.syntax--character {
color: @cyan;
}
&.syntax--other {
color: @red;
}
}
.syntax--entity.syntax--name.syntax--type.syntax--class {
color: @blue;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--support {
&.syntax--function.syntax--builtin {
color: @blue;
}
&.syntax--type {
&.syntax--exception.syntax--python {
color: @yellow;
}
&.syntax--python {
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--string {
color: @cyan;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
&.syntax--todo {
color: @magenta;
}
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--punctuation.syntax--definition.syntax--parameters {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--function.syntax--begin {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--separator.syntax--parameters {
color: @syntax-text-color;
}
}

View File

@@ -0,0 +1,129 @@
.syntax--source.syntax--ruby {
.syntax--meta.syntax--embedded {
.syntax--punctuation.syntax--section {
color: @red;
}
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--string {
color: @red;
}
}
.syntax--punctuation.syntax--definition.syntax--comment {
color: @syntax-comment-color;
}
.syntax--entity.syntax--inherited-class {
color: @yellow;
}
.syntax--variable {
&.syntax--parameter {
color: @syntax-text-color;
}
}
.syntax--variable.syntax--constant {
color: @yellow;
}
.syntax--constant.syntax--boolean {
color: @cyan;
}
.syntax--instance {
.syntax--punctuation.syntax--definition {
color: @blue;
}
}
.syntax--class {
color: @yellow;
&.syntax--control {
color: @syntax-text-color;
}
}
.syntax--module {
color: @yellow;
}
.syntax--require {
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
}
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
.syntax--keyword.syntax--other {
color: @green;
}
.syntax--keyword.syntax--control {
color: @green;
}
.syntax--keyword.syntax--operator {
color: @syntax-text-color;
}
.syntax--special-method {
color: @blue;
}
.syntax--symbol {
color: @cyan;
.syntax--punctuation.syntax--definition {
color: @cyan;
}
}
.syntax--hashkey {
color: @red;
.syntax--punctuation.syntax--definition {
color: @red;
}
}
.syntax--string.syntax--regexp {
color: @red;
}
.syntax--todo {
color: @magenta;
}
.syntax--variable.syntax--ruby.syntax--global {
color: @blue;
.syntax--punctuation {
color: @blue;
}
}
.syntax--variable.syntax--block {
color: @blue;
}
.syntax--variable.syntax--self {
color: @cyan;
}
.syntax--punctuation.syntax--separator {
color: @syntax-text-color;
}
.syntax--numeric {
color: @cyan;
}
.syntax--punctuation.syntax--section.syntax--regexp {
color: @red;
}
.syntax--string.syntax--interpolated {
color: @cyan;
}
.syntax--string.syntax--interpolated {
.syntax--embedded.syntax--line.syntax--ruby {
.syntax--punctuation {
.syntax--source.syntax--ruby {
color: @red;
}
}
.syntax--source.syntax--ruby {
.syntax--punctuation.syntax--array,
.syntax--punctuation.syntax--function {
color: @syntax-text-color;
}
color: @syntax-text-color;
}
}
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--function.syntax--kernel {
color: @green;
}
}

View File

@@ -0,0 +1,79 @@
.syntax--source.syntax--scala {
.syntax--variable {
color: @syntax-emphasized-color;
}
.syntax--declaration {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--comparison {
color: @syntax-emphasized-color;
}
.syntax--class, .syntax--type {
color: @yellow;
}
.syntax--val {
font-weight: normal;
}
.syntax--variable {
font-weight: bold;
}
.syntax--variable.syntax--parameter {
color: @violet;
font-weight: normal;
}
.syntax--control.syntax--flow {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--constant.syntax--language {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--function.syntax--declaration {
color: @violet;
}
.syntax--modifier.syntax--other {
font-weight: bold;
}
.syntax--package {
color: @syntax-emphasized-color;
}
.syntax--variable.syntax--import {
font-weight: normal;
}
.syntax--type {
.syntax--bounds, .syntax--class {
color: @violet;
}
}
.syntax--documentation {
:not(.syntax--embedded) {
// out of scope ?
// https://github.syntax--com/atom/link
&.syntax--link.syntax--entity {
color: @blue;
text-decoration: underline;
}
.syntax--class, .syntax--parameter {
color: @syntax-emphasized-color;
}
.syntax--description {
color: @syntax-comment-color;
}
}
}
.syntax--embedded {
color: darken(@syntax-emphasized-color, 15%);
// so we dont confused it with normal expressions
font-style: italic;
.syntax--margin, .syntax--delimiters {
font-style: normal;
}
}
}

View File

@@ -0,0 +1,22 @@
.syntax--source.syntax--ts,
.syntax--source.syntax--tsx {
.syntax--import {
.syntax--control {
color: @orange;
}
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--inherited-class {
color: @yellow;
}
}
.syntax--support.syntax--type {
color: @yellow;
}
}