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

feat: ✨ add icon #807

Merged
merged 2 commits into from
Nov 8, 2023
Merged
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
24 changes: 24 additions & 0 deletions packages/icon/src/icons/minimize.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { createIcon } from "../create-icon"

export const MinimizeIcon = createIcon({
title: "MinimizeIcon",
viewBox: "0 0 16 16",
path: (
<>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.75 8.5C9.05964 8.5 8.5 9.05964 8.5 9.75V13.25C8.5 13.6642 8.83579 14 9.25 14C9.66421 14 10 13.6642 10 13.25V11.0607L12.7197 13.7803C13.0126 14.0732 13.4874 14.0732 13.7803 13.7803C14.0732 13.4874 14.0732 13.0126 13.7803 12.7197L11.0607 10H13.25C13.6642 10 14 9.66421 14 9.25C14 8.83579 13.6642 8.5 13.25 8.5H9.75Z"
fill="currentColor"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M6.25 7.5C6.94036 7.5 7.5 6.94036 7.5 6.25V2.75C7.5 2.33579 7.16421 2 6.75 2C6.33579 2 6 2.33579 6 2.75V4.93934L3.28033 2.21967C2.98744 1.92678 2.51256 1.92678 2.21967 2.21967C1.92678 2.51256 1.92678 2.98744 2.21967 3.28033L4.93934 6H2.75C2.33579 6 2 6.33579 2 6.75C2 7.16421 2.33579 7.5 2.75 7.5H6.25Z"
fill="currentColor"
/>
</>
),
})

MinimizeIcon.displayName = "MinimizeIcon"
4 changes: 2 additions & 2 deletions packages/icon/src/icons/success.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { createIcon } from "../create-icon"

export const SuccessIcon = createIcon({
title: "SuccessIcon",
viewBox: "0 0 8 8",
viewBox: "0 0 16 16",
path: (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M7.73 1.174a.75.75 0 0 1 .096 1.056l-3.75 4.5a.75.75 0 0 1-1.106.05L.72 4.53a.75.75 0 0 1 1.06-1.06l1.67 1.669 3.224-3.87a.75.75 0 0 1 1.056-.095z"
d="M13.1508 3.74076C13.5701 4.10018 13.6187 4.73148 13.2593 5.15081L7.25926 12.1508C7.07798 12.3623 6.81672 12.4886 6.53838 12.4993C6.26004 12.51 5.98985 12.4041 5.79289 12.2071L2.79289 9.20712C2.40237 8.8166 2.40237 8.18344 2.79289 7.79291C3.18342 7.40239 3.81658 7.40239 4.20711 7.79291L6.44352 10.0293L11.7407 3.84923C12.1002 3.4299 12.7315 3.38134 13.1508 3.74076Z"
fill="currentColor"
/>
),
Expand Down
1 change: 1 addition & 0 deletions packages/icon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ export * from "./icons/play-fill"
export * from "./icons/play-outline"
export * from "./icons/fork"
export * from "./icons/bind"
export * from "./icons/minimize"