Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add present gift for dark background #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions src/Icon/Icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Icon.names = {
PLAY_BUTTON: "play",
PORTAL_OPEN: "portal-open",
PRESENT_GIFT: "present-gift",
PRESENT_GIFT_DARK: "present-gift-dark",
PRESENTATION: "presentation",
PRINTER: "printer",
QR: "qr",
Expand Down
28 changes: 28 additions & 0 deletions src/Icon/icons/PresentGiftDark.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";

export default function PresentGiftForDark(props) {
return (
<svg
width="46px"
height="46px"
viewBox="0 0 46 46"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
{...props}
>
<g transform="translate(1 1)" stroke="#FFF" strokeWidth="2" fill="none"
fillRule="evenodd"
>
<path d="M40 16v26.009c0 1.1-.89 1.991-2 1.991H6a2 2 0 0 1-2-1.991V16"
fill="#2E51AC" fillRule="nonzero"
/>
<rect fill="#355DC5" fillRule="nonzero" y="8" width="44" height="8" rx="2" />
<path fill="#284694" fillRule="nonzero" d="M26 8v36h-8V8" />
<path
d="M10 4a4 4 0 0 1 4-4c5.917 0 8 8 8 8h-8a4 4 0 0 1-4-4zM34 4a4 4 0 0 0-4-4c-5.917 0-8 8-8 8h8a4 4 0 0 0 4-4z"
/>
</g>
</svg>
);
}
2 changes: 2 additions & 0 deletions src/Icon/icons/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import Pickax from "./Pickax";
import Play from "./Play";
import PortalOpen from "./PortalOpen";
import PresentGift from "./PresentGift";
import PresentGiftDark from "./PresentGiftDark";
import Presentation from "./Presentation";
import Printer from "./Printer";
import QR from "./QR";
Expand Down Expand Up @@ -110,6 +111,7 @@ export default {
play: Play,
"portal-open": PortalOpen,
"present-gift": PresentGift,
"present-gift-dark": PresentGiftDark,
presentation: Presentation,
printer: Printer,
qr: QR,
Expand Down