mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 09:41:47 +02:00
feat(icons): empty trophy + is-small modifier (#128)
This commit is contained in:
committed by
Abdullah Samman
parent
35469c4a26
commit
e7570989e3
@@ -55,6 +55,9 @@
|
||||
&.trophy::before {
|
||||
@include pixelize($icon-trophy, $icon-trophy-colors, $px);
|
||||
}
|
||||
&.trophy.is-empty::before {
|
||||
@include pixelize($icon-trophy-empty, $icon-trophy-empty-colors, $px);
|
||||
}
|
||||
|
||||
&.like::before {
|
||||
@include pixelize($icon-like, $icon-like-colors, $px);
|
||||
@@ -103,6 +106,10 @@
|
||||
// default
|
||||
@include setup(2px);
|
||||
|
||||
&.is-small {
|
||||
@include setup(1px);
|
||||
}
|
||||
|
||||
&.is-medium {
|
||||
@include setup(3px);
|
||||
}
|
||||
|
@@ -16,10 +16,26 @@ $icon-trophy: (
|
||||
(0,0,0,0,0,0,2,3,2,0,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,2,2,3,2,2,0,0,0,0,0,0),
|
||||
(0,0,0,0,2,3,3,3,3,4,2,0,0,0,0,0),
|
||||
(0,0,0,0,2,2,2,2,2,2,2,0,0,0,0,0),
|
||||
(0,0,0,0,2,2,2,2,2,2,2,0,0,0,0,0)
|
||||
);
|
||||
|
||||
// 2 black
|
||||
// 3 yellow
|
||||
// 1 white
|
||||
// 4 orange
|
||||
$icon-trophy-empty-colors: (#adafbb);
|
||||
// prettier-ignore
|
||||
$icon-trophy-empty: (
|
||||
(0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0),
|
||||
(0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0),
|
||||
(1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0),
|
||||
(1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0),
|
||||
(1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0),
|
||||
(0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0),
|
||||
(0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0),
|
||||
(0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0),
|
||||
(0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0),
|
||||
(0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0),
|
||||
(0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0),
|
||||
(0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0),
|
||||
(0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0),
|
||||
(0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0)
|
||||
);
|
||||
|
Reference in New Issue
Block a user