Skip to content

Commit

Permalink
feat: added google icon
Browse files Browse the repository at this point in the history
  • Loading branch information
guastallaigor authored and abdallahalsamman committed Dec 7, 2018
1 parent f6b0fb3 commit 64c29b9
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 2 deletions.
36 changes: 36 additions & 0 deletions css/nes.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion css/nes.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/nes.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ <h3 class="title">SNS</h3>
<i class="icon youtube"></i>
<i class="icon youtube is-medium"></i>
<i class="icon youtube is-large"></i>

<i class="icon google"></i>
<i class="icon google is-medium"></i>
<i class="icon google is-large"></i>
</div>
</section>

Expand Down
20 changes: 20 additions & 0 deletions scss/icons/google.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$icon-google-colors: (#4285f4, #fff, #db4437, #f4b400, #0f9d58);
// prettier-ignore
$icon-google: (
( 0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0 ),
( 2,2,2,2,2,3,3,3,3,3,3,2,2,2,2,2 ),
( 2,2,2,3,3,3,3,3,3,3,3,3,3,2,2,2 ),
( 2,2,3,3,3,3,3,3,3,3,3,3,2,2,2,2 ),
( 2,3,3,3,3,2,2,2,2,2,3,2,2,2,2,2 ),
( 4,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2 ),
( 4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2 ),
( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ),
( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ),
( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ),
( 4,4,5,2,2,2,2,2,2,2,2,2,1,1,1,2 ),
( 4,5,5,5,2,2,2,2,2,2,2,1,1,1,1,2 ),
( 2,5,5,5,5,2,2,2,2,2,5,1,1,1,2,2 ),
( 2,2,5,5,5,5,5,5,5,5,5,5,1,1,2,2 ),
( 2,2,2,5,5,5,5,5,5,5,5,5,5,2,2,2 ),
( 0,2,2,2,2,5,5,5,5,5,5,2,2,2,2,0 )
);
5 changes: 5 additions & 0 deletions scss/icons/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@import "facebook.scss";
@import "github.scss";
@import "youtube.scss";
@import "google.scss";

// others
@import "close.scss";
Expand Down Expand Up @@ -78,6 +79,10 @@
&.youtube::before {
@include pixelize($icon-youtube, $icon-youtube-colors, $px);
}

&.google::before {
@include pixelize($icon-google, $icon-google-colors, $px);
}
}

// default
Expand Down

0 comments on commit 64c29b9

Please sign in to comment.