Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Punctuation color isn't consistent between themes #7

Open
kotakerdus opened this issue Apr 5, 2018 · 11 comments
Open

Punctuation color isn't consistent between themes #7

kotakerdus opened this issue Apr 5, 2018 · 11 comments

Comments

@kotakerdus
Copy link

Hi, I'm wondering if this is intended?
Punctuation like curly braces in light theme are in black color different with the text one, while in dark theme both are in the same color

image

@braver
Copy link
Owner

braver commented Apr 5, 2018

That’s probably not by design. 🧐

@DavidRGriswold
Copy link
Collaborator

This is the same issue as #9 and will be fixed shortly.

@yingbo
Copy link

yingbo commented Mar 31, 2019

Why the issue was closed without a fix? It should be closed right after "will be fixed shortly".

@DavidRGriswold
Copy link
Collaborator

The issue has been fixed. Though in the process I introduced another bug, naturally, which I will be reporting and working on fixing shortly.

@DavidRGriswold DavidRGriswold reopened this Apr 1, 2019
@DavidRGriswold
Copy link
Collaborator

Okay, I am reopening this issue. Though part of the problem was indeed fixed with the bug in #9, part of it was not. Specifically, it seems like the two themes do, by design, have some color differences around comments and punctuation.

Light theme (this is the original version, not the themed workbench version)
image

Dark Theme (original version)
image

Notice that the punctuation and comments almost switch places in terms of lightness/darkness. I am NOT super-familiar with the theory behind the solarized color scheme (I just like the general palette enough to help with this project) so I can't really speak to this; @braver is this intentional? Does it match the sublime project?

@DavidRGriswold
Copy link
Collaborator

However, if the original issue was simply that the text and punctuation were different colors FROM EACH OTHER, then that should be fixed in the next bugfix.

@DavidRGriswold
Copy link
Collaborator

Hmm, more differences. In javascript file, in the light version punctuation and variables are the same color
image

While in the dark version, punctuation and COMMENTS are the same color
image

Again, not sure if this is by design?

@braver
Copy link
Owner

braver commented Apr 1, 2019

No, that’s not by design. It was probably caused by me working on the light theme and then not completely updating the dark theme, or the other way around. The color schemes for Sublime are a good reference. Since Sublime allows the usage of variables I was able to find and resolve the inconsistencies there. The current version should be a good guide for how it should be: https://github.com/braver/Solarized, see also this commit: braver/Solarized@dbc409c

@DavidRGriswold
Copy link
Collaborator

Hmm. I am looking at your sublime theme and figuring out the best way to make everything consistent to the VS Code theme. I think I'm going to implement my own non-high-tech way of keeping track of variables, so that if you add some tokens to the sublime version I can easily insert them in the VS Code one.

I did find one seeming inconsistency in your sublime theme - in the light theme highlight and invisibles are the same color (base1) but in the dark one they are different colors (base01 for invisibles, base1 for highlight). My guess is that the highlight in light themes should be base01 instead.

@DavidRGriswold
Copy link
Collaborator

Okay, i got a little obsessed. I just pushed a whole new branch called "testing-sublime-version" that pulled your full sublime tokens into both of the existing themes, and also created a new workbench theme that is much more solarized-pure and allows for true mirroring of the light/dark as solarized theoretically intends, even in the workbench. It is CERTAINLY not ready for release, as it has not been tested thoroughly, so I'm not sure what the best next steps are here.

@braver
Copy link
Owner

braver commented Apr 2, 2019

Sweet! Good catch for that inconsistency too. I should throw them in a compare again and check. I’m also really intrigued by your PR, so I guess I need to fire up VS Code again and check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants