mirror of
https://github.com/awatson1978/meteor-api.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #4] How to change Meteor specific syntax color? #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/meteor-api#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tsega on GitHub (Dec 2, 2014).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/4
When using the
javascript (meteor)grammar for.jsfiles in a Meteor project, some Meteor specific keywords are always in golden yellow even with different Syntax coloring select. How can one change this to resemble the Syntax coloring of choice?Note: I've checked the hex value for each screenshot below, it's '#ffb120'.
Atom Dark
Atom Light
Dracula
Solarize Dark
Yeti
@steph643 commented on GitHub (Dec 2, 2014):
I'm also interested.
@awatson1978 commented on GitHub (Dec 2, 2014):
Hi there!
You can start by going to Atom > Open Your Stylesheets and hacking at your stylesheets. Here are the currently supported CSS classes.
After that, you'll need to start hacking on the package itself. Try doing the following:
and tweaking the contents of the /stylesheets directory and the /grammars directory. I think you maybe want the
stylesheets/meteor-color-coding.lessfile?Once you hack the chance, press SHIFT+COMMAND+P, then find Window:Reload.
@tsega commented on GitHub (Dec 4, 2014):
Thanks for the instructions! I have been able to change the color even using less variables by including atom default less files such as
ui.variables.less. However, I wanted to have the coloring change with thesyntaxtheme not theuitheme and after seeing how somesyntaxthemes are organized it is difficult to expect all themes to have a standard approach in naming the less variables/colors/files. So I'm not able to do something like this:So this way whenever the
syntaxtheme changes the coloring also changes.Anyways, after discovering a theme that suites me very well, the hard-coded color scheme works for me very well.
Thanks again for the help!