@david-richard/notify-ds 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/tokens.json ADDED
@@ -0,0 +1,285 @@
1
+ {
2
+ "$schema": "https://tr.designtokens.org/format/",
3
+ "$metadata": {
4
+ "product": "Qu Notify",
5
+ "version": "1.0.0",
6
+ "format": "W3C DTCG",
7
+ "tiers": "primitives → semantic → component"
8
+ },
9
+
10
+ "primitive": {
11
+
12
+ "color": {
13
+ "brand": {
14
+ "tech-blue": { "$value": "#40CCF2", "$type": "color", "$description": "Primary CTA: active buttons, input focus, checkboxes, filter active states. Never use as large background fill." },
15
+ "teal": { "$value": "#339FB8", "$type": "color", "$description": "Secondary interactive: secondary button outline/text, link text, action labels, check numbers." },
16
+ "red": { "$value": "#EF2149", "$type": "color", "$description": "Error borders, error text, required asterisk, toast background. Also 'Beyond Red' brand color." },
17
+ "confidence": { "$value": "#B4002F", "$type": "color", "$description": "Strong destructive — reserved." },
18
+ "stable-blue": { "$value": "#0D2A4B", "$type": "color", "$description": "Reserved — Kitchen Intelligence dark gradient anchor." },
19
+ "quick-serve": { "$value": "#E4ECEF", "$type": "color", "$description": "Reserved." },
20
+ "gray-300": { "$value": "#6B7280", "$type": "color", "$description": "Secondary/inactive text, helper text, unselected nav labels." }
21
+ },
22
+ "neutral": {
23
+ "black": { "$value": "#000000", "$type": "color", "$description": "Primary text, selected tab/nav fill, metric values." },
24
+ "near-black": { "$value": "#0A0A0A", "$type": "color", "$description": "Reserved." },
25
+ "white": { "$value": "#FFFFFF", "$type": "color", "$description": "Card/tile backgrounds, selected-state text." },
26
+ "gray-50": { "$value": "#F4F4F4", "$type": "color", "$description": "App screen background. Always use for page-level background." },
27
+ "gray-100": { "$value": "#DEDEDE", "$type": "color", "$description": "Inactive button bg, tab/switcher container bg, disabled surfaces." },
28
+ "gray-200": { "$value": "#C9C9C9", "$type": "color", "$description": "Input field border (normal), disabled borders." },
29
+ "gray-400": { "$value": "#B1B1B1", "$type": "color", "$description": "Placeholder text, captions." }
30
+ },
31
+ "accent": {
32
+ "green": { "$value": "#16A34A", "$type": "color", "$description": "Success foreground." },
33
+ "green-soft": { "$value": "#B3F5D1", "$type": "color", "$description": "Success background tint (Mint)." },
34
+ "green-vivid": { "$value": "#00C16A", "$type": "color", "$description": "Vivid success (Confirmed)." },
35
+ "blue": { "$value": "#2F80ED", "$type": "color", "$description": "Link color, info foreground." },
36
+ "blue-soft": { "$value": "#BEDBFF", "$type": "color", "$description": "Info background tint (Mist)." },
37
+ "red-soft": { "$value": "#FFC9C9", "$type": "color", "$description": "Error background tint (Rose)." },
38
+ "yellow": { "$value": "#EDC948", "$type": "color", "$description": "Warning foreground." },
39
+ "yellow-soft": { "$value": "#FFF085", "$type": "color", "$description": "Warning background tint (Pollen)." },
40
+ "orange": { "$value": "#FA6A0A", "$type": "color", "$description": "Alert foreground." },
41
+ "orange-soft": { "$value": "#EAC1C3", "$type": "color", "$description": "Alert background tint (Peel)." }
42
+ }
43
+ },
44
+
45
+ "radius": {
46
+ "xs": { "$value": "2px", "$type": "dimension", "$description": "Subtle rounding." },
47
+ "sm": { "$value": "4px", "$type": "dimension" },
48
+ "md": { "$value": "6px", "$type": "dimension", "$description": "Icon-only button corners." },
49
+ "lg": { "$value": "8px", "$type": "dimension", "$description": "Switcher container and segments." },
50
+ "xl": { "$value": "12px", "$type": "dimension", "$description": "Filters, selectors." },
51
+ "2xl": { "$value": "16px", "$type": "dimension", "$description": "Metric tiles, nav icon labels." },
52
+ "3xl": { "$value": "24px", "$type": "dimension", "$description": "Modals, card containers." },
53
+ "menu": { "$value": "60px", "$type": "dimension", "$description": "Menu bottom sheet, bottom nav pill." },
54
+ "full": { "$value": "9999px", "$type": "dimension", "$description": "Inputs, buttons, pills, tags, selectors, bottom nav." }
55
+ },
56
+
57
+ "spacing": {
58
+ "xs": { "$value": "4px", "$type": "dimension" },
59
+ "sm": { "$value": "8px", "$type": "dimension" },
60
+ "md": { "$value": "10px", "$type": "dimension", "$description": "Compact UI exception." },
61
+ "lg": { "$value": "16px", "$type": "dimension", "$description": "Standard horizontal screen padding." },
62
+ "xl": { "$value": "18px", "$type": "dimension" },
63
+ "2xl": { "$value": "22px", "$type": "dimension" },
64
+ "3xl": { "$value": "24px", "$type": "dimension" },
65
+ "4xl": { "$value": "26px", "$type": "dimension" },
66
+ "5xl": { "$value": "30px", "$type": "dimension" },
67
+ "6xl": { "$value": "40px", "$type": "dimension" },
68
+ "7xl": { "$value": "48px", "$type": "dimension" },
69
+ "8xl": { "$value": "60px", "$type": "dimension" }
70
+ },
71
+
72
+ "font-family": {
73
+ "primary": { "$value": "Inter, system-ui, sans-serif", "$type": "fontFamily", "$description": "Body, data labels, metric values, buttons." },
74
+ "secondary": { "$value": "'Red Hat Text', 'Red Hat Display', system-ui, sans-serif", "$type": "fontFamily", "$description": "Page headers, input labels, button labels, uppercase section titles." },
75
+ "display": { "$value": "'Zilla Slab', Georgia, serif", "$type": "fontFamily", "$description": "Display headings, pull quotes, splash screen. NEVER body copy." },
76
+ "system": { "$value": "-apple-system, 'SF Pro', system-ui, sans-serif", "$type": "fontFamily", "$description": "iOS-native contexts only (status bar, system dialogs)." }
77
+ },
78
+
79
+ "font-size": {
80
+ "2xs": { "$value": "10px", "$type": "dimension", "$description": "Nav item labels." },
81
+ "xs": { "$value": "12px", "$type": "dimension", "$description": "Help text, pills, tag labels, captions." },
82
+ "sm": { "$value": "14px", "$type": "dimension", "$description": "Filters, tabs, table items, small buttons, menu items." },
83
+ "md": { "$value": "16px", "$type": "dimension", "$description": "Body text, placeholder text." },
84
+ "lg": { "$value": "18px", "$type": "dimension", "$description": "Page headers, input labels, medium buttons." },
85
+ "xl": { "$value": "20px", "$type": "dimension", "$description": "Rarely used in app." },
86
+ "2xl": { "$value": "24px", "$type": "dimension", "$description": "Metric tile values, login headers." },
87
+ "3xl": { "$value": "26px", "$type": "dimension", "$description": "Modal headers." },
88
+ "4xl": { "$value": "30px", "$type": "dimension", "$description": "Rarely used." },
89
+ "5xl": { "$value": "34px", "$type": "dimension", "$description": "Day-part selector (Kitchen Intelligence)." },
90
+ "6xl": { "$value": "40px", "$type": "dimension", "$description": "Display." },
91
+ "7xl": { "$value": "72px", "$type": "dimension", "$description": "Kitchen Intelligence score." }
92
+ },
93
+
94
+ "font-weight": {
95
+ "light": { "$value": 300, "$type": "fontWeight" },
96
+ "normal": { "$value": 400, "$type": "fontWeight" },
97
+ "medium": { "$value": 500, "$type": "fontWeight" },
98
+ "semibold": { "$value": 600, "$type": "fontWeight" },
99
+ "bold": { "$value": 700, "$type": "fontWeight" },
100
+ "extrabold": { "$value": 800, "$type": "fontWeight" }
101
+ },
102
+
103
+ "shadow": {
104
+ "card": { "$value": "0px 4px 4px 0px rgba(0,0,0,0.06)", "$type": "shadow", "$description": "Metric tiles, data cards." },
105
+ "nav": { "$value": "0px 4px 4px 0px rgba(0,0,0,0.14)", "$type": "shadow", "$description": "Bottom nav pill." },
106
+ "modal": { "$value": "0px 4px 4px 0px rgba(0,0,0,0.25)", "$type": "shadow", "$description": "Modal sheets." }
107
+ },
108
+
109
+ "gradient": {
110
+ "ki-bg": { "$value": "linear-gradient(180deg, #252934 0%, #16171A 100%)", "$type": "color", "$description": "Kitchen Intelligence dark background." },
111
+ "nav-glass": { "$value": "linear-gradient(180deg, rgba(220,220,220,0.2) 0%, rgba(118,118,118,0.2) 87%)", "$type": "color", "$description": "Bottom nav glass pill fill." },
112
+ "glass": { "$value": "linear-gradient(180deg, rgba(255,255,255,0.10) 10%, rgba(153,153,153,0.10) 100%)", "$type": "color", "$description": "Menu/modal glass overlay." },
113
+ "brand-divider": { "$value": "linear-gradient(90deg, #40CCF2 0%, #EF2149 100%)", "$type": "color", "$description": "Brand accent divider line." }
114
+ },
115
+
116
+ "opacity": {
117
+ "disabled": { "$value": 0.5, "$type": "number", "$description": "Applied to entire component when disabled. Color values underneath do not change." }
118
+ },
119
+
120
+ "duration": {
121
+ "fast": { "$value": "120ms", "$type": "duration", "$description": "Color transitions, hover states." },
122
+ "medium": { "$value": "180ms", "$type": "duration", "$description": "Toggle slide, tab selection." }
123
+ },
124
+
125
+ "easing": {
126
+ "standard": { "$value": "cubic-bezier(0.2, 0, 0, 1)", "$type": "cubicBezier" }
127
+ }
128
+ },
129
+
130
+ "semantic": {
131
+
132
+ "color": {
133
+ "background": { "$value": "{primitive.color.neutral.white}", "$type": "color", "$description": "Card and sheet backgrounds." },
134
+ "background-app": { "$value": "{primitive.color.neutral.gray-50}", "$type": "color", "$description": "App screen background. Always gray-50, never white at page level." },
135
+ "foreground": { "$value": "{primitive.color.neutral.black}", "$type": "color" },
136
+ "muted": { "$value": "{primitive.color.neutral.gray-50}", "$type": "color" },
137
+ "muted-foreground": { "$value": "{primitive.color.brand.gray-300}", "$type": "color" },
138
+ "border": { "$value": "{primitive.color.neutral.gray-200}", "$type": "color", "$description": "Default input border, card dividers." },
139
+ "ring": { "$value": "{primitive.color.brand.tech-blue}", "$type": "color", "$description": "Focus ring." },
140
+
141
+ "primary": { "$value": "{primitive.color.brand.tech-blue}", "$type": "color", "$description": "Primary CTA button fill, context selector fill." },
142
+ "primary-foreground": { "$value": "{primitive.color.neutral.black}", "$type": "color", "$description": "Text on cyan background." },
143
+ "primary-hover": { "$value": "{primitive.color.brand.teal}", "$type": "color" },
144
+ "primary-pressed": { "$value": "{primitive.color.brand.stable-blue}","$type": "color" },
145
+
146
+ "secondary-border": { "$value": "{primitive.color.brand.teal}", "$type": "color" },
147
+ "secondary-foreground":{ "$value": "{primitive.color.brand.teal}", "$type": "color" },
148
+ "secondary-hover": { "$value": "rgba(51,159,184,0.08)", "$type": "color" },
149
+ "secondary-pressed": { "$value": "rgba(51,159,184,0.16)", "$type": "color" },
150
+
151
+ "tertiary-foreground": { "$value": "{primitive.color.brand.teal}", "$type": "color" },
152
+ "tertiary-hover": { "$value": "rgba(51,159,184,0.06)", "$type": "color" },
153
+
154
+ "link": { "$value": "{primitive.color.accent.blue}", "$type": "color" },
155
+
156
+ "nav-selected": { "$value": "{primitive.color.neutral.black}", "$type": "color", "$description": "Tab/nav selected-state fill. Distinct from primary CTA (cyan)." },
157
+ "nav-selected-text": { "$value": "{primitive.color.neutral.white}", "$type": "color" },
158
+
159
+ "inactive": { "$value": "{primitive.color.neutral.gray-100}", "$type": "color" },
160
+ "inactive-foreground": { "$value": "{primitive.color.brand.gray-300}", "$type": "color" },
161
+ "inactive-border": { "$value": "{primitive.color.neutral.gray-200}", "$type": "color" },
162
+
163
+ "destructive": { "$value": "{primitive.color.brand.red}", "$type": "color" },
164
+ "destructive-strong": { "$value": "{primitive.color.brand.confidence}", "$type": "color" },
165
+
166
+ "success": { "$value": "{primitive.color.accent.green}", "$type": "color" },
167
+ "success-soft": { "$value": "{primitive.color.accent.green-soft}","$type": "color" },
168
+ "info": { "$value": "{primitive.color.accent.blue}", "$type": "color" },
169
+ "info-soft": { "$value": "{primitive.color.accent.blue-soft}", "$type": "color" },
170
+ "error": { "$value": "{primitive.color.brand.red}", "$type": "color" },
171
+ "error-soft": { "$value": "{primitive.color.accent.red-soft}", "$type": "color" },
172
+ "warning": { "$value": "{primitive.color.accent.yellow}", "$type": "color" },
173
+ "warning-soft": { "$value": "{primitive.color.accent.yellow-soft}","$type": "color" },
174
+ "alert": { "$value": "{primitive.color.accent.orange}", "$type": "color" },
175
+ "alert-soft": { "$value": "{primitive.color.accent.orange-soft}","$type": "color" },
176
+
177
+ "text-primary": { "$value": "{primitive.color.neutral.black}", "$type": "color" },
178
+ "text-secondary": { "$value": "{primitive.color.brand.gray-300}", "$type": "color" },
179
+ "text-tertiary": { "$value": "{primitive.color.brand.gray-300}", "$type": "color" },
180
+ "text-disabled": { "$value": "{primitive.color.neutral.gray-400}", "$type": "color" },
181
+ "text-inverse": { "$value": "{primitive.color.neutral.white}", "$type": "color" },
182
+ "text-on-brand": { "$value": "{primitive.color.neutral.black}", "$type": "color", "$description": "Text on cyan background." },
183
+
184
+ "input-border": { "$value": "{primitive.color.neutral.gray-200}", "$type": "color" },
185
+ "input-border-active": { "$value": "{primitive.color.brand.tech-blue}", "$type": "color" },
186
+ "input-border-error": { "$value": "{primitive.color.brand.red}", "$type": "color" },
187
+ "input-bg": { "$value": "{primitive.color.neutral.white}", "$type": "color" },
188
+ "input-bg-disabled": { "$value": "{primitive.color.neutral.gray-50}", "$type": "color" },
189
+ "input-placeholder": { "$value": "{primitive.color.neutral.gray-400}", "$type": "color" },
190
+ "input-icon": { "$value": "{primitive.color.neutral.gray-400}", "$type": "color" },
191
+ "input-icon-active": { "$value": "{primitive.color.brand.tech-blue}", "$type": "color" },
192
+ "input-icon-error": { "$value": "{primitive.color.brand.red}", "$type": "color" }
193
+ }
194
+ },
195
+
196
+ "component": {
197
+
198
+ "button": {
199
+ "radius": { "$value": "{primitive.radius.full}", "$type": "dimension" },
200
+ "icon-radius": { "$value": "{primitive.radius.md}", "$type": "dimension", "$description": "Icon-only square button corners." },
201
+ "font-family": { "$value": "{primitive.font-family.secondary}", "$type": "fontFamily" },
202
+ "font-weight": { "$value": "{primitive.font-weight.medium}", "$type": "fontWeight" },
203
+ "xsm": {
204
+ "height": { "$value": "24px", "$type": "dimension" },
205
+ "padding-x": { "$value": "12px", "$type": "dimension" },
206
+ "gap": { "$value": "4px", "$type": "dimension" },
207
+ "font-size": { "$value": "{primitive.font-size.xs}", "$type": "dimension" }
208
+ },
209
+ "sm": {
210
+ "height": { "$value": "32px", "$type": "dimension" },
211
+ "padding-x": { "$value": "14px", "$type": "dimension" },
212
+ "gap": { "$value": "6px", "$type": "dimension" },
213
+ "font-size": { "$value": "{primitive.font-size.sm}", "$type": "dimension" }
214
+ },
215
+ "md": {
216
+ "height": { "$value": "40px", "$type": "dimension" },
217
+ "padding-x": { "$value": "16px", "$type": "dimension" },
218
+ "gap": { "$value": "8px", "$type": "dimension" },
219
+ "font-size": { "$value": "{primitive.font-size.sm}", "$type": "dimension" }
220
+ },
221
+ "lg": {
222
+ "height": { "$value": "48px", "$type": "dimension" },
223
+ "padding-x": { "$value": "20px", "$type": "dimension" },
224
+ "gap": { "$value": "8px", "$type": "dimension" },
225
+ "font-size": { "$value": "{primitive.font-size.md}", "$type": "dimension" }
226
+ }
227
+ },
228
+
229
+ "input": {
230
+ "height": { "$value": "48px", "$type": "dimension" },
231
+ "radius": { "$value": "{primitive.radius.full}", "$type": "dimension" },
232
+ "padding-x": { "$value": "16px", "$type": "dimension" },
233
+ "border-width": { "$value": "1.5px", "$type": "dimension" },
234
+ "font-family": { "$value": "{primitive.font-family.primary}", "$type": "fontFamily" },
235
+ "font-size": { "$value": "{primitive.font-size.md}", "$type": "dimension" },
236
+ "font-weight": { "$value": "{primitive.font-weight.normal}", "$type": "fontWeight" },
237
+ "label-font-family": { "$value": "{primitive.font-family.secondary}", "$type": "fontFamily" },
238
+ "label-font-size": { "$value": "{primitive.font-size.lg}", "$type": "dimension" },
239
+ "label-font-weight": { "$value": "{primitive.font-weight.medium}", "$type": "fontWeight" }
240
+ },
241
+
242
+ "tile": {
243
+ "radius": { "$value": "{primitive.radius.2xl}", "$type": "dimension" },
244
+ "padding": { "$value": "16px", "$type": "dimension" },
245
+ "shadow": { "$value": "{primitive.shadow.card}", "$type": "shadow" },
246
+ "background": { "$value": "{semantic.color.background}", "$type": "color" }
247
+ },
248
+
249
+ "bottom-nav": {
250
+ "height": { "$value": "72px", "$type": "dimension" },
251
+ "radius": { "$value": "{primitive.radius.menu}", "$type": "dimension" },
252
+ "max-width": { "$value": "360px", "$type": "dimension" },
253
+ "shadow": { "$value": "{primitive.shadow.nav}", "$type": "shadow" },
254
+ "item-font-size": { "$value": "{primitive.font-size.2xs}", "$type": "dimension" },
255
+ "item-font-selected":{ "$value": "{primitive.font-weight.semibold}", "$type": "fontWeight" }
256
+ },
257
+
258
+ "tab-bar": {
259
+ "radius": { "$value": "{primitive.radius.full}", "$type": "dimension" },
260
+ "padding": { "$value": "4px", "$type": "dimension" },
261
+ "tab-radius": { "$value": "{primitive.radius.full}", "$type": "dimension" },
262
+ "tab-padding-x": { "$value": "16px", "$type": "dimension" },
263
+ "tab-padding-y": { "$value": "7px", "$type": "dimension" },
264
+ "font-size": { "$value": "{primitive.font-size.sm}", "$type": "dimension" },
265
+ "font-weight": { "$value": "{primitive.font-weight.medium}", "$type": "fontWeight" }
266
+ },
267
+
268
+ "switcher": {
269
+ "radius": { "$value": "{primitive.radius.lg}", "$type": "dimension" },
270
+ "padding": { "$value": "3px", "$type": "dimension" },
271
+ "segment-radius":{ "$value": "{primitive.radius.md}", "$type": "dimension" },
272
+ "font-size": { "$value": "{primitive.font-size.sm}", "$type": "dimension" },
273
+ "font-weight": { "$value": "{primitive.font-weight.medium}", "$type": "fontWeight" }
274
+ },
275
+
276
+ "selector": {
277
+ "radius": { "$value": "{primitive.radius.full}", "$type": "dimension" },
278
+ "padding-x": { "$value": "14px", "$type": "dimension" },
279
+ "padding-y": { "$value": "8px", "$type": "dimension" },
280
+ "border-width": { "$value": "1.5px", "$type": "dimension" },
281
+ "font-size": { "$value": "{primitive.font-size.sm}", "$type": "dimension" },
282
+ "font-weight": { "$value": "{primitive.font-weight.medium}", "$type": "fontWeight" }
283
+ }
284
+ }
285
+ }