page-section.ts
1.93 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const orientation = [
"horizontal",
"vertical"
] as const
export default {
"slots": {
"root": "relative isolate",
"container": "flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",
"wrapper": "",
"header": "",
"leading": "flex items-center mb-6",
"leadingIcon": "size-10 shrink-0 text-primary",
"headline": "mb-3",
"title": "text-3xl sm:text-4xl lg:text-5xl text-pretty tracking-tight font-bold text-highlighted",
"description": "text-base sm:text-lg text-muted",
"body": "mt-8",
"features": "grid",
"footer": "mt-8",
"links": "flex flex-wrap gap-x-6 gap-y-3"
},
"variants": {
"orientation": {
"horizontal": {
"container": "lg:grid-cols-2 lg:items-center",
"description": "text-pretty",
"features": "gap-4"
},
"vertical": {
"container": "",
"headline": "justify-center",
"leading": "justify-center",
"title": "text-center",
"description": "text-center text-balance",
"links": "justify-center",
"features": "sm:grid-cols-2 lg:grid-cols-3 gap-8"
}
},
"reverse": {
"true": {
"wrapper": "order-last"
}
},
"headline": {
"true": {
"headline": "font-semibold text-primary flex items-center gap-1.5"
}
},
"title": {
"true": {
"description": "mt-6"
}
},
"description": {
"true": ""
},
"body": {
"true": ""
}
},
"compoundVariants": [
{
"orientation": "vertical" as typeof orientation[number],
"title": true,
"class": {
"body": "mt-16"
}
},
{
"orientation": "vertical" as typeof orientation[number],
"description": true,
"class": {
"body": "mt-16"
}
},
{
"orientation": "vertical" as typeof orientation[number],
"body": true,
"class": {
"footer": "mt-16"
}
}
]
}