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

Change zeit to vercel, add vercel config files #818

Merged
merged 3 commits into from
Jun 3, 2020
Merged

Change zeit to vercel, add vercel config files #818

merged 3 commits into from
Jun 3, 2020

Conversation

bibixx
Copy link
Contributor

@bibixx bibixx commented Jun 3, 2020

Motivation

Recently Zeit has been renamed to Vercel (https://vercel.com/blog/zeit-is-now-vercel). Because of that they have introduced new filenames – vercel.json (previously now.json) and .vercelignore (previously .nowignore).

This PR introduces

  • Renaming Zeit to Vercel
  • Adding new file types to use the same icon as were used for files for now

@@ -924,7 +924,7 @@
.yorick-icon:before { .fi; content: "\1f480";top: 2px; }
.yui-icon:before { .fi; content: "\ea00"; top: 2px; }
.zbrush-icon:before { .fi; content: "\e9f2"; top: 2px; font-size: 16px; }
.zeit-icon:before { .fi; content: "\25B2"; top: 2px; }
.vercel-icon:before { .fi; content: "\25B2"; top: 2px; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users who've modified the .zeit-icon class in their stylesheets will lose any customisations, so it's better to leave this unchanged.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for quick response! Totally makes sense, fixed it 🙂

config.cson Outdated
Zeit:
icon: "zeit"
Vercel:
icon: "vercel"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep an alias for the old name:

 	Vercel:
 		icon: "zeit"
+ 		alias: "Zeit"

In addition, see my comment below (on styles/icons.less).

config.cson Outdated
@@ -6780,11 +6780,13 @@ fileIcons:
[".ztl", "auto-red", alias: "ZBrush tool"]
]

Zeit:
icon: "zeit"
Vercel:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We keep this list sorted alphabetically, so the Vercel entry needs to come before Verilog.

config.cson Outdated
Comment on lines 6788 to 6789
[/^vercel\.json$/i, "auto-grey", priority: 2, uses: "JSON"]
[".vercelignore", "auto-maroon", uses: "Ignore List"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to merge these into the existing entries:

match: [
	[/^(vercel|now)\.json$/i, "auto-grey", priority: 2, uses: "JSON"]
	[/^\.(vercel|now)ignore$/i, "auto-maroon", uses: "Ignore List"]
]

@bibixx bibixx requested a review from Alhadis June 3, 2020 22:25
@Alhadis Alhadis merged commit e72d8d7 into file-icons:master Jun 3, 2020
@Alhadis
Copy link
Member

Alhadis commented Jun 3, 2020

Perfect! Thank you! 👍

@bibixx bibixx deleted the change-zeit-to-vercel branch June 3, 2020 22:27
@bibixx
Copy link
Contributor Author

bibixx commented Jul 22, 2020

Hey @Alhadis is there any possibility that this change will be pushed to the VSCode package in the near future?

@Alhadis
Copy link
Member

Alhadis commented Jul 22, 2020

Hey @bibixx, sorry. I haven't had time to publish any release recently, which I hope to rectify tonight (seeing as my ability to get online is somewhat… sporadic lately).

Don't worry, I always publish an update to both Atom and VSCode's package registries at the same time (so they don't fall out of sync).

@Alhadis
Copy link
Member

Alhadis commented Jul 22, 2020

Also, posting this purely because I have nowhere else to share it:

figure-1

You know GitHub's running out of recs when it starts recommending your own projects…

@Alhadis
Copy link
Member

Alhadis commented Jul 25, 2020

Sorry for the wait, I had to finish the obligatory pre-release icon scrounging ritual. 😉

You should see v1.0.25 in VSCode's extension updates panel. 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants