creactive 0.0.94 → 0.0.96

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.
@@ -143,262 +143,295 @@ export interface ThemeContextValue {
143
143
  */
144
144
  colorForegroundBase900: Color;
145
145
  /**
146
- * Inverse foreground 100 color token.
147
- * The least contrasting color in the inverse foreground palette.
148
- * Intended for nearly invisible elements on inverse backgrounds.
146
+ * Least contrast inverse foreground color.
147
+ * @default rgb(198,198,202)
149
148
  */
150
149
  colorForegroundInverse100: Color;
151
150
  /**
152
- * Inverse foreground 200 color token.
153
- * Can help create a subtle sense of hierarchy on inverse backgrounds.
154
- * Also almost invisible, but a bit more contrasting than 100.
151
+ * Dim inverse foreground color.
152
+ * @default rgb(212,212,216)
155
153
  */
156
154
  colorForegroundInverse200: Color;
157
155
  /**
158
- * Inverse foreground 300 color token.
159
- * Suitable for slightly readable text or elements on inverse backgrounds.
156
+ * Mix of dim and muted inverse foreground color.
157
+ * @default rgb(216,216,228)
160
158
  */
161
159
  colorForegroundInverse300: Color;
162
160
  /**
163
- * Inverse foreground 400 color token.
164
- * A secondary color for secondary elements on inverse backgrounds.
165
- * If a secondary element has multiple levels, this is for the lower one.
161
+ * Muted inverse foreground color.
162
+ * @default rgb(218,218,234)
166
163
  */
167
164
  colorForegroundInverse400: Color;
168
165
  /**
169
- * Inverse foreground 500 color token.
170
- * Also useful for secondary elements on low-contrast inverse backgrounds.
166
+ * Mix of muted and subtle inverse foreground color.
167
+ * @default rgb(224,224,238)
171
168
  */
172
169
  colorForegroundInverse500: Color;
173
170
  /**
174
- * Inverse foreground 600 color token.
175
- * Ideal for secondary elements on inverse backgrounds.
171
+ * Subtle inverse foreground color.
172
+ * @default rgb(244,244,245)
176
173
  */
177
174
  colorForegroundInverse600: Color;
178
175
  /**
179
- * Inverse foreground 700 color token.
180
- * Used for default elements on higher contrast inverse backgrounds.
181
- * Also suitable for slightly subdued elements.
176
+ * Mix of subtle and default inverse foreground color.
177
+ * @default rgb(247,247,249)
182
178
  */
183
179
  colorForegroundInverse700: Color;
184
180
  /**
185
- * Inverse foreground 800 color token.
186
- * Ideal for high-contrast text on inverse background.
181
+ * Inverse default foreground color.
182
+ * @default rgb(249,249,250)
187
183
  */
188
184
  colorForegroundInverse800: Color;
189
185
  /**
190
- * Inverse foreground 900 color token.
191
- * Similar to 800 but can be a bit more contrasting.
192
- * Suitable when you need even more contrast on inverse background.
186
+ * Most contrast inverse foreground color.
187
+ * @default rgb(254,254,255)
193
188
  */
194
189
  colorForegroundInverse900: Color;
195
190
  /**
196
- * Base font family token.
197
- * Supposed to be used by most components.
198
- * If you don't known what font family to use - use this one.
191
+ * Base font family.
192
+ * @see FONT_FAMILY_BASE
199
193
  */
200
194
  fontFamilyBase: string;
201
195
  /**
202
- * Base thin font weight token.
203
- * Ideal for very delicate and decorative, large, elegant hero text.
196
+ * Base thin font weight.
197
+ * @see FONT_WEIGHT_BASE_THIN
198
+ * @default 100
204
199
  */
205
200
  fontWeightBaseThin: FontWeight;
206
201
  /**
207
- * Base extra-light font weight token.
208
- * Use for large, airy headings or subtle interface elements.
209
- * Slightly more readable than extra-thin, but still decorative.
202
+ * Base extra-light font weight.
203
+ * @see FONT_WEIGHT_BASE_EXTRALIGHT
204
+ * @default 200
210
205
  */
211
206
  fontWeightBaseExtraLight: FontWeight;
212
207
  /**
213
- * Base light font weight token.
214
- * Suitable for subheadings, muted captions, and soft labels.
208
+ * Base light font weight.
209
+ * @see FONT_WEIGHT_BASE_LIGHT
210
+ * @default 300
215
211
  */
216
212
  fontWeightBaseLight: FontWeight;
217
213
  /**
218
- * Base regular font weight token.
219
- * For the most common text elements in your interface.
220
- * When unsure about font weight, this is the default option.
214
+ * Base regular font weight.
215
+ * @see FONT_WEIGHT_BASE_REGULAR
216
+ * @default 400
221
217
  */
222
218
  fontWeightBaseRegular: FontWeight;
223
219
  /**
224
- * Base medium font weight token.
225
- * Suitable for labels, buttons, and small subheadings.
226
- * Slightly emphasized, providing better readability.
220
+ * Base medium font weight.
221
+ * @see FONT_WEIGHT_BASE_MEDIUM
222
+ * @default 500
227
223
  */
228
224
  fontWeightBaseMedium: FontWeight;
229
225
  /**
230
- * Base semi-bold font weight token.
231
- * Provides stronger emphasis without being overwhelming.
232
- * Ideal for section headers, emphasized text, and card titles.
226
+ * Base semi-bold font weight.
227
+ * @see FONT_WEIGHT_BASE_SEMIBOLD
228
+ * @default 600
233
229
  */
234
230
  fontWeightBaseSemibold: FontWeight;
235
231
  /**
236
- * Base bold font weight token.
237
- * For high emphasis on important elements.
238
- * Use for main headings and strong call-to-action buttons.
232
+ * Base bold font weight.
233
+ * @see FONT_WEIGHT_BASE_BOLD
234
+ * @default 700
239
235
  */
240
236
  fontWeightBaseBold: FontWeight;
241
237
  /**
242
- * Extra-bold font weight token.
243
- * Perfect for promo banners and large impactful headings.
238
+ * Extra-bold font weight.
239
+ * @see FONT_WEIGHT_BASE_EXTRABOLD
240
+ * @default 800
244
241
  */
245
242
  fontWeightBaseExtraBold: FontWeight;
246
243
  /**
247
- * Base black font weight token.
248
- * Extreme emphasis for rare, dramatic cases.
249
- * Great for headlines in posters and highly attention-grabbing elements.
244
+ * Base black font weight.
245
+ * @see FONT_WEIGHT_BASE_BLACK
246
+ * @default 900
250
247
  */
251
248
  fontWeightBaseBlack: FontWeight;
252
249
  /**
253
- * Base 2 times extra-small font size token.
254
- * Use this size for tiny text elements like captions.
255
- * It represents the smallest readable text in your interface.
250
+ * Base 2 times extra-small font size.
251
+ * @see FONT_SIZE_BASE_X2S
252
+ * @default 12
256
253
  */
257
254
  fontSizeBaseX2S: number;
258
255
  /**
259
- * Base extra-small font size token.
260
- * Suitable for subtitles or the smallest readable text, for example.
256
+ * Base extra-small font size.
257
+ * @see FONT_SIZE_BASE_XS
258
+ * @default 14
261
259
  */
262
260
  fontSizeBaseXS: number;
263
261
  /**
264
- * Base small font size token.
265
- * Can be used for smaller labels or captions among medium text.
266
- * Also suitable for titles in smaller 2x small text.
262
+ * Base small font size.
263
+ * @see FONT_SIZE_BASE_SM
264
+ * @default 16
267
265
  */
268
266
  fontSizeBaseSM: number;
269
267
  /**
270
- * Base medium font size token.
271
- * Intended for most text elements.
272
- * If unsure about which font size to use, this is the default option.
268
+ * Base medium font size.
269
+ * @see FONT_SIZE_BASE_MD
270
+ * @default 18
273
271
  */
274
272
  fontSizeBaseMD: number;
275
273
  /**
276
- * Base large font size token.
277
- * Suitable for fourth-level page titles.
278
- * Can also be used for larger labels or captions among medium text.
274
+ * Base large font size.
275
+ * @see FONT_SIZE_BASE_LG
276
+ * @default 20
279
277
  */
280
278
  fontSizeBaseLG: number;
281
279
  /**
282
- * Base extra-large font size token.
283
- * Ideal for third-level page titles.
284
- * Can also be used for larger labels or captions within medium text.
280
+ * Base extra-large font size.
281
+ * @see FONT_SIZE_BASE_XL
282
+ * @default 24
285
283
  */
286
284
  fontSizeBaseXL: number;
287
285
  /**
288
- * Base 2 times extra-large font size token.
289
- * Typically used for second-level page titles.
286
+ * Base 2 times extra-large font size.
287
+ * @see FONT_SIZE_BASE_X2L
288
+ * @default 30
290
289
  */
291
290
  fontSizeBaseX2L: number;
292
291
  /**
293
- * Base 3 times extra-large font size token.
294
- * Designed for first-level page titles.
295
- * Can also be used for labels or captions within huge text.
292
+ * Base 3 times extra-large font size.
293
+ * @see FONT_SIZE_BASE_X3L
294
+ * @default 36
296
295
  */
297
296
  fontSizeBaseX3L: number;
298
297
  /**
299
- * Base 4 times extra-large font size token.
300
- * Ideal for huge text labels and captions.
298
+ * Base 4 times extra-large font size.
299
+ * @see FONT_SIZE_BASE_X4L
300
+ * @default 48
301
301
  */
302
302
  fontSizeBaseX4L: number;
303
303
  /**
304
- * Base 5 times extra-large font size token.
305
- * Use this size for enormous text elements like hero titles.
306
- * It should be the largest font size in your interface.
304
+ * Base 5 times extra-large font size.
305
+ * @see FONT_SIZE_BASE_X5L
306
+ * @default 60
307
307
  */
308
308
  fontSizeBaseX5L: number;
309
309
  /**
310
- * Base none line height token.
311
- * Use for elements with no line height, like buttons, badges, and tags.
310
+ * Base none line height.
311
+ * @see LINE_HEIGHT_BASE_NONE
312
+ * @default 1
312
313
  */
313
314
  lineHeightBaseNone: number;
314
315
  /**
315
- * Base tight line height token.
316
- * For compact text elements with closely packed lines.
316
+ * Base tight line height.
317
+ * @see LINE_HEIGHT_BASE_TIGHT
318
+ * @default 1.25
317
319
  */
318
320
  lineHeightBaseTight: number;
319
321
  /**
320
- * Base snug line height token.
321
- * Ideal for compact text that still needs some breathing room.
322
+ * Base snug line height.
323
+ * @see LINE_HEIGHT_BASE_SNUG
324
+ * @default 1.375
322
325
  */
323
326
  lineHeightBaseSnug: number;
324
327
  /**
325
- * Base normal line height token.
326
- * Standard line height for most text elements.
327
- * Use for general content in your interface.
328
+ * Base normal line height.
329
+ * @see LINE_HEIGHT_BASE_NORMAL
330
+ * @default 1.5
328
331
  */
329
332
  lineHeightBaseNormal: number;
330
333
  /**
331
- * Base relaxed line height token.
332
- * Provides more space between lines.
333
- * Ideal for body text or large blocks of content.
334
+ * Base relaxed line height.
335
+ * @see LINE_HEIGHT_BASE_RELAXED
336
+ * @default 1.625
334
337
  */
335
338
  lineHeightBaseRelaxed: number;
336
339
  /**
337
- * Base loose line height token.
338
- * Very spacious and airy, great for large headings.
339
- * Suitable for text elements that need a lot of breathing room.
340
+ * Base loose line height.
341
+ * @see LINE_HEIGHT_BASE_LOOSE
342
+ * @default 2
340
343
  */
341
344
  lineHeightBaseLoose: number;
342
345
  /**
343
- * Base 2 times extra-small spacing token.
344
- * Rarely used – best for tight icon/text gaps or hairline adjustments.
346
+ * Base 6 times extra-small spacing.
347
+ * @see SPACING_BASE_X6S
348
+ * @default 2
349
+ */
350
+ spacingBaseX6S: number;
351
+ /**
352
+ * Base 5 times extra-small spacing.
353
+ * @see SPACING_BASE_X5S
354
+ * @default 4
355
+ */
356
+ spacingBaseX5S: number;
357
+ /**
358
+ * Base 4 times extra-small spacing.
359
+ * @see SPACING_BASE_X4S
360
+ * @default 6
361
+ */
362
+ spacingBaseX4S: number;
363
+ /**
364
+ * Base 3 times extra-small spacing.
365
+ * @see SPACING_BASE_X3S
366
+ * @default 8
367
+ */
368
+ spacingBaseX3S: number;
369
+ /**
370
+ * Base 2 times extra-small spacing.
371
+ * @see SPACING_BASE_X2S
372
+ * @default 10
345
373
  */
346
374
  spacingBaseX2S: number;
347
375
  /**
348
- * Extra-small base spacing token.
349
- * Ideal for compact elements like tag paddings or small icon separation.
376
+ * Base extra-small spacing.
377
+ * @see SPACING_BASE_XS
378
+ * @default 12
350
379
  */
351
380
  spacingBaseXS: number;
352
381
  /**
353
- * Small base spacing token.
354
- * Great for dense layouts, or minor gaps.
382
+ * Base small spacing.
383
+ * @see SPACING_BASE_SM
384
+ * @default 14
355
385
  */
356
386
  spacingBaseSM: number;
357
387
  /**
358
- * Base medium spacing token.
359
- * Good default for most components like cards, inputs, or buttons.
388
+ * Base medium spacing.
389
+ * @see SPACING_BASE_MD
390
+ * @default 16
360
391
  */
361
392
  spacingBaseMD: number;
362
393
  /**
363
- * Large base spacing token.
364
- * Nice for separating grouped elements or setting consistent gaps.
394
+ * Base large spacing.
395
+ * @see SPACING_BASE_LG
396
+ * @default 18
365
397
  */
366
398
  spacingBaseLG: number;
367
399
  /**
368
- * Extra-large base spacing token.
369
- * Useful between sections or to give components more breathing.
400
+ * Base extra-large spacing.
401
+ * @see SPACING_BASE_XL
402
+ * @default 20
370
403
  */
371
404
  spacingBaseXL: number;
372
405
  /**
373
- * Base 2 times extra-large spacing token.
374
- * Fits well in modals or larger layout divisions.
406
+ * Base 2 times extra-large spacing.
407
+ * @see SPACING_BASE_X2L
408
+ * @default 24
375
409
  */
376
410
  spacingBaseX2L: number;
377
411
  /**
378
- * Base 3 times extra-large spacing token.
379
- * Helps emphasize hierarchy between layout blocks.
412
+ * Base 3 times extra-large spacing.
413
+ * @see SPACING_BASE_X3L
414
+ * @default 28
380
415
  */
381
416
  spacingBaseX3L: number;
382
417
  /**
383
- * Base 4 times extra-large spacing token.
384
- * Ideal for responsive paddings, section and outer margins.
418
+ * Base 4 times extra-large spacing.
419
+ * @see SPACING_BASE_X4L
420
+ * @default 32
385
421
  */
386
422
  spacingBaseX4L: number;
387
423
  /**
388
- * Base 5 times extra-large spacing token.
389
- * Great for container paddings, grid gaps, or large components.
424
+ * Base 5 times extra-large spacing.
425
+ * @see SPACING_BASE_X5L
426
+ * @default 36
390
427
  */
391
428
  spacingBaseX5L: number;
392
429
  /**
393
- * Base 6 times extra-large spacing token.
394
- * Works well in modal layouts or for generous top-level spacing.
430
+ * Base 6 times extra-large spacing.
431
+ * @see SPACING_BASE_X6L
432
+ * @default 40
395
433
  */
396
434
  spacingBaseX6L: number;
397
- /**
398
- * Base 7 times extra-large spacing token.
399
- * Used for large layout sections or when significant whitespace is needed.
400
- */
401
- spacingBaseX7L: number;
402
435
  /**
403
436
  * Small base border width token.
404
437
  * @default 0.5