mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-24 04:01:35 +08:00
37 lines
962 B
JavaScript
37 lines
962 B
JavaScript
import Box from '@elementor/ui/Box';
|
|
import Grid from '@elementor/ui/Grid';
|
|
import Typography from '@elementor/ui/Typography';
|
|
import { ColorPicker, IconSelect, IconSize } from '@ea11y/components';
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
const IconDesignSettings = (props) => {
|
|
return (
|
|
<Grid padding={2} border={1} borderColor="divider" {...props}>
|
|
<Box marginBottom={2}>
|
|
<Typography variant="subtitle1">
|
|
{__('Design', 'pojo-accessibility')}
|
|
</Typography>
|
|
|
|
<Typography variant="body2">
|
|
{__(
|
|
"Customize your accessibility button's color, icon, and size to match your brand.",
|
|
'pojo-accessibility',
|
|
)}
|
|
</Typography>
|
|
</Box>
|
|
|
|
<Grid gridTemplateColumns="repeat(2, 1fr)" display="grid" gap={5} p={2}>
|
|
<Box display="flex" flexDirection="column" gap={5}>
|
|
<IconSelect />
|
|
<IconSize />
|
|
</Box>
|
|
|
|
<Box>
|
|
<ColorPicker />
|
|
</Box>
|
|
</Grid>
|
|
</Grid>
|
|
);
|
|
};
|
|
|
|
export default IconDesignSettings;
|