forked from shesha-io/shesha-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.ts
More file actions
23 lines (22 loc) · 878 Bytes
/
utils.ts
File metadata and controls
23 lines (22 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export const initialValues = (): any => {
return {
background: {
type: 'color',
repeat: 'no-repeat',
size: 'cover',
position: 'center',
gradient: { direction: 'to right' }
},
font: { weight: '400', size: 14, align: 'center', type: 'Segoe UI' },
dimensions: { width: 'auto', height: '32px', minHeight: '0px', maxHeight: 'auto', minWidth: '0px', maxWidth: 'auto' },
border: {
radiusType: 'all',
borderType: 'all',
hideBorder: false,
border: { all: { width: '1px', style: 'solid' } },
radius: { all: 8 }
},
shadow: { spreadRadius: 0, blurRadius: 0, color: '#000', offsetX: 0, offsetY: 0 },
stylingBox: '{"paddingLeft":"15","paddingBottom":"4","paddingTop":"4","paddingRight":"15"}',
};
};