mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
👍 スターアイコンを追加
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
@import "twitter.scss";
|
||||
@import "facebook.scss";
|
||||
@import "heart.scss";
|
||||
@import "star.scss";
|
||||
|
||||
@mixin setup($pixel) {
|
||||
$size: $pixel * 16;
|
||||
@@ -27,6 +28,10 @@
|
||||
&.-heart::before {
|
||||
@include pixelize($heart, $pixel, #f11416);
|
||||
}
|
||||
|
||||
&.-star::before {
|
||||
@include pixelize($star, $pixel, #f7de4e);
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
19
scss/icons/star.scss
Normal file
19
scss/icons/star.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
// prettier-ignore
|
||||
$star: (
|
||||
(0,0,0,0,0,0,0,1,0,0,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,1,1,1,0,0,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,1,0,0,1,1,0,0,0,0,0,0),
|
||||
(1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0),
|
||||
(1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0),
|
||||
(0,1,1,1,0,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,1,1,1,1,1,1,1,1,1,1,1,0,0,0),
|
||||
(0,0,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,1,1,0,0),
|
||||
(0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0),
|
||||
(1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0),
|
||||
(1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0)
|
||||
);
|
Reference in New Issue
Block a user