@7onic-ui/tokens 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.
@@ -0,0 +1,7 @@
1
+ /* Auto-generated by sync-tokens — DO NOT EDIT */
2
+ /* All-in-one Tailwind v4 bundle: variables + themes + v4 mapping */
3
+
4
+ @import '../css/variables.css';
5
+ @import '../css/themes/light.css';
6
+ @import '../css/themes/dark.css';
7
+ @import './v4-theme.css';
@@ -0,0 +1,200 @@
1
+ /**
2
+ * 7onic Design Tokens — TypeScript type definitions
3
+ * ⚠️ Auto-generated — DO NOT EDIT
4
+ */
5
+
6
+ type Shade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
7
+ type ShadeRecord = Record<Shade, string>;
8
+
9
+ export declare const colors: {
10
+ white: string;
11
+ black: string;
12
+ gray: ShadeRecord;
13
+ primary: ShadeRecord;
14
+ secondary: ShadeRecord;
15
+ blue: ShadeRecord;
16
+ green: ShadeRecord;
17
+ yellow: ShadeRecord;
18
+ red: ShadeRecord;
19
+ chart: ShadeRecord;
20
+ };
21
+
22
+ export declare const spacing: Record<'0' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '4' | '5' | '6' | '7' | '8' | '10' | '12' | '14' | '16' | '20' | '24', string>;
23
+
24
+ export declare const fontSize: Record<'2xs' | 'xs' | 'sm' | 'md' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl', { size: string; lineHeight: string }>;
25
+
26
+ export declare const borderRadius: Record<'none' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full', string>;
27
+
28
+ export declare const shadow: Record<'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'primary-glow', string>;
29
+
30
+ export declare const zIndex: Record<'0' | '10' | '20' | '30' | '40' | '50' | 'sticky' | 'dropdown' | 'overlay' | 'modal' | 'popover' | 'tooltip' | 'toast', string | number>;
31
+
32
+ export declare const duration: Record<'instant' | 'fast' | 'micro' | 'normal' | 'slow' | 'slower' | 'slowest', string>;
33
+
34
+ export declare const iconSize: Record<'2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl', string>;
35
+
36
+ export declare const opacity: Record<'0' | '5' | '10' | '15' | '20' | '25' | '30' | '35' | '40' | '45' | '50' | '55' | '60' | '65' | '70' | '75' | '80' | '85' | '90' | '95' | '100', string>;
37
+
38
+ export declare const fontWeight: Record<'normal' | 'semibold' | 'bold', string>;
39
+
40
+ export declare const borderWidth: Record<'0' | '1' | '2' | '4' | '8', string>;
41
+
42
+ export declare const scale: Record<'50' | '75' | '95' | 'pressed', string>;
43
+
44
+ export declare const easing: Record<'linear' | 'ease' | 'easeIn' | 'easeOut' | 'easeInOut', string>;
45
+
46
+ export declare const breakpoint: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>;
47
+
48
+ export declare const fontFamily: Record<'sans' | 'mono', string>;
49
+
50
+ export declare const componentSize: {
51
+ switch: {
52
+ track: {
53
+ sm: { width: string; height: string };
54
+ default: { width: string; height: string };
55
+ lg: { width: string; height: string };
56
+ };
57
+ thumb: {
58
+ sm: string;
59
+ default: string;
60
+ lg: string;
61
+ };
62
+ };
63
+ slider: {
64
+ thumb: {
65
+ sm: string;
66
+ default: string;
67
+ lg: string;
68
+ };
69
+ };
70
+ };
71
+
72
+ export declare const animation: {
73
+ 'checkbox-enter': { scale: string; opacity: string; duration: string; easing: string };
74
+ 'radio-enter': { scale: string; opacity: string; duration: string; easing: string };
75
+ 'fade-in': { opacity: string; duration: string; easing: string };
76
+ 'fade-out': { opacity: string; duration: string; easing: string };
77
+ 'modal-overlay-enter': { opacity: string; duration: string; easing: string };
78
+ 'modal-overlay-exit': { opacity: string; duration: string; easing: string };
79
+ 'modal-content-enter': { translateY: string; scale: string; opacity: string; duration: string; easing: string };
80
+ 'modal-content-exit': { translateY: string; scale: string; opacity: string; duration: string; easing: string };
81
+ 'nav-viewport-enter': { translateY: string; scale: string; opacity: string; duration: string; easing: string };
82
+ 'nav-viewport-exit': { translateY: string; scale: string; opacity: string; duration: string; easing: string };
83
+ 'accordion-down': { heightVar: string; duration: string; easing: string };
84
+ 'accordion-up': { heightVar: string; duration: string; easing: string };
85
+ 'collapsible-down': { heightVar: string; duration: string; easing: string };
86
+ 'collapsible-up': { heightVar: string; duration: string; easing: string };
87
+ 'drawer-right-enter': { translateX: string; duration: string; easing: string };
88
+ 'drawer-right-exit': { translateX: string; duration: string; easing: string };
89
+ 'drawer-left-enter': { translateX: string; duration: string; easing: string };
90
+ 'drawer-left-exit': { translateX: string; duration: string; easing: string };
91
+ 'drawer-top-enter': { translateY: string; duration: string; easing: string };
92
+ 'drawer-top-exit': { translateY: string; duration: string; easing: string };
93
+ 'drawer-bottom-enter': { translateY: string; duration: string; easing: string };
94
+ 'drawer-bottom-exit': { translateY: string; duration: string; easing: string };
95
+ 'tooltip-top-enter': { translateY: string; opacity: string; duration: string; easing: string };
96
+ 'tooltip-top-exit': { translateY: string; opacity: string; duration: string; easing: string };
97
+ 'tooltip-bottom-enter': { translateY: string; opacity: string; duration: string; easing: string };
98
+ 'tooltip-bottom-exit': { translateY: string; opacity: string; duration: string; easing: string };
99
+ 'tooltip-right-enter': { translateX: string; opacity: string; duration: string; easing: string };
100
+ 'tooltip-right-exit': { translateX: string; opacity: string; duration: string; easing: string };
101
+ 'tooltip-left-enter': { translateX: string; opacity: string; duration: string; easing: string };
102
+ 'tooltip-left-exit': { translateX: string; opacity: string; duration: string; easing: string };
103
+ 'popover-top-enter': { translateY: string; opacity: string; duration: string; easing: string };
104
+ 'popover-top-exit': { translateY: string; opacity: string; duration: string; easing: string };
105
+ 'popover-bottom-enter': { translateY: string; opacity: string; duration: string; easing: string };
106
+ 'popover-bottom-exit': { translateY: string; opacity: string; duration: string; easing: string };
107
+ 'popover-right-enter': { translateX: string; opacity: string; duration: string; easing: string };
108
+ 'popover-right-exit': { translateX: string; opacity: string; duration: string; easing: string };
109
+ 'popover-left-enter': { translateX: string; opacity: string; duration: string; easing: string };
110
+ 'popover-left-exit': { translateX: string; opacity: string; duration: string; easing: string };
111
+ 'toast-slide-in-right': { translateX: string; opacity: string; duration: string; easing: string };
112
+ 'toast-slide-out-right': { translateX: string; opacity: string; duration: string; easing: string };
113
+ 'toast-slide-in-left': { translateX: string; opacity: string; duration: string; easing: string };
114
+ 'toast-slide-out-left': { translateX: string; opacity: string; duration: string; easing: string };
115
+ 'toast-slide-in-top': { translateY: string; opacity: string; duration: string; easing: string };
116
+ 'toast-slide-out-top': { translateY: string; opacity: string; duration: string; easing: string };
117
+ 'toast-slide-in-bottom': { translateY: string; opacity: string; duration: string; easing: string };
118
+ 'toast-slide-out-bottom': { translateY: string; opacity: string; duration: string; easing: string };
119
+ 'spin': { duration: string; easing: string };
120
+ 'progress-stripe': { duration: string; easing: string };
121
+ 'spinner-orbit': { duration: string; easing: string };
122
+ 'spinner-dot': { duration: string; easing: string };
123
+ 'spinner-bar': { duration: string; easing: string };
124
+ 'spinner-morph': { duration: string; easing: string };
125
+ 'skeleton-pulse': { duration: string; easing: string };
126
+ 'skeleton-wave': { duration: string; easing: string };
127
+ };
128
+
129
+ export declare const typography: {
130
+ heading: {
131
+ '1': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
132
+ '2': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
133
+ '3': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
134
+ '4': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
135
+ '5': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
136
+ '6': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
137
+ };
138
+ body: {
139
+ 'lg': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
140
+ 'default': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
141
+ 'md': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
142
+ 'sm': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
143
+ 'xs': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
144
+ '2xs': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
145
+ };
146
+ label: {
147
+ 'lg': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
148
+ 'md': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
149
+ 'default': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
150
+ 'sm': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
151
+ 'xs': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
152
+ };
153
+ caption: { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
154
+ code: {
155
+ 'block': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
156
+ 'inline': { fontFamily: string; fontSize: string; fontWeight: string; lineHeight: string };
157
+ };
158
+ };
159
+
160
+ // Named type aliases for convenience
161
+ export type Colors = typeof colors;
162
+ export type Spacing = typeof spacing;
163
+ export type FontSize = typeof fontSize;
164
+ export type BorderRadius = typeof borderRadius;
165
+ export type Shadow = typeof shadow;
166
+ export type ZIndex = typeof zIndex;
167
+ export type Duration = typeof duration;
168
+ export type IconSize = typeof iconSize;
169
+ export type Opacity = typeof opacity;
170
+ export type FontWeight = typeof fontWeight;
171
+ export type BorderWidth = typeof borderWidth;
172
+ export type Scale = typeof scale;
173
+ export type Easing = typeof easing;
174
+ export type Breakpoint = typeof breakpoint;
175
+ export type FontFamily = typeof fontFamily;
176
+ export type ComponentSize = typeof componentSize;
177
+ export type Animation = typeof animation;
178
+ export type Typography = typeof typography;
179
+
180
+ declare const tokens: {
181
+ colors: typeof colors;
182
+ spacing: typeof spacing;
183
+ fontSize: typeof fontSize;
184
+ borderRadius: typeof borderRadius;
185
+ shadow: typeof shadow;
186
+ zIndex: typeof zIndex;
187
+ duration: typeof duration;
188
+ iconSize: typeof iconSize;
189
+ opacity: typeof opacity;
190
+ fontWeight: typeof fontWeight;
191
+ borderWidth: typeof borderWidth;
192
+ scale: typeof scale;
193
+ easing: typeof easing;
194
+ breakpoint: typeof breakpoint;
195
+ fontFamily: typeof fontFamily;
196
+ componentSize: typeof componentSize;
197
+ animation: typeof animation;
198
+ typography: typeof typography;
199
+ };
200
+ export default tokens;