mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-09-09 05:40:51 +02:00
👍 ハートアイコンを追加
This commit is contained in:
19
scss/icons/heart.scss
Normal file
19
scss/icons/heart.scss
Normal 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 )
|
||||
);
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user