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

Add Showwcase icon #8593

Merged
merged 35 commits into from Dec 14, 2023
Merged

Add Showwcase icon #8593

merged 35 commits into from Dec 14, 2023

Conversation

dushmanta05
Copy link
Contributor

@dushmanta05 dushmanta05 commented May 1, 2023

Issue: closes #6950

Similarweb rank: 278,711

Checklist

  • I updated the JSON data in _data/simple-icons.json
  • I optimized the icon with SVGO or SVGOMG
  • The SVG viewbox is 0 0 24 24

Description

@github-actions github-actions bot added the new icon Issues or pull requests for adding a new icon label May 1, 2023
@dushmanta05
Copy link
Contributor Author

Can anyone help me with the errors?

@dushmanta05
Copy link
Contributor Author

There were some error in .svg file, I've updated it.

@jwr1
Copy link
Contributor

jwr1 commented May 3, 2023

Hello @dushmanta05, the linter says the svg is not exactly 24px in one dimension (right now, it's 23.998 x 24.002). You should resize it in your editor to have a height (or whatever axis is larger) of exactly 24 while maintaining the aspect ratio (width should be around 23.996). Also, make sure you run it through SVGO so it's optimized and the linter won't complain about extraneous paths.

@dushmanta05
Copy link
Contributor Author

dushmanta05 commented May 3, 2023

@jwr12135 Hi, thank you again for helping me out. The svg code shows I've got 24 pixels (0 0 24 24) in the code editor, even in the GitHub file. I will use another editor and see if it works. And yes I had ran it through SVGO and kept the number precision to 3 as mentioned. Thanks.

@jwr1
Copy link
Contributor

jwr1 commented May 3, 2023

The viewbox is indeed set correctly, but the height of the <path> element on the inside is 24.002 and needs to be resized using an SVG editor.

Dushmanta added 2 commits May 3, 2023 20:24
Change order of attributes from "role, viewBox, height, xmlns" to "height, role, viewBox, xmlns".
@dushmanta05
Copy link
Contributor Author

Hello @jwr12135, I added the height to 24 pixels but got an error again. I added height as an attribute, and the error says height is an extra attribute. Can you please look into it? Thanks.

Change height pixel to percentage
@jwr1
Copy link
Contributor

jwr1 commented May 4, 2023

All simple icons SVG's use the following format:

<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>NAME HERE</title><path d="PATH DATA HERE"/></svg>

So no extra height attributes are needed.

Without getting into too much detail, the path data of an SVG is a list of all the points that make up the shape. The height I'm referring to is the distance between the highest point and the lowest point. To ensure this height (or distance) is exactly 24px, we can use an SVG editor to resize and move all the points on the path. In the following video, I show the steps needed to resize and center the SVG using Inkscape, but of course, any SVG editor should work.

inkscape.mp4

Dushmanta added 6 commits May 5, 2023 15:20
Update SVG height to 24
Add 'role' and 'title', remove styles, change order of attribution
remove extraneous newline
Copy link
Contributor

@jwr1 jwr1 left a comment

Choose a reason for hiding this comment

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

It looks like you're pretty much good 🎉. You just need to remove the extraneous newline at the end, which should allow tests to pass.

@dushmanta05
Copy link
Contributor Author

It looks like you're pretty much good 🎉. You just need to remove the extraneous newline at the end, which should allow tests to pass.

Thank you for your help, that video saved the day, I'm just trying to remove the extraneous line through SVGO's tool now. Thank you again :)

@dushmanta05
Copy link
Contributor Author

@jwr12135 I've tried few times with the online SVGO tool, but it's always showing "extraneous Unexpected newline character(s) detected", got to try few more times.

@jwr1
Copy link
Contributor

jwr1 commented May 5, 2023

Glad the video helped ❤️. Your best bet for removing the new line would be to remove it through a text editor manually. The built-in GitHub text editor might also let you do that.

@dushmanta05
Copy link
Contributor Author

