Nes.css: More icons

Created on 3 Dec 2018  路  17Comments  路  Source: nostalgic-css/NES.css

Is there any way we can get more social-media icons? Like Gmail, Youtube, and phone number? :heart:
Or how can i make it?

  • [X] Medium
  • [X] Twitch
  • [X] Google
  • [X] Youtube
  • [x] Phone
enhancement released

Most helpful comment

I would recommend rounding the corners of that gmail logo a bit. It would match the actual logo better and be more in line with the style of all the others you've created

All 17 comments

@JMGama They are made using the box-shadow property in CSS. Take a look at the source code for examples on how the current ones are made :)

Also not sure how @BcRikko feels about adding icons? I have just built a Medium icon and think it would be nice to have.

You can make icon as below 馃洜

// color list
$icon-like-colors: (#fff, #333, #2e77be);

// Numbers represent the position and color of pixel.
//    0: transparent
//    1: First color of $icon-like-colors (in this case, #fff)
//    2: Second color of $icon-like-colors (in this case, #333)
//    3: Third color of $icon-like-colors (in this case, #2e77be)
$icon-like: (
  (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
  (0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0),
  (0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0),
  (0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0),
  (0,0,0,0,0,0,2,1,1,2,0,0,0,0,0,0),
  (0,0,0,0,0,0,2,1,1,2,2,2,2,2,2,0),
  (0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,2)
....

Please refer to below.

I welcome adding icons 馃憤

but The icon increases the size of CSS file. 馃槶
so I might divide the icons into different project -> #59

What do you guys think of this? Not sure if it's ok.

image

This supposed to be a youtube icon.

馃挴 馃檰 馃帀

image

This linkedin one looks a lot uglier but not sure how to improve it.

Like this?

image

Like this 馃槅
2018-12-04 9 22 44

$icon-linkedin: (
  (0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,1,1,1,2,1,1,1,2,2,2),
  (2,2,1,1,1,2,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,1,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0),
);

Would it be better not to resemble the image just before? 馃
because this Image is not free... 馃槩

I did the scss but don't understand what i need to change or add in the css :disappointed:

  1. create icon matrix and color list( like this )
  2. import {youricon}.scss into icons.scss
  3. Define a css class ( like this )
  4. add example icon to index.html
  5. build css ( npm run build )

I think that it will be showing. 馃

Like this 馃槅
2018-12-04 9 22 44

$icon-linkedin: (
  (0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (2,2,1,1,1,2,1,1,1,2,1,1,1,2,2,2),
  (2,2,1,1,1,2,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,1,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,2,1,1,1,2,2,1,1,1,2,2),
  (2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
  (0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0),
);

Would it be better not to resemble the image just before? 馃
because this Image is charged... 馃槩

This looks better than mine, when you can add this icon ok 馃憤

This is the Gmail icon i made :smile:
image

$icon-gmail-colors: (#eeecec, #fd2b2b);
$icon-gmail: (
  ( 0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,0 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2 ),
  ( 2,2,2,2,2,1,1,1,1,1,1,2,2,2,2,2 ),
  ( 2,2,2,2,2,2,1,1,1,1,2,2,2,2,2,2 ),
  ( 2,2,2,1,2,2,2,1,1,2,2,2,1,2,2,2 ),
  ( 2,2,2,1,1,2,2,2,2,2,2,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,2,2,2,2,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,2,2,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2 ),
  ( 0,2,2,1,1,1,1,1,1,1,1,1,1,2,2,0 )
);

Good 馃憤

I fixed it a little bit. 馃洜
2018-12-04 10 27 14

$icon-gmail-colors: (#eeecec, #fd2b2b);
// prettier-ignore
$icon-gmail: (
  (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
  (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
  (2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
  (2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2),
  (2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2),
  (2,2,1,2,2,1,1,1,1,1,1,2,2,1,2,2),
  (2,2,1,1,2,2,1,1,1,1,2,2,1,1,2,2),
  (2,2,1,1,1,2,2,1,1,2,2,1,1,1,2,2),
  (2,2,1,1,1,1,2,2,2,2,1,1,1,1,2,2),
  (2,2,1,1,1,1,1,2,2,1,1,1,1,1,2,2),
  (2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
  (2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
  (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
  (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
);

I would recommend rounding the corners of that gmail logo a bit. It would match the actual logo better and be more in line with the style of all the others you've created

This issue is to vague, I would like to add a phone icon and close this issue, we'll always accept icons. We're working on NES.icons for that.

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kefniark picture kefniark  路  5Comments

evexoio picture evexoio  路  3Comments

StefanNieuwenhuis picture StefanNieuwenhuis  路  3Comments

IngwiePhoenix picture IngwiePhoenix  路  6Comments

BcRikko picture BcRikko  路  6Comments