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

Fix align center icons mix-up #62

Merged
merged 1 commit into from
Jan 15, 2021
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
Binary file modified Radix-Icons.iconjar.zip
Binary file not shown.
Binary file modified Radix-Icons.sketch
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/radix-icons/icons/align-center-horizontally.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/radix-icons/icons/align-center-vertically.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/radix-icons/src/AlignCenterHorizontallyIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const AlignCenterHorizontallyIcon = ({ color = 'currentColor', ...props }
return (
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z"
d="M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z"
fill={color}
fillRule="evenodd"
clipRule="evenodd"
Expand Down
2 changes: 1 addition & 1 deletion packages/radix-icons/src/AlignCenterVerticallyIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const AlignCenterVerticallyIcon = ({ color = 'currentColor', ...props }:
return (
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z"
d="M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z"
fill={color}
fillRule="evenodd"
clipRule="evenodd"
Expand Down
8 changes: 4 additions & 4 deletions packages/website/components/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ const Alignment = () => {
<CopyButton label="Align Top">
<Icons.AlignTopIcon />
</CopyButton>
<CopyButton label="Align Center Horizontally ">
<Icons.AlignCenterHorizontallyIcon />
<CopyButton label="Align Center Vertically ">
<Icons.AlignCenterVerticallyIcon />
</CopyButton>
<CopyButton label="Align Bottom">
<Icons.AlignBottomIcon />
Expand All @@ -339,8 +339,8 @@ const Alignment = () => {
<CopyButton label="Align Left">
<Icons.AlignLeftIcon />
</CopyButton>
<CopyButton label="Align Center Vertically ">
<Icons.AlignCenterVerticallyIcon />
<CopyButton label="Align Center Horizontally ">
<Icons.AlignCenterHorizontallyIcon />
</CopyButton>
<CopyButton label="Align Right">
<Icons.AlignRightIcon />
Expand Down