one-dark-syntax icon indicating copy to clipboard operation
one-dark-syntax copied to clipboard

Replace red

Open simurai opened this issue 11 years ago • 7 comments

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.

simurai avatar Nov 24 '15 02:11 simurai

Also atom/atom#9562.

winstliu avatar Nov 24 '15 03:11 winstliu

How about highlighting red only variable.language?

MaximSokolov avatar Nov 24 '15 11:11 MaximSokolov

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.

ugajin-nijagu avatar Nov 24 '15 13:11 ugajin-nijagu

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; }

simurai avatar Nov 25 '15 01:11 simurai

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; }

RiCoTeRoX avatar Jan 16 '16 18:01 RiCoTeRoX

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

ryanolsonx avatar May 29 '18 14:05 ryanolsonx

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.

simurai avatar May 30 '18 03:05 simurai