@dmitriikapustin/ui 0.2.1 → 0.2.6
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/dist/index.cjs +6392 -1485
- package/dist/index.d.cts +89 -40
- package/dist/index.d.ts +89 -40
- package/dist/index.js +6388 -1486
- package/package.json +7 -11
- package/dist/index.css +0 -4613
- package/dist/styles.css +0 -175
package/dist/styles.css
DELETED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
/* ─── Design Tokens ─── */
|
|
2
|
-
:root {
|
|
3
|
-
/* Neutral Palette */
|
|
4
|
-
--neutral-50: #fafafa;
|
|
5
|
-
--neutral-100: #f7f7f7;
|
|
6
|
-
--neutral-200: #f3f3f3;
|
|
7
|
-
--neutral-300: #e0e0e0;
|
|
8
|
-
--neutral-400: #babbbd;
|
|
9
|
-
--neutral-500: #737373;
|
|
10
|
-
--neutral-600: #4c4c4c;
|
|
11
|
-
--neutral-700: #404040;
|
|
12
|
-
--neutral-800: #262626;
|
|
13
|
-
--neutral-900: #18181b;
|
|
14
|
-
--neutral-950: #0a0a0a;
|
|
15
|
-
|
|
16
|
-
/* Brand Colors */
|
|
17
|
-
--brand-primary: #18181b;
|
|
18
|
-
--brand-primary-light: #4c4c4c;
|
|
19
|
-
--brand-primary-dark: #0a0a0a;
|
|
20
|
-
--brand-secondary: #f3f3f3;
|
|
21
|
-
--brand-secondary-light: #f7f7f7;
|
|
22
|
-
--brand-secondary-dark: #e0e0e0;
|
|
23
|
-
--brand-accent: #18181b;
|
|
24
|
-
--brand-accent-light: #4c4c4c;
|
|
25
|
-
--brand-accent-dark: #0a0a0a;
|
|
26
|
-
|
|
27
|
-
/* Accent */
|
|
28
|
-
--color-accent: #02ad41;
|
|
29
|
-
--color-accent-light: #34c759;
|
|
30
|
-
--color-accent-dark: #029236;
|
|
31
|
-
|
|
32
|
-
/* Semantic Colors */
|
|
33
|
-
--color-success: #22c55e;
|
|
34
|
-
--color-success-light: #86efac;
|
|
35
|
-
--color-success-dark: #16a34a;
|
|
36
|
-
--color-warning: #f59e0b;
|
|
37
|
-
--color-warning-light: #fcd34d;
|
|
38
|
-
--color-warning-dark: #d97706;
|
|
39
|
-
--color-error: #ef4444;
|
|
40
|
-
--color-error-light: #fca5a5;
|
|
41
|
-
--color-error-dark: #dc2626;
|
|
42
|
-
--color-info: #3b82f6;
|
|
43
|
-
--color-info-light: #93c5fd;
|
|
44
|
-
--color-info-dark: #2563eb;
|
|
45
|
-
|
|
46
|
-
/* Surfaces */
|
|
47
|
-
--bg: #ffffff;
|
|
48
|
-
--bg-secondary: #f7f7f7;
|
|
49
|
-
--bg-tertiary: #f3f3f3;
|
|
50
|
-
--fg: #18181b;
|
|
51
|
-
--fg-secondary: #4c4c4c;
|
|
52
|
-
--fg-muted: #babbbd;
|
|
53
|
-
--border-color: #e0e0e0;
|
|
54
|
-
--border-color-strong: #babbbd;
|
|
55
|
-
|
|
56
|
-
/* Typography */
|
|
57
|
-
--font-sans: var(--font-onest), system-ui, -apple-system, sans-serif;
|
|
58
|
-
--font-mono: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
|
|
59
|
-
--text-xs: 0.75rem;
|
|
60
|
-
--text-sm: 0.875rem;
|
|
61
|
-
--text-base: 1rem;
|
|
62
|
-
--text-lg: 1.125rem;
|
|
63
|
-
--text-xl: 1.25rem;
|
|
64
|
-
--text-2xl: 1.5rem;
|
|
65
|
-
--text-3xl: 1.875rem;
|
|
66
|
-
--text-4xl: 2.25rem;
|
|
67
|
-
--text-5xl: 3rem;
|
|
68
|
-
--text-6xl: 3.75rem;
|
|
69
|
-
|
|
70
|
-
/* Spacing */
|
|
71
|
-
--space-1: 0.25rem;
|
|
72
|
-
--space-2: 0.5rem;
|
|
73
|
-
--space-3: 0.75rem;
|
|
74
|
-
--space-4: 1rem;
|
|
75
|
-
--space-5: 1.25rem;
|
|
76
|
-
--space-6: 1.5rem;
|
|
77
|
-
--space-8: 2rem;
|
|
78
|
-
--space-10: 2.5rem;
|
|
79
|
-
--space-12: 3rem;
|
|
80
|
-
--space-16: 4rem;
|
|
81
|
-
--space-20: 5rem;
|
|
82
|
-
--space-24: 6rem;
|
|
83
|
-
|
|
84
|
-
/* Shadows */
|
|
85
|
-
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
86
|
-
--shadow-sm: 0 7px 7px 0 rgb(0 0 0 / 0.07);
|
|
87
|
-
--shadow-md: 0 7px 13px 0 rgb(0 0 0 / 0.05);
|
|
88
|
-
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
89
|
-
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
90
|
-
|
|
91
|
-
/* Border Radius */
|
|
92
|
-
--radius-sm: 0.25rem;
|
|
93
|
-
--radius-md: 0.5rem;
|
|
94
|
-
--radius-lg: 1rem;
|
|
95
|
-
--radius-xl: 1rem;
|
|
96
|
-
--radius-2xl: 1rem;
|
|
97
|
-
--radius-full: 9999px;
|
|
98
|
-
|
|
99
|
-
/* Transitions */
|
|
100
|
-
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
101
|
-
--transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
102
|
-
--transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/* Dark Mode */
|
|
106
|
-
[data-theme="dark"] {
|
|
107
|
-
--bg: #09090b;
|
|
108
|
-
--bg-secondary: #18181b;
|
|
109
|
-
--bg-tertiary: #27272a;
|
|
110
|
-
--fg: #fafafa;
|
|
111
|
-
--fg-secondary: #a1a1aa;
|
|
112
|
-
--fg-muted: #71717a;
|
|
113
|
-
--border-color: #27272a;
|
|
114
|
-
--border-color-strong: #3f3f46;
|
|
115
|
-
|
|
116
|
-
--brand-primary: #818cf8;
|
|
117
|
-
--brand-primary-light: #a5b4fc;
|
|
118
|
-
--brand-primary-dark: #6366f1;
|
|
119
|
-
--brand-secondary: #f472b6;
|
|
120
|
-
--brand-secondary-light: #f9a8d4;
|
|
121
|
-
--brand-secondary-dark: #ec4899;
|
|
122
|
-
|
|
123
|
-
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
|
|
124
|
-
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
|
|
125
|
-
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
|
|
126
|
-
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
|
|
127
|
-
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/* Logo dark-mode: invert dark SVG fills to light when loaded via <img> */
|
|
131
|
-
[data-theme="dark"] .logo-img {
|
|
132
|
-
filter: invert(1);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@theme inline {
|
|
136
|
-
--color-background: var(--bg);
|
|
137
|
-
--color-foreground: var(--fg);
|
|
138
|
-
--font-sans: var(--font-sans);
|
|
139
|
-
--font-mono: var(--font-mono);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* ─── Base Styles ─── */
|
|
143
|
-
* {
|
|
144
|
-
border-color: var(--border-color);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
body {
|
|
148
|
-
background: var(--bg);
|
|
149
|
-
color: var(--fg);
|
|
150
|
-
font-family: var(--font-sans);
|
|
151
|
-
line-height: 1.6;
|
|
152
|
-
-webkit-font-smoothing: antialiased;
|
|
153
|
-
-moz-osx-font-smoothing: grayscale;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
::selection {
|
|
157
|
-
background: var(--brand-primary);
|
|
158
|
-
color: white;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/* Scrollbar */
|
|
162
|
-
::-webkit-scrollbar {
|
|
163
|
-
width: 8px;
|
|
164
|
-
height: 8px;
|
|
165
|
-
}
|
|
166
|
-
::-webkit-scrollbar-track {
|
|
167
|
-
background: var(--bg-secondary);
|
|
168
|
-
}
|
|
169
|
-
::-webkit-scrollbar-thumb {
|
|
170
|
-
background: var(--fg-muted);
|
|
171
|
-
border-radius: var(--radius-full);
|
|
172
|
-
}
|
|
173
|
-
::-webkit-scrollbar-thumb:hover {
|
|
174
|
-
background: var(--fg-secondary);
|
|
175
|
-
}
|