feat(icon): update icon

This commit is contained in:
alt1o 2022-07-28 17:18:39 +08:00
parent f4d3a6eafa
commit 5a78afceb2
11 changed files with 54 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 196 B

View File

@ -5,11 +5,11 @@ import { SvgIcon } from '@mui/material';
// eslint-disable-next-line no-restricted-imports // eslint-disable-next-line no-restricted-imports
import type { SvgIconProps } from '@mui/material'; import type { SvgIconProps } from '@mui/material';
export interface IndentRightIconProps extends Omit<SvgIconProps, 'color'> { export interface ArrowBigIconProps extends Omit<SvgIconProps, 'color'> {
color?: string color?: string
} }
export const IndentRightIcon: FC<IndentRightIconProps> = ({ color, style, ...props}) => { export const ArrowBigIcon: FC<ArrowBigIconProps> = ({ color, style, ...props}) => {
const propsStyles = {"color": color}; const propsStyles = {"color": color};
const customStyles = {}; const customStyles = {};
const styles = {...propsStyles, ...customStyles, ...style} const styles = {...propsStyles, ...customStyles, ...style}

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm10.2 3.8H13V5.2h5.8V11h-1.6V8.063l-3.483 3.482-1.131-1.131L16.2 6.8Zm-5.72 5.72 1.132 1.13-3.55 3.55H11v1.6H5.2V13h1.6v3.2l3.68-3.68Z" clip-rule="evenodd"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.069 4.8H14V3.2h6.8V10h-1.6V5.931l-4.634 4.635-1.132-1.132L18.07 4.8ZM5.931 19.2l4.635-4.634-1.132-1.132L4.8 18.07V14H3.2v6.8H10v-1.6H5.931Z" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 261 B

View File

@ -15,7 +15,7 @@ export const FullScreenIcon: FC<FullScreenIconProps> = ({ color, style, ...props
const styles = {...propsStyles, ...customStyles, ...style} const styles = {...propsStyles, ...customStyles, ...style}
return ( return (
<SvgIcon style={styles} {...props}> <SvgIcon style={styles} {...props}>
<path fillRule="evenodd" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm10.2 3.8H13V5.2h5.8V11h-1.6V8.063l-3.483 3.482-1.131-1.131L16.2 6.8Zm-5.72 5.72 1.132 1.13-3.55 3.55H11v1.6H5.2V13h1.6v3.2l3.68-3.68Z" clipRule="evenodd" /> <path fillRule="evenodd" d="M18.069 4.8H14V3.2h6.8V10h-1.6V5.931l-4.634 4.635-1.132-1.132L18.07 4.8ZM5.931 19.2l4.635-4.634-1.132-1.132L4.8 18.07V14H3.2v6.8H10v-1.6H5.931Z" clipRule="evenodd" />
</SvgIcon> </SvgIcon>
) )
}; };

View File

@ -1,4 +1,4 @@
export const timestamp = 1658396276897; export const timestamp = 1658999074664;
export * from './image/image'; export * from './image/image';
export * from './format-clear/format-clear'; export * from './format-clear/format-clear';
export * from './backward-undo/backward-undo'; export * from './backward-undo/backward-undo';
@ -78,7 +78,7 @@ export * from './multi-select/multi-select';
export * from './shape/shape'; export * from './shape/shape';
export * from './edit/edit'; export * from './edit/edit';
export * from './embed/embed'; export * from './embed/embed';
export * from './indent-right/indent-right'; export * from './arrow-big/arrow-big';
export * from './comment/comment'; export * from './comment/comment';
export * from './at/at'; export * from './at/at';
export * from './reaction/reaction'; export * from './reaction/reaction';
@ -124,4 +124,5 @@ export * from './settings/settings';
export * from './eraser/eraser'; export * from './eraser/eraser';
export * from './group-by/group-by'; export * from './group-by/group-by';
export * from './layout/layout'; export * from './layout/layout';
export * from './lock/lock';
export * from './unlock/unlock';

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0v3H7.2V7Z" clip-rule="evenodd"/><circle cx="12" cy="16" r="2"/></svg>

After

Width:  |  Height:  |  Size: 369 B

View File

@ -0,0 +1,21 @@
import { FC } from 'react';
// eslint-disable-next-line no-restricted-imports
import { SvgIcon } from '@mui/material';
// eslint-disable-next-line no-restricted-imports
import type { SvgIconProps } from '@mui/material';
export interface LockIconProps extends Omit<SvgIconProps, 'color'> {
color?: string
}
export const LockIcon: FC<LockIconProps> = ({ color, style, ...props}) => {
const propsStyles = {"color": color};
const customStyles = {};
const styles = {...propsStyles, ...customStyles, ...style}
return (
<SvgIcon style={styles} {...props}>
<path fillRule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0v3H7.2V7Z" clipRule="evenodd" /><circle cx={12} cy={16} r={2} />
</SvgIcon>
)
};

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.71 1 3 23h4.516L12.42 7.784 17.327 23h4.5l-7.71-22H10.71Z" clip-rule="evenodd"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.962 2 4 22h4.078l4.428-13.833L16.936 22H21L14.037 2h-3.075Z" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 181 B

View File

@ -15,7 +15,7 @@ export const LogoIcon: FC<LogoIconProps> = ({ color, style, ...props}) => {
const styles = {...propsStyles, ...customStyles, ...style} const styles = {...propsStyles, ...customStyles, ...style}
return ( return (
<SvgIcon style={styles} {...props}> <SvgIcon style={styles} {...props}>
<path fillRule="evenodd" d="M10.71 1 3 23h4.516L12.42 7.784 17.327 23h4.5l-7.71-22H10.71Z" clipRule="evenodd" /> <path fillRule="evenodd" d="M10.962 2 4 22h4.078l4.428-13.833L16.936 22H21L14.037 2h-3.075Z" clipRule="evenodd" />
</SvgIcon> </SvgIcon>
) )
}; };

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0H7.2Z" clip-rule="evenodd"/><circle cx="12" cy="16" r="2"/></svg>

After

Width:  |  Height:  |  Size: 365 B

View File

@ -0,0 +1,21 @@
import { FC } from 'react';
// eslint-disable-next-line no-restricted-imports
import { SvgIcon } from '@mui/material';
// eslint-disable-next-line no-restricted-imports
import type { SvgIconProps } from '@mui/material';
export interface UnlockIconProps extends Omit<SvgIconProps, 'color'> {
color?: string
}
export const UnlockIcon: FC<UnlockIconProps> = ({ color, style, ...props}) => {
const propsStyles = {"color": color};
const customStyles = {};
const styles = {...propsStyles, ...customStyles, ...style}
return (
<SvgIcon style={styles} {...props}>
<path fillRule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0H7.2Z" clipRule="evenodd" /><circle cx={12} cy={16} r={2} />
</SvgIcon>
)
};