aetherx-dt-ui 0.1.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.
Files changed (33) hide show
  1. package/dist/cli/index.mjs +440 -0
  2. package/package.json +56 -0
  3. package/src/registry/components/badge/DtBadge.vue +94 -0
  4. package/src/registry/components/badge/index.ts +2 -0
  5. package/src/registry/components/button/DtButton.vue +176 -0
  6. package/src/registry/components/button/index.ts +2 -0
  7. package/src/registry/components/card/DtCard.vue +46 -0
  8. package/src/registry/components/card/DtCardContent.vue +15 -0
  9. package/src/registry/components/card/DtCardFooter.vue +17 -0
  10. package/src/registry/components/card/DtCardHeader.vue +31 -0
  11. package/src/registry/components/card/index.ts +4 -0
  12. package/src/registry/components/dialog/DtDialog.vue +41 -0
  13. package/src/registry/components/dialog/DtDialogContent.vue +140 -0
  14. package/src/registry/components/dialog/DtDialogFooter.vue +18 -0
  15. package/src/registry/components/dialog/DtDialogHeader.vue +32 -0
  16. package/src/registry/components/dialog/DtDialogTrigger.vue +20 -0
  17. package/src/registry/components/dialog/index.ts +5 -0
  18. package/src/registry/components/input/DtInput.vue +140 -0
  19. package/src/registry/components/input/index.ts +2 -0
  20. package/src/registry/components/select/DtSelect.vue +102 -0
  21. package/src/registry/components/select/DtSelectContent.vue +103 -0
  22. package/src/registry/components/select/DtSelectItem.vue +123 -0
  23. package/src/registry/components/select/DtSelectTrigger.vue +128 -0
  24. package/src/registry/components/select/index.ts +4 -0
  25. package/src/registry/docs/badge.md +171 -0
  26. package/src/registry/docs/button.md +184 -0
  27. package/src/registry/docs/card.md +199 -0
  28. package/src/registry/docs/dialog.md +282 -0
  29. package/src/registry/docs/input.md +168 -0
  30. package/src/registry/docs/select.md +346 -0
  31. package/src/registry/lib/utils.ts +4 -0
  32. package/src/registry/registry.json +52 -0
  33. package/src/registry/styles/base.css +143 -0
