Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ const sampleCollection = [

<!-- whatsapp -->
<i class="nes-icon whatsapp is-large"></i>

<!-- opensea -->
<i class="nes-icon opensea is-large"></i>
</section>`,
},
{
Expand Down
5 changes: 5 additions & 0 deletions scss/icons/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "gmail.scss";
@import "linkedin.scss";
@import "instagram.scss";
@import "opensea.scss";

// others
@import "close.scss";
Expand Down Expand Up @@ -159,6 +160,10 @@
@include pixelize($default-size, $icon-instagram, $icon-instagram-colors);
}

&.opensea::before {
@include pixelize($default-size, $icon-opensea, $icon-opensea-colors);
}

&.coin::before {
@include pixelize($default-size, $icon-coin, $icon-coin-colors);
}
Expand Down
20 changes: 20 additions & 0 deletions scss/icons/opensea.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$icon-opensea-colors: (#fff, #2081e2);
// prettier-ignore
$icon-opensea: (
( 0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0),
( 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
( 2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2),
( 2,2,2,2,2,2,2,2,1,1,2,2,2,2,2,2),
( 2,2,2,2,2,2,1,1,1,1,1,2,2,2,2,2),
( 2,2,2,2,2,2,1,1,1,1,1,1,2,2,2,2),
( 2,2,2,2,1,2,2,2,1,1,1,1,2,2,2,2),
( 2,2,2,1,1,1,2,2,1,1,1,1,1,2,2,2),
( 2,2,1,1,1,1,2,2,1,1,1,1,1,2,2,2),
( 2,1,1,1,1,2,1,1,1,1,1,1,2,2,2,2),
( 2,2,2,2,2,2,1,1,1,1,2,2,2,2,2,2),
( 2,1,1,1,1,2,2,2,1,1,2,1,1,1,1,2),
( 2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2),
( 2,2,2,1,1,1,1,1,1,1,1,1,1,2,2,2),
( 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2),
( 0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0)
);
1 change: 1 addition & 0 deletions story/_helpers/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const Icons = {
gmail: 'gmail',
linkedin: 'linkedin',
instagram: 'instagram',
opensea: 'opensea',
close: 'close',
coin: 'coin',
trophy: 'trophy',
Expand Down