@jwr12135 Well, I've used SVGO tool and looking at this code, I don't think there are any newline characters but it's still failing!
Screenshot

Dushmanta and others added 2 commits November 24, 2023 07:59
Co-authored-by: Adam Rusted <hello@adamrusted.me>
@dushmanta05
Copy link
Contributor Author

@PeterShaggyNoble I've updated it. Also, thank you, @adamrusted, for the suggestion :)

Copy link
Member

@adamrusted adamrusted 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 taking another look at this @dushmanta05!
It looks like the icon is still stretched to fill the 24*24 viewport, as opposed to only being 24px in it's widest dimension. According to Affinity Designer, it should be 24*21.6 - but centered on the 24*24 canvas.

@adamrusted adamrusted removed awaiting reply Issues or pull requests awaiting reply from an individual before it may be addressed changes requested labels Nov 24, 2023
@dushmanta05
Copy link
Contributor Author

Thanks for the review, and I'm working on the logo stretched part, @adamrusted. I'll update you with further changes.

@PeterShaggyNoble
Copy link
Member

Here's my attempt at it, @dushmanta05, if it's any help. Oh, how I wanted to take liberties with this one and clean up all the imperfections!

M8.554 2.938c.56-.103 1.126-.177 1.695-.22.128-.01.218-.031.273-.121.094-.153.26-.211.492-.228.624-.047 1.243-.05 1.869-.007.301.02.503.097.618.295.046.078.124.107.242.116.245.017.49.043.733.076.316.042.629.096.957.15a2.057 2.057 0 0 0-.244-.512c-.379-.605-.986-1.018-1.89-1.185-.679-.126-1.366-.114-2.054-.075-.43.025-.842.11-1.226.259-.8.307-1.193.831-1.466 1.452Zm-8.079.553c.272.103.527.245.757.423.503.385.849.843 1.17 1.313.356.522.637 1.067.901 1.62.053-.033.057-.07.068-.108.135-.437.293-.869.496-1.292.36-.75.841-1.444 1.718-1.953.088-.051.08-.087.015-.147a5.395 5.395 0 0 0-.927-.706 1.786 1.786 0 0 0-.955-.24c-.793.013-1.515.2-2.199.475-.394.158-.76.343-1.044.615Zm7.245-.165c-1.072.24-1.899.706-2.473 1.406-.458.557-.708 1.173-.936 1.793a15.233 15.233 0 0 0-.55 1.969 52.617 52.617 0 0 0-.589 3.215c-.122.783-.235 1.568-.34 2.354-.15 1.115-.285 2.23-.295 3.352-.01.985.021 1.966.44 2.916.274.623.746 1.135 1.54 1.477.823.353 1.724.544 2.647.688 1.366.213 2.755.283 4.148.3 1.498.016 2.994-.01 4.48-.167 1.09-.115 2.157-.29 3.168-.62.92-.3 1.59-.768 1.955-1.463.362-.69.486-1.408.528-2.136.095-1.644-.124-3.277-.354-4.91a83.408 83.408 0 0 0-.573-3.588c-.135-.73-.28-1.459-.468-2.182-.22-.84-.48-1.672-.931-2.466-.55-.967-1.473-1.65-2.876-1.944-3.4-.71-7.039-.326-8.521.006Zm14.169 9.746c0 .095.005.19.038.283l.111.766c-.016.048-.008.094.024.156.026-.064.083-.1.065-.155l.336-1.198c.023-.045.045-.089.033-.137.065-.11.08-.228.12-.342.244-.69.41-1.392.566-2.095.173-.773.321-1.55.512-2.32.236-.948.341-1.901.296-2.862-.017-.356-.04-.714-.172-1.083-.11.062-.206.108-.29.165-.386.26-.66.582-.906.915-.699.95-1.153 1.967-1.577 2.993-.021.052-.009.102.003.154.22.93.38 1.867.53 2.804.105.652.207 1.304.31 1.956zM.067 4.334c-.07.204-.066.412-.067.62-.002.941.139 1.874.308 2.807.147.81.352 1.613.551 2.417.191.78.391 1.558.6 2.335.2.739.272 1.487.348 2.236.005.054-.007.113.045.168.01-.016.023-.027.025-.039.136-1.097.292-2.191.469-3.282.172-1.064.337-2.129.58-3.186.032-.138.07-.272 0-.417-.141-.284-.247-.576-.382-.861-.357-.754-.737-1.502-1.306-2.189-.23-.278-.47-.555-.84-.754-.083-.052-.174-.145-.274-.112-.084.027-.053.141-.07.217-.002.013.008.027.013.04zm22.248-1.497a7.182 7.182 0 0 0-2.429-.4 1.25 1.25 0 0 0-.673.197c-.343.22-.58.494-.784.787-.042.06.003.084.056.116.233.139.45.303.646.49.676.643 1.022 1.392 1.307 2.16.087.234.164.47.256.734.28-.574.55-1.12.903-1.64.43-.632.893-1.249 1.699-1.682.063-.033.13-.056.195-.085.084-.022.033-.044 0-.066-.016-.048-.06-.082-.111-.112a.425.425 0 0 0-.19-.131 2.437 2.437 0 0 0-.596-.28c-.09-.035-.171-.083-.28-.088z

