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(frosted-ui-icons): Add align justify icon set #216

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 8 additions & 0 deletions packages/frosted-ui-icons/icons/align-justify-12.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/frosted-ui-icons/icons/align-justify-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/frosted-ui-icons/icons/align-justify-20.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/frosted-ui-icons/icons/align-justify-24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/frosted-ui-icons/icons/align-justify-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions packages/frosted-ui-icons/src/AlignJustify12.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import * as React from 'react';
import { IconProps } from './types';

export const AlignJustify12 = React.forwardRef<SVGSVGElement, IconProps>(
({ color = 'currentColor', ...props }, forwardedRef) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
xmlSpace="preserve"
width="12"
height="12"
{...props}
ref={forwardedRef}
>
<path
d="M2 2.1h8M2 4.7h8M2 10h8M2 7.4h8"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
},
);

export default AlignJustify12;
Comment on lines +1 to +27
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't add icons manually. The icons should be added to our Figma file and then pulled in by our script

29 changes: 29 additions & 0 deletions packages/frosted-ui-icons/src/AlignJustify16.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as React from 'react';
import { IconProps } from './types';

export const AlignJustify16 = React.forwardRef<SVGSVGElement, IconProps>(
({ color = 'currentColor', ...props }, forwardedRef) => {
return (
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
data-fui-icon="true"
{...props}
ref={forwardedRef}
>
<path
d="M2 2.4h11.3M2 6.1h11.3M2 13.5h11.3M2 9.8h11.3"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
},
);

export default AlignJustify16;
29 changes: 29 additions & 0 deletions packages/frosted-ui-icons/src/AlignJustify20.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as React from 'react';
import { IconProps } from './types';

export const AlignJustify20 = React.forwardRef<SVGSVGElement, IconProps>(
({ color = 'currentColor', ...props }, forwardedRef) => {
return (
<svg
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
data-fui-icon="true"
{...props}
ref={forwardedRef}
>
<path
d="M2 2.4h14.8M2 7.2h14.8M2 16.8h14.8M2 12h14.8"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
},
);

export default AlignJustify20;
29 changes: 29 additions & 0 deletions packages/frosted-ui-icons/src/AlignJustify24.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as React from 'react';
import { IconProps } from './types';

export const AlignJustify24 = React.forwardRef<SVGSVGElement, IconProps>(
({ color = 'currentColor', ...props }, forwardedRef) => {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
data-fui-icon="true"
{...props}
ref={forwardedRef}
>
<path
d="M4 4h16M4 9h16M4 19h16M4 14h16"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
},
);

export default AlignJustify24;
29 changes: 29 additions & 0 deletions packages/frosted-ui-icons/src/AlignJustify32.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import * as React from 'react';
import { IconProps } from './types';

export const AlignJustify32 = React.forwardRef<SVGSVGElement, IconProps>(
({ color = 'currentColor', ...props }, forwardedRef) => {
return (
<svg
width="32"
height="32"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
data-fui-icon="true"
{...props}
ref={forwardedRef}
>
<path
d="M4 4h24M4 12h24M4 27h24M4 19h24"
stroke={color}
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
},
);

export default AlignJustify32;
5 changes: 5 additions & 0 deletions packages/frosted-ui-icons/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ export { default as AlignRight24 } from './AlignRight24';
export { default as AlignRight20 } from './AlignRight20';
export { default as AlignRight16 } from './AlignRight16';
export { default as AlignRight12 } from './AlignRight12';
export { default as AlignJustify32 } from './AlignJustify32';
export { default as AlignJustify24 } from './AlignJustify24';
export { default as AlignJustify20 } from './AlignJustify20';
export { default as AlignJustify16 } from './AlignJustify16';
export { default as AlignJustify12 } from './AlignJustify12';
export { default as AlignCenter32 } from './AlignCenter32';
export { default as AlignCenter24 } from './AlignCenter24';
export { default as AlignCenter20 } from './AlignCenter20';
Expand Down
Loading