@@ -0,0 +1,143 @@
1
+ :root {
2
+ /* Base */
3
+ --dt-background: hsl(0 0% 100%);
4
+ --dt-foreground: hsl(240 10% 10%);
5
+
6
+ /* Primary — the brand color */
7
+ --dt-primary: hsl(220 72% 50%);
8
+ --dt-primary-hover: hsl(220 72% 42%);
9
+ --dt-primary-foreground: hsl(0 0% 100%);
10
+
11
+ /* Secondary */
12
+ --dt-secondary: hsl(220 14% 94%);
13
+ --dt-secondary-hover: hsl(220 14% 88%);
14
+ --dt-secondary-foreground: hsl(220 10% 20%);
15
+
16
+ /* Muted */
17
+ --dt-muted: hsl(220 14% 96%);
18
+ --dt-muted-foreground: hsl(220 8% 46%);
19
+
20
+ /* Accent */
21
+ --dt-accent: hsl(220 14% 94%);
22
+ --dt-accent-foreground: hsl(220 10% 20%);
23
+
24
+ /* Destructive */
25
+ --dt-destructive: hsl(0 72% 51%);
26
+ --dt-destructive-hover: hsl(0 72% 43%);
27
+ --dt-destructive-foreground: hsl(0 0% 100%);
28
+
29
+ /* Success */
30
+ --dt-success: hsl(142 72% 40%);
31
+ --dt-success-hover: hsl(142 72% 34%);
32
+ --dt-success-foreground: hsl(0 0% 100%);
33
+
34
+ /* Warning */
35
+ --dt-warning: hsl(38 92% 50%);
36
+ --dt-warning-hover: hsl(38 92% 42%);
37
+ --dt-warning-foreground: hsl(0 0% 100%);
38
+
39
+ /* Borders & Rings */
40
+ --dt-border: hsl(220 13% 88%);
41
+ --dt-border-hover: hsl(220 13% 78%);
42
+ --dt-ring: hsl(220 72% 50%);
43
+
44
+ /* Radii */
45
+ --dt-radius-sm: 0.25rem;
46
+ --dt-radius-md: 0.375rem;
47
+ --dt-radius-lg: 0.5rem;
48
+ --dt-radius-xl: 0.75rem;
49
+ --dt-radius-full: 9999px;
50
+
51
+ /* Shadows */
52
+ --dt-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
53
+ --dt-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
54
+ --dt-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
55
+
56
+ /* Spacing scale */
57
+ --dt-space-1: 0.25rem;
58
+ --dt-space-2: 0.5rem;
59
+ --dt-space-3: 0.75rem;
60
+ --dt-space-4: 1rem;
61
+ --dt-space-5: 1.25rem;
62
+ --dt-space-6: 1.5rem;
63
+ --dt-space-8: 2rem;
64
+ --dt-space-10: 2.5rem;
65
+ --dt-space-12: 3rem;
66
+
67
+ /* Typography */
68
+ --dt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
69
+ --dt-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
70
+ --dt-font-size-xs: 0.75rem;
71
+ --dt-font-size-sm: 0.8125rem;
72
+ --dt-font-size-base: 0.875rem;
73
+ --dt-font-size-lg: 1rem;
74
+ --dt-font-size-xl: 1.125rem;
75
+
76
+ /* Z-index layers */
77
+ --dt-z-dropdown: 50;
78
+ --dt-z-overlay: 100;
79
+ --dt-z-modal: 200;
80
+ --dt-z-toast: 300;
81
+
82
+ /* Transitions */
83
+ --dt-transition-fast: 0.1s ease;
84
+ --dt-transition-base: 0.15s ease;
85
+ --dt-transition-slow: 0.3s ease;
86
+ }
87
+
88
+ /* Dark mode */
89
+ .dark {
90
+ --dt-background: hsl(240 10% 8%);
91
+ --dt-foreground: hsl(0 0% 95%);
92
+
93
+ --dt-primary: hsl(220 72% 60%);
94
+ --dt-primary-hover: hsl(220 72% 68%);
95
+ --dt-primary-foreground: hsl(0 0% 100%);
96
+
97
+ --dt-secondary: hsl(220 14% 16%);
98
+ --dt-secondary-hover: hsl(220 14% 22%);
99
+ --dt-secondary-foreground: hsl(0 0% 90%);
100
+
101
+ --dt-muted: hsl(220 14% 14%);
102
+ --dt-muted-foreground: hsl(220 8% 55%);
103
+
104
+ --dt-accent: hsl(220 14% 18%);
105
+ --dt-accent-foreground: hsl(0 0% 90%);
106
+
107
+ --dt-destructive: hsl(0 62% 55%);
108
+ --dt-destructive-hover: hsl(0 62% 63%);
109
+ --dt-destructive-foreground: hsl(0 0% 100%);
110
+
111
+ --dt-success: hsl(142 72% 48%);
112
+ --dt-success-hover: hsl(142 72% 56%);
113
+ --dt-success-foreground: hsl(0 0% 100%);
114
+
115
+ --dt-warning: hsl(38 92% 55%);
116
+ --dt-warning-hover: hsl(38 92% 63%);
117
+ --dt-warning-foreground: hsl(0 0% 100%);
118
+
119
+ --dt-border: hsl(220 13% 20%);
120
+ --dt-border-hover: hsl(220 13% 30%);
121
+ --dt-ring: hsl(220 72% 60%);
122
+
123
+ --dt-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
124
+ --dt-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
125
+ --dt-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
126
+ }
127
+
128
+ /* Base reset applied when base.css is imported */
129
+ *,
130
+ *::before,
131
+ *::after {
132
+ box-sizing: border-box;
133
+ margin: 0;
134
+ }
135
+
136
+ body {
137
+ font-family: var(--dt-font-sans);
138
+ font-size: var(--dt-font-size-base);
139
+ color: var(--dt-foreground);
140
+ background-color: var(--dt-background);
141
+ -webkit-font-smoothing: antialiased;
142
+ -moz-osx-font-smoothing: grayscale;
143
+ }