-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.ts
55 lines (30 loc) · 1.16 KB
/
theme.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// themes:
import './theme.basics.config'
import '@reusable-ui/typos/effects'
import { iconConfig, navbarValues } from '@reusable-ui/components'
import { galleryEditors } from '@/components/editors/GalleryEditor/styles/config'
import { commerces } from '@/config'
import { imageValues } from '@heymarco/image'
import { carouselValues } from '@reusable-ui/components'
import { dataTableValues } from '@heymarco/data-table'
// <Icon>:
iconConfig.image.files.push(
{ name: 'artswimwear.svg', ratio: '48/40' },
{ name: 'scrolldown.svg' , ratio: '20/40' },
{ name: 'edit.svg' , ratio: '24/24' },
);
// <Navbar>:
navbarValues.boxSizing = 'border-box';
navbarValues.blockSize = '4rem';
// <SignIn>
// (signIns as any).maxInlineSize = `${breakpoints.sm}px`;
// <GalleryEditor>:
galleryEditors.itemAspectRatio = commerces.defaultProductAspectRatio;
// <UploadImage>:
// uploadImages.mediaAspectRatio = commerces.defaultProductAspectRatio;
// <Image>:
imageValues.objectFit = 'cover';
// <Carousel>:
carouselValues.mediaFlex = [[1, 1, 'auto']]; // growable, shrinkable, initial from it's height
// <DataTable>:
dataTableValues.captionFilter = 'none';