Skip to content

Commit

Permalink
fix: move icon-coin to the icons folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sombreroEnPuntas committed Feb 9, 2019
1 parent 39bf7f2 commit eaf396e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/icons.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ stories.add('icon', () => {
'nes-icon gmail': 'nes-icon gmail',
'nes-icon linkedin': 'nes-icon linkedin',
'nes-icon close': 'nes-icon close',
'nes-icon coin': 'nes-icon coin',
'nes-pokeball': 'nes-pokeball',
'nes-bulbasaur': 'nes-bulbasaur',
'nes-charmander': 'nes-charmander',
Expand All @@ -32,7 +33,6 @@ stories.add('icon', () => {
'nes-jp-logo': 'nes-jp-logo',
'snes-logo': 'snes-logo',
'snes-jp-logo': 'snes-jp-logo',
'nes-coin': 'nes-coin',
}, 'nes-icon twitter');
const selectedSize = radios('size', {
default: '',
Expand Down
18 changes: 18 additions & 0 deletions scss/icons/coin.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$icon-coin-colors: (#060606,#ffd700, #daa520);
// prettier-ignore
$icon-coin: (
(0,0,0,0,0,1,1,1,1,0,0,0,0,0),
(0,0,0,1,1,2,2,2,2,1,1,0,0,0),
(0,0,1,2,2,1,1,1,1,2,2,1,0,0),
(0,1,2,1,1,3,3,3,3,1,2,1,1,0),
(0,1,2,1,3,3,3,3,3,3,1,2,1,0),
(1,2,1,3,3,3,3,3,3,3,3,1,2,1),
(1,2,1,3,3,3,3,3,3,3,3,1,2,1),
(1,2,1,3,3,3,3,3,3,3,3,1,2,1),
(1,2,1,3,3,3,3,3,3,3,3,1,2,1),
(0,1,2,1,3,3,3,3,3,3,1,2,1,0),
(0,1,2,1,1,3,3,3,3,1,2,2,1,0),
(0,0,1,2,2,1,1,1,1,2,2,1,0,0),
(0,0,0,1,1,2,2,2,2,1,1,0,0,0),
(0,0,0,0,0,1,1,1,1,0,0,0,0,0),
);
5 changes: 5 additions & 0 deletions scss/icons/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// others
@import "close.scss";
@import "trophy.scss";
@import "coin.scss";

.nes-icon {
$default-size: 1px;
Expand Down Expand Up @@ -146,4 +147,8 @@
&.linkedin::before {
@include pixelize($default-size, $icon-linkedin, $icon-linkedin-colors);
}

&.coin::before {
@include pixelize($default-size, $icon-coin, $icon-coin-colors);
}
}
1 change: 0 additions & 1 deletion scss/pixel-arts/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
@import "mario.scss";
@import "kirby.scss";
@import "octocat.scss";
@import "coin.scss";
36 changes: 0 additions & 36 deletions scss/pixel-arts/coin.scss

This file was deleted.

0 comments on commit eaf396e

Please sign in to comment.