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

Convert SVG images to PNG and use it in manifest and markdown files #56

Merged

Conversation

kushalpandya
Copy link
Contributor

@kushalpandya kushalpandya commented Oct 9, 2017

This PR does following;

  • Adds PNG variants for nord-visual-studio-code-icon-marketplace.svg (128x128px & original 257x257px for 2x)
  • Adds PNG variants for nord-visual-studio-code-banner.svg (888x200px & 1776x400px for 2x)
  • Updates marketplace icon to use PNG (128x128) in package.json
  • Updates SVG URLs of badges in package.json to use HTTPS
  • Updates README.md & CHANGELOG.md to use PNG image for banner (and also support high-DPI screens using srcset attribute)
  • Updates invalid HTTP URLs within README.md & CHANGELOG.md to point to HTTPS URLs.

Things to note:

Packing this extension for sideloading using vsce throws two errors;

  • First at README.md#L122 for using SVG image instead of PNG, which is outside this project and requires to be fixed.
  • Second at README.md#L124 for using HTTP URL for .ico path.

Closes #55

@arcticicestudio arcticicestudio self-requested a review October 10, 2017 03:07
@arcticicestudio arcticicestudio added hacktoberfest This repository participates in the Hacktoberfest type-task labels Oct 10, 2017
@arcticicestudio arcticicestudio added this to the 0.6.0 milestone Oct 10, 2017
The new VS Code publishing contraints won't allow SVG images from not
authorized sources/URLs. This commit makes use of the changes merged in
nordtheme/nord#50.

nordthemeGH-55
The favicon in the README copyright footer line is not allowed to be
loaded from a non-HTTPS URL due to the new VS Code publishing
contraints.

nordthemeGH-55
Copy link
Contributor

@arcticicestudio arcticicestudio left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution 👍

Nice change with the srcset on the <img> tags!

I've added a PNG formatted footer mountain banner in nordtheme/nord#50 and updated this PR to it. I've also removed the favicon.ico for now until my server gets HTTPS support via the Let’s Encrypt project.

@arcticicestudio arcticicestudio self-assigned this Oct 10, 2017
@arcticicestudio arcticicestudio merged commit bd01207 into nordtheme:develop Oct 10, 2017
@arcticicestudio arcticicestudio removed their assignment Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This repository participates in the Hacktoberfest type-task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to new 1.14 constraints for rendering SVG images
2 participants