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/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "twntyx-css",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"exports": {
|
|
5
|
+
"./llm": "./llm/index.json",
|
|
6
|
+
"./llm/components/*": "./llm/components/*.json",
|
|
7
|
+
"./llm/tokens": "./llm/tokens.json",
|
|
8
|
+
"./llm/patterns": "./llm/patterns.json",
|
|
9
|
+
"./llm/rules": "./llm/rules.json",
|
|
10
|
+
"./llm/schema": "./llm/schema.json",
|
|
11
|
+
"./*": "./*",
|
|
12
|
+
"./styles": "./styles/globals.css",
|
|
13
|
+
"./styles/*": "./styles/*",
|
|
14
|
+
"./tailwind.config": "./tailwind.config.cjs"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"styles/**/*",
|
|
18
|
+
"llm/**/*",
|
|
19
|
+
"README.md",
|
|
20
|
+
"package.json",
|
|
21
|
+
"tailwind.config.cjs"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"prepack": "node ../scripts/package-framework.mjs",
|
|
28
|
+
"pack:dry": "npm pack --dry-run"
|
|
29
|
+
}
|
|
30
|
+
}
|
package/styles/ai.css
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*----------------------------*/
|
|
2
|
+
/* AI */
|
|
3
|
+
/*----------------------------*/
|
|
4
|
+
|
|
5
|
+
@utility ai-perl {
|
|
6
|
+
--ai-perl-size: 140px;
|
|
7
|
+
@apply relative flex items-center justify-center select-none gap-0.5 leading-none;
|
|
8
|
+
@apply text-text-default/25;
|
|
9
|
+
@apply font-semibold tracking-wide;
|
|
10
|
+
width: var(--ai-perl-size);
|
|
11
|
+
height: var(--ai-perl-size);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@utility ai-perl-ring {
|
|
15
|
+
--ai-perl-c1: var(--color-brand-light);
|
|
16
|
+
--ai-perl-c2: var(--color-brand-soft);
|
|
17
|
+
--ai-perl-c3: var(--color-brand-moderate);
|
|
18
|
+
--ai-perl-c1-mid: var(--color-brand-soft);
|
|
19
|
+
--ai-perl-c2-mid: var(--color-brand-light);
|
|
20
|
+
--ai-perl-c3-mid: var(--color-brand-default);
|
|
21
|
+
--ai-perl-glow-1: color-mix(in srgb, var(--color-brand-moderate) 35%, transparent);
|
|
22
|
+
--ai-perl-glow-2: color-mix(in srgb, var(--color-brand-default) 25%, transparent);
|
|
23
|
+
|
|
24
|
+
@apply absolute inset-0 rounded-full animate-ai-perl-circle pointer-events-none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* .dark .ai-perl-ring {
|
|
28
|
+
--ai-perl-c1: var(--color-core-ui-600);
|
|
29
|
+
--ai-perl-c2: var(--color-core-ui-500);
|
|
30
|
+
--ai-perl-c3: var(--color-core-ui-400);
|
|
31
|
+
--ai-perl-c1-mid: var(--color-core-ui-500);
|
|
32
|
+
--ai-perl-c2-mid: var(--color-core-ui-400);
|
|
33
|
+
--ai-perl-c3-mid: var(--color-core-ui-300);
|
|
34
|
+
--ai-perl-glow-1: color-mix(in srgb, var(--color-core-ui-500) 35%, transparent);
|
|
35
|
+
--ai-perl-glow-2: color-mix(in srgb, var(--color-core-ui-400) 25%, transparent);
|
|
36
|
+
} */
|
|
37
|
+
|
|
38
|
+
@utility ai-orb {
|
|
39
|
+
--ai-orb-size: 140px;
|
|
40
|
+
--ai-orb-c1: var(--color-brand-default);
|
|
41
|
+
--ai-orb-c2: var(--color-brand-soft);
|
|
42
|
+
--ai-orb-c3: var(--color-brand-moderate);
|
|
43
|
+
|
|
44
|
+
@apply relative grid place-items-center overflow-clip rounded-full;
|
|
45
|
+
width: var(--ai-orb-size);
|
|
46
|
+
height: var(--ai-orb-size);
|
|
47
|
+
background: radial-gradient(
|
|
48
|
+
circle,
|
|
49
|
+
color-mix(in srgb, var(--color-core-black) 12%, transparent) 0%,
|
|
50
|
+
color-mix(in srgb, var(--color-core-black) 6%, transparent) 30%,
|
|
51
|
+
transparent 70%
|
|
52
|
+
);
|
|
53
|
+
box-shadow: 0 0.5rem 0.25rem -0.125rem color-mix(in srgb, var(--color-text-inverted) 20%, transparent), inset 0 3rem 1rem 0rem color-mix(in srgb, var(--color-text-inverted) 90%, transparent), inset 0 -1.5rem 3rem 1.5rem color-mix(in srgb, var(--color-text-inverted) 100%, transparent);
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* .dark .ai-orb {
|
|
58
|
+
background: radial-gradient(
|
|
59
|
+
circle,
|
|
60
|
+
color-mix(in srgb, var(--color-core-white) 12%, transparent) 0%,
|
|
61
|
+
color-mix(in srgb, var(--color-core-white) 4%, transparent) 30%,
|
|
62
|
+
transparent 70%
|
|
63
|
+
);
|
|
64
|
+
} */
|
|
65
|
+
|
|
66
|
+
@utility ai-orb-glow {
|
|
67
|
+
@apply absolute inset-0 rounded-full animate-ai-orb-rotate blur-lg contrast-180 saturate-50 translate-z-0 will-change-transform;
|
|
68
|
+
background:
|
|
69
|
+
conic-gradient(
|
|
70
|
+
from 30deg at 30% 65%,
|
|
71
|
+
var(--ai-orb-c3) 0deg,
|
|
72
|
+
transparent 45deg 315deg,
|
|
73
|
+
var(--ai-orb-c3) 360deg
|
|
74
|
+
),
|
|
75
|
+
conic-gradient(
|
|
76
|
+
from 120deg at 70% 35%,
|
|
77
|
+
var(--ai-orb-c2) 0deg,
|
|
78
|
+
transparent 60deg 300deg,
|
|
79
|
+
var(--ai-orb-c2) 360deg
|
|
80
|
+
),
|
|
81
|
+
conic-gradient(
|
|
82
|
+
from 210deg at 65% 75%,
|
|
83
|
+
var(--ai-orb-c1) 0deg,
|
|
84
|
+
transparent 90deg 270deg,
|
|
85
|
+
var(--ai-orb-c1) 360deg
|
|
86
|
+
),
|
|
87
|
+
conic-gradient(
|
|
88
|
+
from 15deg at 25% 25%,
|
|
89
|
+
var(--ai-orb-c2) 0deg,
|
|
90
|
+
transparent 30deg 330deg,
|
|
91
|
+
var(--ai-orb-c2) 360deg
|
|
92
|
+
),
|
|
93
|
+
conic-gradient(
|
|
94
|
+
from 300deg at 80% 80%,
|
|
95
|
+
var(--ai-orb-c1) 0deg,
|
|
96
|
+
transparent 45deg 315deg,
|
|
97
|
+
var(--ai-orb-c1) 360deg
|
|
98
|
+
),
|
|
99
|
+
radial-gradient(
|
|
100
|
+
ellipse 120% 80% at 40% 60%,
|
|
101
|
+
var(--ai-orb-c3) 0%,
|
|
102
|
+
transparent 50%
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@utility ai-orb-core {
|
|
107
|
+
@apply absolute inset-0 rounded-full mix-blend-overlay;
|
|
108
|
+
background: radial-gradient(
|
|
109
|
+
circle at 45% 55%,
|
|
110
|
+
color-mix(in srgb, var(--color-core-white) 12%, transparent) 0%,
|
|
111
|
+
color-mix(in srgb, var(--color-core-white) 6%, transparent) 30%,
|
|
112
|
+
transparent 60%
|
|
113
|
+
);
|
|
114
|
+
}
|