@dushmanta05
Copy link
Contributor Author

@PeterShaggyNoble Thanks for the suggestion, I will check this and let you know :)

icons/showwcase.svg Outdated Show resolved Hide resolved
_data/simple-icons.json Outdated Show resolved Hide resolved
@adamrusted adamrusted merged commit c3e92ac into simple-icons:develop Dec 14, 2023
3 checks passed
mondeja added a commit that referenced this pull request Dec 17, 2023
# New Icons

- Airtel (#9709)
- Biome (#10110)
- Charles (#9906)
- Clever Cloud (#10083)
- Code::Blocks (#7335)
- ComicFury (#10013)
- daily.dev (#10058)
- date-fns (#10093)
- DBeaver (#8218)
- Embark (#10124)
- ERPNext (#9245)
- Frappe (#9245)
- GitHub Copilot (#9500)
- Goldman Sachs (#9910)
- Google Bigtable (#9439)
- Greasy Fork (#10095)
- Helium (#10049)
- KX (#10051)
- LibreOffice Calc (#9923)
- LinuxServer (#9616)
- Logitech G (#10063)
- Metacritic (#10078)
- NetEase Cloud Music (#10062)
- OSF (#7700)
- pipx (#10072)
- Proteus (#8793)
- Qase (#9907)
- Red Bull (#6016)
- Runrun.it (#10103)
- Semantic UI (#10029)
- Showwcase (#8593)
- SimpleLogin (#10041)
- SRG SSR (#10037)
- T&#233;l&#233;-Qu&#233;bec (#10076)
- THE FINALS (#10125)
- The Odin Project (#9161)
- Thunderstore (#10025)
- Tindie (#9996)
- TrillerTV (#10097, #10112)
- Uniqlo (#10102)
- Uniqlo (#9754)
- Virgin Atlantic (#10064)
- Wondershare (#10117)

# Updated Icons

- Android (#10085)
- Bugatti (#10099)
- Channel 4 (#10100)
- Citro&#235;n (#10101)
- Citroën (#10101)
- Counter-Strike (#10106)
- Cypress (#10070)
- Dolby (#10107)
- Facebook (#10069)
- Glassdoor (#10071)
- IVECO (#10068)
- Kinopoisk (#10084)
- LibreOffice Base (#10059)
- NBC (#10067)
- Riot Games (#10105)
- Slides (#10089)
@dushmanta05
Copy link
Contributor Author

@PeterShaggyNoble Thank you so much for your effort and time, glad that you fixed the icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new icon Issues or pull requests for adding a new icon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: Showwcase
4 participants