Skip to content

Commit

Permalink
fix: Colors for variable, function and constant should be different (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnester committed May 31, 2022
1 parent 7a4f9e2 commit 9e81bda
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 27 deletions.
4 changes: 1 addition & 3 deletions lib/ace/theme/chrome.css
Expand Up @@ -80,9 +80,7 @@
color: rgb(0, 0, 205);
}

.ace-chrome .ace_variable,
.ace-chrome .ace_variable:not(.ace_parameter),
.ace-chrome .ace_constant:not(.ace_numeric) {
.ace-chrome .ace_variable {
color: rgb(49, 132, 149);
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/merbivore.css
Expand Up @@ -63,9 +63,7 @@
.ace-merbivore .ace_constant.ace_character,
.ace-merbivore .ace_constant.ace_character.ace_escape,
.ace-merbivore .ace_constant.ace_other,
.ace-merbivore .ace_support.ace_type,
.ace-merbivore .ace_variable:not(.ace_parameter),
.ace-merbivore .ace_constant:not(.ace_numeric) {
.ace-merbivore .ace_support.ace_type {
color: #1EDAFB
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/merbivore_soft.css
Expand Up @@ -62,9 +62,7 @@
.ace-merbivore-soft .ace_constant.ace_character,
.ace-merbivore-soft .ace_constant.ace_character.ace_escape,
.ace-merbivore-soft .ace_constant.ace_other,
.ace-merbivore-soft .ace_support.ace_type,
.ace-merbivore-soft .ace_variable:not(.ace_parameter),
.ace-merbivore-soft .ace_constant:not(.ace_numeric) {
.ace-merbivore-soft .ace_support.ace_type {
color: #68C1D8
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/tomorrow.css
Expand Up @@ -92,9 +92,7 @@

.ace-tomorrow .ace_entity.ace_name.ace_function,
.ace-tomorrow .ace_support.ace_function,
.ace-tomorrow .ace_variable,
.ace-tomorrow .ace_variable:not(.ace_parameter),
.ace-tomorrow .ace_constant:not(.ace_numeric) {
.ace-tomorrow .ace_variable {
color: #4271AE
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/tomorrow_night.css
Expand Up @@ -92,9 +92,7 @@

.ace-tomorrow-night .ace_entity.ace_name.ace_function,
.ace-tomorrow-night .ace_support.ace_function,
.ace-tomorrow-night .ace_variable,
.ace-tomorrow-night .ace_variable:not(.ace_parameter),
.ace-tomorrow-night .ace_constant:not(.ace_numeric) {
.ace-tomorrow-night .ace_variable {
color: #81A2BE
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/tomorrow_night_blue.css
Expand Up @@ -89,9 +89,7 @@

.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-blue .ace_support.ace_function,
.ace-tomorrow-night-blue .ace_variable,
.ace-tomorrow-night-blue .ace_variable:not(.ace_parameter),
.ace-tomorrow-night-blue .ace_constant:not(.ace_numeric) {
.ace-tomorrow-night-blue .ace_variable {
color: #BBDAFF
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/tomorrow_night_bright.css
Expand Up @@ -104,9 +104,7 @@

.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-bright .ace_support.ace_function,
.ace-tomorrow-night-bright .ace_variable,
.ace-tomorrow-night-bright .ace_variable:not(.ace_parameter),
.ace-tomorrow-night-bright .ace_constant:not(.ace_numeric) {
.ace-tomorrow-night-bright .ace_variable {
color: #7AA6DA
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/tomorrow_night_eighties.css
Expand Up @@ -93,9 +93,7 @@

.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function,
.ace-tomorrow-night-eighties .ace_support.ace_function,
.ace-tomorrow-night-eighties .ace_variable,
.ace-tomorrow-night-eighties .ace_variable:not(.ace_parameter),
.ace-tomorrow-night-eighties .ace_constant:not(.ace_numeric) {
.ace-tomorrow-night-eighties .ace_variable {
color: #6699CC
}

Expand Down
4 changes: 1 addition & 3 deletions lib/ace/theme/xcode.css
Expand Up @@ -70,9 +70,7 @@

.ace-xcode .ace_entity.ace_other.ace_attribute-name,
.ace-xcode .ace_support.ace_constant,
.ace-xcode .ace_support.ace_function,
.ace-xcode .ace_variable:not(.ace_parameter),
.ace-xcode .ace_constant:not(.ace_numeric) {
.ace-xcode .ace_support.ace_function {
color: #450084
}

Expand Down

0 comments on commit 9e81bda

Please sign in to comment.