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
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/*----------------------------*/
|
|
2
|
+
/* TYPOGRAPHY */
|
|
3
|
+
/*----------------------------*/
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: "Instrument Sans";
|
|
7
|
+
src: url("/fonts/InstrumentSans-VariableFont_wdth,wght.ttf") format("truetype");
|
|
8
|
+
font-weight: 100 900;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: "Instrument Sans";
|
|
14
|
+
src: url("/fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
|
|
15
|
+
font-weight: 100 900;
|
|
16
|
+
font-style: italic;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: "Gazpacho";
|
|
21
|
+
src: url("/fonts/GazpachoRegular.otf") format("opentype");
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: "Gazpacho";
|
|
28
|
+
src: url("/fonts/GazpachoRegularItalic.otf") format("opentype");
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-style: italic;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: "Gazpacho";
|
|
35
|
+
src: url("/fonts/GazpachoMedium.otf") format("opentype");
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
font-style: normal;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: "Gazpacho";
|
|
42
|
+
src: url("/fonts/GazpachoMediumItalic.otf") format("opentype");
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
font-style: italic;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: "Gazpacho";
|
|
49
|
+
src: url("/fonts/GazpachoBold.otf") format("opentype");
|
|
50
|
+
font-weight: 700;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: "Gazpacho";
|
|
56
|
+
src: url("/fonts/GazpachoBoldItalic.otf") format("opentype");
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
font-style: italic;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
body {
|
|
62
|
+
-webkit-font-smoothing: antialiased;
|
|
63
|
+
text-rendering: optimizelegibility;
|
|
64
|
+
@apply font-normal font-body;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
::selection {
|
|
68
|
+
@apply bg-brand-default text-text-inverted;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/* Typography utilities */
|
|
73
|
+
@utility h1 {
|
|
74
|
+
@apply text-4xl font-heading font-medium;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@utility h2 {
|
|
78
|
+
@apply text-3xl font-heading font-medium;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@utility h3 {
|
|
82
|
+
@apply text-2xl font-medium;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@utility h4 {
|
|
86
|
+
@apply text-xl font-medium;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@utility h5 {
|
|
90
|
+
@apply text-lg font-normal font-body;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@utility s1 {
|
|
94
|
+
@apply text-base font-medium font-body;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@utility s2 {
|
|
98
|
+
@apply text-sm font-medium font-body;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@utility p1 {
|
|
102
|
+
@apply text-base font-light font-body;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@utility p2 {
|
|
106
|
+
@apply text-sm font-light font-body;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@utility caption {
|
|
110
|
+
@apply text-xs font-normal font-body;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@utility overline {
|
|
114
|
+
@apply text-xs font-normal uppercase font-body;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Base layer styles for elements */
|
|
118
|
+
@layer base {
|
|
119
|
+
hr,
|
|
120
|
+
.separator {
|
|
121
|
+
@apply h-px border-t border-line-default;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
b,
|
|
125
|
+
strong {
|
|
126
|
+
@apply font-medium;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
h1,
|
|
130
|
+
h2 {
|
|
131
|
+
@apply font-heading;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* h3,
|
|
135
|
+
h4,
|
|
136
|
+
h5,
|
|
137
|
+
h6 {
|
|
138
|
+
@apply font-normal;
|
|
139
|
+
} */
|
|
140
|
+
|
|
141
|
+
.prose {
|
|
142
|
+
:where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
143
|
+
@apply font-medium;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
147
|
+
@apply text-text-default;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&,
|
|
151
|
+
:where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)),
|
|
152
|
+
:where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)),
|
|
153
|
+
:where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)),
|
|
154
|
+
:where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)),
|
|
155
|
+
:where(h5):not(:where([class~="not-prose"], [class~="not-prose"] *)),
|
|
156
|
+
:where(h6):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
157
|
+
@apply text-text-default;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*----------------------------*/
|
|
2
|
+
/* Utility */
|
|
3
|
+
/*----------------------------*/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
body:has(.translation-key:hover) .translation-key:not(:hover) {
|
|
7
|
+
@apply z-50 opacity-30;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body:has(.translation-key:hover) .translation-key:hover {
|
|
11
|
+
@apply opacity-100 z-[60];
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.translation-key {
|
|
15
|
+
@apply inline-flex absolute top-0 left-0 gap-1 items-center px-1.5 py-0 text-xs truncate rounded opacity-100 transition duration-100 -translate-y-full text-text-default bg-background-surface inverted group-hover:bg-background-error active:opacity-50;
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
@apply z-10;
|
|
19
|
+
}
|
|
20
|
+
}
|