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

(js) Style Node global like window #50

Open
albertorestifo opened this issue Jun 21, 2015 · 3 comments
Open

(js) Style Node global like window #50

albertorestifo opened this issue Jun 21, 2015 · 3 comments

Comments

@albertorestifo
Copy link

I thing it would be better if the NodeJs global was styled the same as window in JavaScriot

Currently:
image

@sandstrom
Copy link

If you look at them in the developer console, do they receive the same CSS classes? If not, that's probably why and this should be filed with a javascript and/or node language package instead.

@albertorestifo
Copy link
Author

Ok, I checked:

window in given the classes support class js and global the classes support variable js.

Upon further investigation, the default Syntax theme "One Dark" do style them in a different way, but they are both styled:

image

IMO global should be also styled differently in Monokai.

@albertorestifo
Copy link
Author

One Dark:
image

Monokai:
image

What do you think? Is it a language error?

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

2 participants