Closed simurai closed 8 years ago
Works.
This looks very cool. Thanks to both of you. I'll implement this and test it. That would be a great step forward.
Closed because not cross-platform compatible.
Can you explain that?
@kevinSuttle I can’t imagine that the colors appear exactly the same on every OS. What do you think?
They don't appear the same, no.
You could scope it to only macOS with the .platform-darwin
class.
.selected {
background-color: @background-color-selected; // fallback
}
.platform-darwin .selected {
color: HighlightText;
background-color: Highlight;
}
but not sure.. maybe that's too much work to maintain for many 3rd party packages.
@simurai Yes, I agree with that. Thanks for your feedback. I think it could turn out as a problem to maintain in the long run. These are just some of the limitations that we’ll have to accept since Atom itself is not a native Mac app and therefore can’t fully behave like one. The tab dragging behavior was a similar request that couldn’t be fulfilled without extensive Javascript fiddling.
So @kevinSuttle dug up this old (2009!) post about using the system colors in CSS. And the cool part is that it adapts to the changes in the settings:
Might be neat to use them in this theme?