atom / one-dark-syntax

Atom One dark syntax theme
MIT License
448 stars 236 forks source link

Replace red #54

Closed simurai closed 6 years ago

simurai commented 8 years ago

Problem: One Dark is originally based on base16-tomorrow which uses red for highlighting (e.g. variables). In base16-tomorrow it's somewhat muted, but in One dark the red is stronger and could make it look like it's some kind of "error".

Ref: https://github.com/atom/language-javascript/issues/263, https://github.com/atom/language-javascript/issues/258

Solution: Replace red with something else.

winstliu commented 8 years ago

Also atom/atom#9562.

MaximSokolov commented 8 years ago

How about highlighting red only variable.language?

ugajin-nijagu commented 8 years ago

I have .variable.other.property.js, .variable.other.object.js, and .entity.name.function.js set to @syntax-text-color. This emulates One Dark with v.0.98.0. In addition I have lightened .punctuation.definition.comment and .comment.line.double-slash so they are easier to read using #888.

simurai commented 8 years ago

How about highlighting red only variable.language?

Do you mean

.variable {
- color: red;
+  &.language {
+    color: red;
+  }
}

Hmmm.. I think .variable { color: someColor; } would still be good to keep. Or at least .variable.other { color: someColor; }

RiCoTeRoX commented 8 years ago

Hi guys.

I changed these classes to have the old styles, maybe it help you

atom-text-editor::shadow span.meta.method-call.js > span.variable.other.object.js { color: #abb2bf; } atom-text-editor::shadow span.meta.method-call.js > span.entity.name.function.js { color: #abb2bf; }

atom-text-editor::shadow span.meta.method-call.js > span.variable.other.property.js { color: #abb2bf; }

atom-text-editor::shadow span.source.js > span.variable.other.property.js { color: #abb2bf; }

ryanolsonx commented 6 years ago

Is this still in the works? Any thoughts on what the red might be replaced with?

simurai commented 6 years ago

Considering the age of this issue, we probably should close it as wontfix. People are very sensitive about "changing what they got used to". It would kinda feel as a different theme/port.