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

Feature: added calculator icon #612

Closed
wants to merge 1 commit into from

Conversation

btn0s
Copy link

@btn0s btn0s commented Jun 5, 2019

Added calculator icon to close #462

@btn0s btn0s changed the title added calculator icon Feature: added calculator icon Jun 5, 2019
@codecov
Copy link

codecov bot commented Jun 5, 2019

Codecov Report

Merging #612 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #612   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines          34     34           
  Branches        3      3           
=====================================
  Hits           34     34

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a991dd...3daa547. Read the comment docs.

Copy link

@moeenio moeenio left a comment

Choose a reason for hiding this comment

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

since you're not using fill, I think you could remove fill rule.

Copy link

@moeenio moeenio left a comment

Choose a reason for hiding this comment

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

Your "grouping" of paths seems weird. Could try something more logical, like a compound path for the first row buttons, one for the second, etc ? Also, you should work on spacing, things are just too close to the border and that looks really bad. Guidelines (#171) says that things should have at least 2px of empty space.

@btn0s
Copy link
Author

btn0s commented Jun 5, 2019 via email

@ahtohbi4
Copy link
Contributor

ahtohbi4 commented Jul 1, 2019

Maybe it should be looks like this:

Снимок экрана 2019-07-01 в 12 13 46

Code:

<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="6" y="3" width="12" height="18" rx="2" />
  <path d="M9 18V18" />
  <path d="M9 15V15" />
  <path d="M9 12V12" />
  <path d="M12 18V18" />
  <path d="M12 15V15" />
  <path d="M12 12V12" />
  <path d="M15 18V18" />
  <path d="M15 15V15" />
  <path d="M15 12V12" />
</svg>

@jletey
Copy link

jletey commented Jul 1, 2019

@ahtohbi4 I really like the icon that you designed ... one note, maybe add a "screen" to the icon (above the numbers)?

@ahtohbi4
Copy link
Contributor

ahtohbi4 commented Jul 1, 2019

@johnletey let's try :)

Снимок экрана 2019-07-01 в 15 22 01

But I had to do this version of calculator wider.

@jletey
Copy link

jletey commented Jul 1, 2019

Although it is a wider icon @ahtohbi4 ... I love it with the screen!

@moeenio
Copy link

moeenio commented Jul 1, 2019

@johnletey let's try :)

Снимок экрана 2019-07-01 в 15 22 01

But I had to do this version of calculator wider.

I think it looks to detailed for small sizes. you could you try removing some buttons.

@ahtohbi4
Copy link
Contributor

ahtohbi4 commented Jul 1, 2019

Has been tried to reduce the details:

Снимок экрана 2019-07-01 в 23 23 15

@moeenio
Copy link

moeenio commented Jul 2, 2019

Why not ? I think it looks weird with the keys not being circles though. Maybe have only four keys, and make them circles ?

@ahtohbi4
Copy link
Contributor

ahtohbi4 commented Jul 2, 2019

Let's try 🙂

Снимок экрана 2019-07-02 в 11 03 50

@moeenio
Copy link

moeenio commented Jul 2, 2019

That's great now!

@ahtohbi4
Copy link
Contributor

ahtohbi4 commented Jul 2, 2019

@btn0s you can take the code if you wish:

<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="5" y="2" width="14" height="20" rx="2" />
  <rect x="9" y="6" width="6" height="4" />
  <path d="M10 14V14M14 14V14M10 18V18M14 18V18z" />
</svg>

@btn0s
Copy link
Author

btn0s commented Jul 2, 2019

I liked the non-circle buttons more imo, iOS is the only calc I know of with circle buttons -- most have rounded squares. That said if everyone else is happy with this I'll update the code.

@btn0s
Copy link
Author

btn0s commented Jul 2, 2019

Let's try 🙂

Снимок экрана 2019-07-02 в 11 03 50

@locness3 the more I look at this last iteration the more it looks like a 90's cellphone.

@moeenio
Copy link

moeenio commented Jul 3, 2019

@locness3 the more I look at this last iteration the more it looks like a 90's cellphone.

Oh

@btn0s
Copy link
Author

btn0s commented Jul 17, 2019

Has been tried to reduce the details:

Снимок экрана 2019-07-01 в 23 23 15

@ahtohbi4 Can I get the code for this one? This is the one I'd like to submit.

@moeenio
Copy link

moeenio commented Jul 17, 2019

@btn0s This one seems too cluttered. Maybe doing only four buttons and making the screen less to the edges.

@btn0s
Copy link
Author

btn0s commented Jul 17, 2019

As long as it keeps the width, we don't want it to look like a cellphone.

@moeenio
Copy link

moeenio commented Jul 17, 2019

The more simpler the more Fetaher-ish though. @colebemis ?

@mittalyashu
Copy link
Contributor

  1. This Feature: added calculator icon #612 (comment) does look like a calculator.
  2. This Feature: added calculator icon #612 (comment) looks like a game with a small screen and a bigger button.
    image
  3. This Feature: added calculator icon #612 (comment) looks like a Music player
    image

@btn0s btn0s closed this Jun 7, 2022
@puzzler-1
Copy link

Since I needed a calculator icon, I edited ahtohbi4's one to:

<rect x="3" y="1" width="18" height="22" rx="2" />
<rect x="7" y="5" width="10" height="2"  />
<path d="M8 20V19" />
<path d="M8 16V15" />
<path d="M8 12V11" />
<path d="M12 20V19" />
<path d="M12 16V15" />
<path d="M12 12V11" />
<path d="M16 20V19" />
<path d="M16 16V15" />
<path d="M16 12V11" />

calculator
It complies with feather's general style - not complex and nice spacing.

@moeenio
Copy link

moeenio commented Jan 21, 2024

You could also use @lucide-icons (community fork of Feather), we have a calculator icon.

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.

Icon Request: Calculator
6 participants