twntyx-css 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +105 -0
- package/llm/CHANGELOG.md +7 -0
- package/llm/components/ai-background.json +90 -0
- package/llm/components/ai-orb.json +91 -0
- package/llm/components/ai-perl.json +91 -0
- package/llm/components/all-components.json +104 -0
- package/llm/components/animation-references.json +84 -0
- package/llm/components/avatar.json +149 -0
- package/llm/components/badge.json +263 -0
- package/llm/components/banner-marketplace.json +81 -0
- package/llm/components/banner.json +120 -0
- package/llm/components/breadcrumb.json +169 -0
- package/llm/components/button-container.json +150 -0
- package/llm/components/button-feedback.json +155 -0
- package/llm/components/button.json +290 -0
- package/llm/components/card-assessment.json +93 -0
- package/llm/components/card-test.json +83 -0
- package/llm/components/card.json +94 -0
- package/llm/components/chat.json +155 -0
- package/llm/components/checkbox.json +186 -0
- package/llm/components/checkmark.json +175 -0
- package/llm/components/collapsible.json +100 -0
- package/llm/components/color-palette.json +79 -0
- package/llm/components/color-usage.json +83 -0
- package/llm/components/combobox.json +143 -0
- package/llm/components/command-palette.json +159 -0
- package/llm/components/countdown.json +113 -0
- package/llm/components/datepicker.json +151 -0
- package/llm/components/divider.json +104 -0
- package/llm/components/empty-state.json +80 -0
- package/llm/components/field.json +123 -0
- package/llm/components/fieldset.json +78 -0
- package/llm/components/file-upload.json +163 -0
- package/llm/components/form-example.json +82 -0
- package/llm/components/getting-started.json +70 -0
- package/llm/components/icons-reference.json +78 -0
- package/llm/components/illustrations-library.json +78 -0
- package/llm/components/input-group.json +94 -0
- package/llm/components/introduction.json +71 -0
- package/llm/components/join.json +105 -0
- package/llm/components/kbd.json +139 -0
- package/llm/components/key-value.json +86 -0
- package/llm/components/link.json +120 -0
- package/llm/components/loader.json +117 -0
- package/llm/components/logotype.json +75 -0
- package/llm/components/menu.json +192 -0
- package/llm/components/modal.json +167 -0
- package/llm/components/navbar.json +158 -0
- package/llm/components/pagination.json +122 -0
- package/llm/components/pie-chart.json +94 -0
- package/llm/components/popover.json +174 -0
- package/llm/components/progress-bullet.json +203 -0
- package/llm/components/progress-linear.json +129 -0
- package/llm/components/progress-radial.json +125 -0
- package/llm/components/radio.json +162 -0
- package/llm/components/range-slider.json +125 -0
- package/llm/components/scrollbar.json +96 -0
- package/llm/components/select-input.json +224 -0
- package/llm/components/shadows.json +107 -0
- package/llm/components/skeleton.json +84 -0
- package/llm/components/stacked-chart.json +100 -0
- package/llm/components/state.json +138 -0
- package/llm/components/stepper.json +95 -0
- package/llm/components/steps.json +177 -0
- package/llm/components/surface.json +181 -0
- package/llm/components/table.json +223 -0
- package/llm/components/tabs.json +147 -0
- package/llm/components/template-ai.json +80 -0
- package/llm/components/template-login.json +88 -0
- package/llm/components/template-stats.json +76 -0
- package/llm/components/text-input.json +275 -0
- package/llm/components/textarea.json +183 -0
- package/llm/components/timeline.json +142 -0
- package/llm/components/toast.json +164 -0
- package/llm/components/toggle.json +158 -0
- package/llm/components/tool-svg-to-base64.json +78 -0
- package/llm/components/tool-svg-to-icon-data.json +81 -0
- package/llm/components/tooltip.json +90 -0
- package/llm/examples/ai-background.html +1 -0
- package/llm/examples/ai-orb.html +1 -0
- package/llm/examples/ai-perl.html +1 -0
- package/llm/examples/all-components.html +1 -0
- package/llm/examples/animation-references.html +1 -0
- package/llm/examples/avatar.html +1 -0
- package/llm/examples/badge.html +1 -0
- package/llm/examples/banner-marketplace.html +1 -0
- package/llm/examples/banner.html +1 -0
- package/llm/examples/breadcrumb.html +1 -0
- package/llm/examples/button-container.html +1 -0
- package/llm/examples/button-feedback.html +1 -0
- package/llm/examples/button.html +3 -0
- package/llm/examples/card-assessment.html +1 -0
- package/llm/examples/card-test.html +1 -0
- package/llm/examples/card.html +1 -0
- package/llm/examples/chat.html +1 -0
- package/llm/examples/checkbox.html +1 -0
- package/llm/examples/checkmark.html +1 -0
- package/llm/examples/collapsible.html +1 -0
- package/llm/examples/color-palette.html +1 -0
- package/llm/examples/color-usage.html +1 -0
- package/llm/examples/combobox.html +1 -0
- package/llm/examples/command-palette.html +1 -0
- package/llm/examples/countdown.html +1 -0
- package/llm/examples/datepicker.html +1 -0
- package/llm/examples/divider.html +1 -0
- package/llm/examples/empty-state.html +1 -0
- package/llm/examples/field.html +1 -0
- package/llm/examples/fieldset.html +1 -0
- package/llm/examples/file-upload.html +1 -0
- package/llm/examples/form-example.html +1 -0
- package/llm/examples/getting-started.html +1 -0
- package/llm/examples/icons-reference.html +1 -0
- package/llm/examples/illustrations-library.html +1 -0
- package/llm/examples/input-group.html +1 -0
- package/llm/examples/introduction.html +1 -0
- package/llm/examples/join.html +1 -0
- package/llm/examples/kbd.html +1 -0
- package/llm/examples/key-value.html +1 -0
- package/llm/examples/link.html +1 -0
- package/llm/examples/loader.html +1 -0
- package/llm/examples/logotype.html +1 -0
- package/llm/examples/menu.html +1 -0
- package/llm/examples/modal.html +16 -0
- package/llm/examples/navbar.html +1 -0
- package/llm/examples/pagination.html +1 -0
- package/llm/examples/pie-chart.html +1 -0
- package/llm/examples/popover.html +1 -0
- package/llm/examples/progress-bullet.html +1 -0
- package/llm/examples/progress-linear.html +1 -0
- package/llm/examples/progress-radial.html +1 -0
- package/llm/examples/radio.html +1 -0
- package/llm/examples/range-slider.html +1 -0
- package/llm/examples/scrollbar.html +1 -0
- package/llm/examples/select-input.html +1 -0
- package/llm/examples/shadows.html +1 -0
- package/llm/examples/skeleton.html +1 -0
- package/llm/examples/stacked-chart.html +1 -0
- package/llm/examples/state.html +1 -0
- package/llm/examples/stepper.html +1 -0
- package/llm/examples/steps.html +1 -0
- package/llm/examples/surface.html +1 -0
- package/llm/examples/table.html +16 -0
- package/llm/examples/tabs.html +1 -0
- package/llm/examples/template-ai.html +1 -0
- package/llm/examples/template-login.html +1 -0
- package/llm/examples/template-stats.html +1 -0
- package/llm/examples/text-input.html +10 -0
- package/llm/examples/textarea.html +1 -0
- package/llm/examples/timeline.html +1 -0
- package/llm/examples/toast.html +5 -0
- package/llm/examples/toggle.html +1 -0
- package/llm/examples/tool-svg-to-base64.html +1 -0
- package/llm/examples/tool-svg-to-icon-data.html +1 -0
- package/llm/examples/tooltip.html +1 -0
- package/llm/index.json +1615 -0
- package/llm/llms.txt +18 -0
- package/llm/patterns.json +111 -0
- package/llm/rules.json +47 -0
- package/llm/schema.json +804 -0
- package/llm/tokens.json +3629 -0
- package/package.json +30 -0
- package/styles/ai.css +114 -0
- package/styles/animation.css +2493 -0
- package/styles/avatar.css +101 -0
- package/styles/background-ai.css +118 -0
- package/styles/badge.css +274 -0
- package/styles/banner.css +98 -0
- package/styles/breadcrumb.css +72 -0
- package/styles/button.css +621 -0
- package/styles/card.css +27 -0
- package/styles/chart-pie.css +39 -0
- package/styles/chart-stacked.css +91 -0
- package/styles/chat.css +506 -0
- package/styles/checkmark.css +105 -0
- package/styles/code.css +264 -0
- package/styles/collapsible.css +93 -0
- package/styles/colors.css +536 -0
- package/styles/combobox.css +66 -0
- package/styles/command.css +81 -0
- package/styles/contest.css +227 -0
- package/styles/countdown.css +65 -0
- package/styles/datepicker.css +124 -0
- package/styles/divider.css +72 -0
- package/styles/drawer.css +142 -0
- package/styles/dropdown.css +22 -0
- package/styles/empty-state.css +48 -0
- package/styles/field.css +47 -0
- package/styles/fieldset.css +24 -0
- package/styles/form-checkbox-radio-toggle.css +233 -0
- package/styles/form-fileupload.css +146 -0
- package/styles/form-rangeslider.css +106 -0
- package/styles/form-shared.css +41 -0
- package/styles/form-text-select.css +411 -0
- package/styles/form.css +86 -0
- package/styles/globals.css +66 -0
- package/styles/input-group.css +63 -0
- package/styles/join.css +141 -0
- package/styles/kbd.css +55 -0
- package/styles/key-value.css +44 -0
- package/styles/link.css +48 -0
- package/styles/loader.css +183 -0
- package/styles/logotype.css +13 -0
- package/styles/menu.css +317 -0
- package/styles/modal.css +172 -0
- package/styles/navbar.css +48 -0
- package/styles/package-quill.css +1001 -0
- package/styles/pagination.css +147 -0
- package/styles/panel.css +113 -0
- package/styles/popover.css +303 -0
- package/styles/prism.css +60 -0
- package/styles/progress.css +209 -0
- package/styles/scrollbar.css +17 -0
- package/styles/shadow.css +25 -0
- package/styles/shared.css +226 -0
- package/styles/skeleton.css +34 -0
- package/styles/state.css +150 -0
- package/styles/stepper.css +72 -0
- package/styles/steps.css +98 -0
- package/styles/surface.css +252 -0
- package/styles/tab.css +286 -0
- package/styles/table.css +243 -0
- package/styles/theme.css +126 -0
- package/styles/timeline.css +193 -0
- package/styles/toast.css +150 -0
- package/styles/tooltip.css +8 -0
- package/styles/typography.css +160 -0
- package/styles/utility.css +20 -0
- package/tailwind.config.cjs +9 -0
package/styles/code.css
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
/* Code */
|
|
2
|
+
|
|
3
|
+
/* Light */
|
|
4
|
+
code[class*="language-"],
|
|
5
|
+
pre[class*="language-"],
|
|
6
|
+
.code {
|
|
7
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:root:not(.dark) {
|
|
11
|
+
code[class*="language-"],
|
|
12
|
+
pre[class*="language-"] {
|
|
13
|
+
color: #000;
|
|
14
|
+
background: 0 0;
|
|
15
|
+
text-shadow: 0 1px #fff;
|
|
16
|
+
font-size: 1em;
|
|
17
|
+
text-align: left;
|
|
18
|
+
white-space: pre;
|
|
19
|
+
word-spacing: normal;
|
|
20
|
+
word-break: normal;
|
|
21
|
+
word-wrap: normal;
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
-moz-tab-size: 4;
|
|
24
|
+
-o-tab-size: 4;
|
|
25
|
+
tab-size: 4;
|
|
26
|
+
-webkit-hyphens: none;
|
|
27
|
+
-moz-hyphens: none;
|
|
28
|
+
-ms-hyphens: none;
|
|
29
|
+
hyphens: none;
|
|
30
|
+
}
|
|
31
|
+
/*
|
|
32
|
+
code[class*="language-"] ::-moz-selection,
|
|
33
|
+
code[class*="language-"]::-moz-selection,
|
|
34
|
+
pre[class*="language-"] ::-moz-selection,
|
|
35
|
+
pre[class*="language-"]::-moz-selection {
|
|
36
|
+
text-shadow: none;
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
code[class*="language-"] ::selection,
|
|
41
|
+
code[class*="language-"]::selection,
|
|
42
|
+
pre[class*="language-"] ::selection,
|
|
43
|
+
pre[class*="language-"]::selection {
|
|
44
|
+
text-shadow: none;
|
|
45
|
+
background: transparent;
|
|
46
|
+
} */
|
|
47
|
+
|
|
48
|
+
@media print {
|
|
49
|
+
code[class*="language-"],
|
|
50
|
+
pre[class*="language-"] {
|
|
51
|
+
text-shadow: none;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
pre[class*="language-"] {
|
|
56
|
+
padding: 1em;
|
|
57
|
+
margin: 0.5em 0;
|
|
58
|
+
overflow: auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:not(pre) > code[class*="language-"],
|
|
62
|
+
pre[class*="language-"] {
|
|
63
|
+
background: transparent;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:not(pre) > code[class*="language-"] {
|
|
67
|
+
padding: 0.1em;
|
|
68
|
+
border-radius: 0.3em;
|
|
69
|
+
white-space: normal;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.token.cdata,
|
|
73
|
+
.token.comment,
|
|
74
|
+
.token.doctype,
|
|
75
|
+
.token.prolog {
|
|
76
|
+
color: #708090;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.token.punctuation {
|
|
80
|
+
color: #999;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.namespace {
|
|
84
|
+
opacity: 0.7;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.token.boolean,
|
|
88
|
+
.token.constant,
|
|
89
|
+
.token.deleted,
|
|
90
|
+
.token.number,
|
|
91
|
+
.token.property,
|
|
92
|
+
.token.symbol,
|
|
93
|
+
.token.tag {
|
|
94
|
+
color: #905;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.token.attr-name,
|
|
98
|
+
.token.builtin,
|
|
99
|
+
.token.char,
|
|
100
|
+
.token.inserted,
|
|
101
|
+
.token.selector,
|
|
102
|
+
.token.string {
|
|
103
|
+
color: #690;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.language-css .token.string,
|
|
107
|
+
.style .token.string,
|
|
108
|
+
.token.entity,
|
|
109
|
+
.token.operator,
|
|
110
|
+
.token.url {
|
|
111
|
+
color: #9a6e3a;
|
|
112
|
+
background: hsla(0, 0%, 100%, 0.5);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.token.atrule,
|
|
116
|
+
.token.attr-value,
|
|
117
|
+
.token.keyword {
|
|
118
|
+
color: #07a;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.token.class-name,
|
|
122
|
+
.token.function {
|
|
123
|
+
color: #dd4a68;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.token.important,
|
|
127
|
+
.token.regex,
|
|
128
|
+
.token.variable {
|
|
129
|
+
color: #e90;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.token.bold,
|
|
133
|
+
.token.important {
|
|
134
|
+
font-weight: 700;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.token.italic {
|
|
138
|
+
font-style: italic;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.token.entity {
|
|
142
|
+
cursor: help;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Dark */
|
|
147
|
+
|
|
148
|
+
:root.dark,
|
|
149
|
+
.dark {
|
|
150
|
+
code[class*="language-"],
|
|
151
|
+
pre[class*="language-"] {
|
|
152
|
+
color: #f8f8f2;
|
|
153
|
+
background: 0 0;
|
|
154
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
155
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
156
|
+
font-size: 1em;
|
|
157
|
+
text-align: left;
|
|
158
|
+
white-space: pre;
|
|
159
|
+
word-spacing: normal;
|
|
160
|
+
word-break: normal;
|
|
161
|
+
word-wrap: normal;
|
|
162
|
+
line-height: 1.5;
|
|
163
|
+
-moz-tab-size: 4;
|
|
164
|
+
-o-tab-size: 4;
|
|
165
|
+
tab-size: 4;
|
|
166
|
+
-webkit-hyphens: none;
|
|
167
|
+
-moz-hyphens: none;
|
|
168
|
+
-ms-hyphens: none;
|
|
169
|
+
hyphens: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
pre[class*="language-"] {
|
|
173
|
+
padding: 1em;
|
|
174
|
+
margin: 0.5em 0;
|
|
175
|
+
overflow: auto;
|
|
176
|
+
border-radius: 0.3em;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:not(pre) > code[class*="language-"],
|
|
180
|
+
pre[class*="language-"] {
|
|
181
|
+
background: transparent;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
:not(pre) > code[class*="language-"] {
|
|
185
|
+
padding: 0.1em;
|
|
186
|
+
border-radius: 0.3em;
|
|
187
|
+
white-space: normal;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.token.cdata,
|
|
191
|
+
.token.comment,
|
|
192
|
+
.token.doctype,
|
|
193
|
+
.token.prolog {
|
|
194
|
+
color: #8292a2;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.token.punctuation {
|
|
198
|
+
color: #f8f8f2;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.token.namespace {
|
|
202
|
+
opacity: 0.7;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.token.constant,
|
|
206
|
+
.token.deleted,
|
|
207
|
+
.token.property,
|
|
208
|
+
.token.symbol,
|
|
209
|
+
.token.tag {
|
|
210
|
+
color: #f92672;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.token.boolean,
|
|
214
|
+
.token.number {
|
|
215
|
+
color: #ae81ff;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.token.attr-name,
|
|
219
|
+
.token.builtin,
|
|
220
|
+
.token.char,
|
|
221
|
+
.token.inserted,
|
|
222
|
+
.token.selector,
|
|
223
|
+
.token.string {
|
|
224
|
+
color: #a6e22e;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.language-css .token.string,
|
|
228
|
+
.style .token.string,
|
|
229
|
+
.token.entity,
|
|
230
|
+
.token.operator,
|
|
231
|
+
.token.url,
|
|
232
|
+
.token.variable {
|
|
233
|
+
color: #f8f8f2;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.token.atrule,
|
|
237
|
+
.token.attr-value,
|
|
238
|
+
.token.class-name,
|
|
239
|
+
.token.function {
|
|
240
|
+
color: #e6db74;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.token.keyword {
|
|
244
|
+
color: #66d9ef;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.token.important,
|
|
248
|
+
.token.regex {
|
|
249
|
+
color: #fd971f;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.token.bold,
|
|
253
|
+
.token.important {
|
|
254
|
+
font-weight: 700;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.token.italic {
|
|
258
|
+
font-style: italic;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.token.entity {
|
|
262
|
+
cursor: help;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*----------------------------*/
|
|
2
|
+
/* COLLAPSIBLE */
|
|
3
|
+
/*----------------------------*/
|
|
4
|
+
|
|
5
|
+
@utility collapsible {
|
|
6
|
+
&[open],
|
|
7
|
+
&.is-open {
|
|
8
|
+
> .collapsible-header::after,
|
|
9
|
+
.collapsible-arrow {
|
|
10
|
+
@apply rotate-180;
|
|
11
|
+
}
|
|
12
|
+
> .collapsible-content {
|
|
13
|
+
@apply grid-rows-[1fr]!;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.collapsible-has-arrow {
|
|
18
|
+
> .collapsible-header {
|
|
19
|
+
&::after {
|
|
20
|
+
@apply shrink-0 content-[''] ml-auto opacity-50 transition-transform duration-150 ease-anticipate include-transition bg-text-secondary mask-carat text-text-secondary size-5;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.collapsible-arrow {
|
|
24
|
+
@apply transition-transform duration-150 ease-anticipate;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:not(.collapsible-has-arrow) {
|
|
29
|
+
> .collapsible-header {
|
|
30
|
+
@apply underline active:no-underline;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.collapsible-full-width {
|
|
35
|
+
> .collapsible-header {
|
|
36
|
+
@apply w-full;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.collapsible-card {
|
|
41
|
+
--space-x: 0.75rem;
|
|
42
|
+
--space-y: 0.5rem;
|
|
43
|
+
@apply p-0.5 card;
|
|
44
|
+
|
|
45
|
+
> .collapsible-header {
|
|
46
|
+
@apply py-(--space-y) px-(--space-x) w-full text-sm font-medium min-h-10 include-hover-primary;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
> .collapsible-content {
|
|
50
|
+
> * {
|
|
51
|
+
> * {
|
|
52
|
+
@apply py-(--space-x) px-(--space-x) border-t border-line-default;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:not(.collapsible-card) {
|
|
59
|
+
.collapsible-header {
|
|
60
|
+
@apply hover:text-text-tertiary active:text-text-tertiary;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:not([class*="rounded"]) {
|
|
65
|
+
--roundness: 1.5rem;
|
|
66
|
+
}
|
|
67
|
+
&.rounded-none {
|
|
68
|
+
--roundness: 0;
|
|
69
|
+
}
|
|
70
|
+
&.rounded-sm {
|
|
71
|
+
--roundness: 0.25rem;
|
|
72
|
+
}
|
|
73
|
+
&.rounded-lg {
|
|
74
|
+
--roundness: 0.5rem;
|
|
75
|
+
}
|
|
76
|
+
&.rounded-xl {
|
|
77
|
+
--roundness: 0.75rem;
|
|
78
|
+
}
|
|
79
|
+
&.rounded-2xl {
|
|
80
|
+
--roundness: 1rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.collapsible-header {
|
|
84
|
+
@apply rounded-[calc(var(--roundness)-0.125rem-1px)] flex items-center gap-2 include-interactive cursor-pointer include-interactive text-text-default;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.collapsible-content {
|
|
88
|
+
@apply grid overflow-hidden transition-[grid-template-rows] duration-700 ease-[cubic-bezier(0.075,0.82,0.165,1)] grid-rows-[0fr];
|
|
89
|
+
> * {
|
|
90
|
+
@apply overflow-hidden;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|