1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-09 05:40:51 +02:00

👍 ハートアイコンを追加

This commit is contained in:
BcRikko
2018-09-29 11:03:10 +09:00
parent a1d65f54c3
commit 84ce705ffc
6 changed files with 43 additions and 3 deletions

19
scss/icons/heart.scss Normal file
View File

@@ -0,0 +1,19 @@
// prettier-ignore
$heart: (
( 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ),
( 0,0,1,1,1,0,0,0,0,0,1,1,1,0,0,0 ),
( 0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0 ),
( 1,1,0,0,1,1,1,0,1,1,1,1,1,1,1,0 ),
( 1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0 ),
( 1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0 ),
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0 ),
( 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0 ),
( 0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0 ),
( 0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0 ),
( 0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0 ),
( 0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0 ),
( 0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0 ),
( 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 )
);

View File

@@ -1,6 +1,7 @@
@import "pixelize.scss";
@import "twitter.scss";
@import "facebook.scss";
@import "heart.scss";
@mixin setup($pixel) {
$size: $pixel * 16;
@@ -22,6 +23,10 @@
&.-facebook::before {
@include pixelize($facebook, $pixel, #4566ae);
}
&.-heart::before {
@include pixelize($heart, $pixel, #f11416);
}
}
.icon {