-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 battery-full icon #172
Conversation
This would be a great inclusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#171 Guidelines says "no fills" |
Looks like I completely missed that in the guidelines. I'll re-build it. |
@herohamp curious why this is approved? the icon still contains a fill which is against the guidelines (#171) pointed out by @locness3. |
@herohamp @ashygee I have changed the svg |
Codecov Report
@@ Coverage Diff @@
## master #172 +/- ##
=======================================
Coverage ? 100%
=======================================
Files ? 5
Lines ? 34
Branches ? 3
=======================================
Hits ? 34
Misses ? 0
Partials ? 0 Continue to review full report at Codecov.
|
cc @colebemis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are still fills actually. The rectangles are filled.
@locness3 Sorry, I can't see the fill. Only that the fill is set to Could you please point it out? |
@M-arcus Strange, the Github rich diff displays a fill |
@locness3 Probably because the line are thick. Should i make them thinner? |
Guidelines say (#171) that icons should have a 2px stroke. Check out the guidelines about spacing. |
I know this is old, but I wanted to weigh in. I feel like the version by @mittalyashu doesn't quite match the guidelines for 2px wide stroke width's with the bars. I feel like the best solution to this would be to implement a similar shape but using lines instead. Here are my versions that stick with the original battery's style (using rect and line):
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="1" y="6" width="18" height="12" rx="2" ry="2" />
<line x1="23" y1="13" x2="23" y2="11" />
<line x1="5" y1="14" x2="5" y2="10" />
<line x1="10" y1="14" x2="10" y2="10" />
<line x1="15" y1="14" x2="15" y2="10" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="1" y="6" width="18" height="12" rx="2" ry="2" />
<line x1="23" y1="13" x2="23" y2="11" />
<line x1="5" y1="14" x2="5" y2="10" />
<line x1="10" y1="14" x2="10" y2="10" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="1" y="6" width="18" height="12" rx="2" ry="2" />
<line x1="23" y1="13" x2="23" y2="11" />
<line x1="5" y1="14" x2="5" y2="10" />
</svg> And here are the files: I could submit a separate pull request, what do you think @colebemis? I know you've been busy so I tried to make these match the current style (code and guidelines) as much as possible to make it easy for you haha. |
Completed via lucide-icons/lucide#23 |
No description provided.