aural-ui 3.0.7 → 4.0.1

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 (166) hide show
  1. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +271 -242
  2. package/dist/components/avatar/Avatar.stories.tsx +84 -70
  3. package/dist/components/button/Button.stories.tsx +7 -7
  4. package/dist/components/button/index.tsx +7 -7
  5. package/dist/components/card/Card.stories.tsx +3 -3
  6. package/dist/components/char-count/CharCount.stories.tsx +9 -9
  7. package/dist/components/circular-loader/CircularLoader.stories.tsx +109 -93
  8. package/dist/components/collapsible/Collapsible.stories.tsx +1 -1
  9. package/dist/components/command/Command.stories.tsx +52 -38
  10. package/dist/components/dialog/Dialog.stories.tsx +89 -84
  11. package/dist/components/divider/Divider.stories.tsx +86 -60
  12. package/dist/components/dot-loader/DotLoader.stories.tsx +12 -12
  13. package/dist/components/drawer/Drawer.stories.tsx +74 -44
  14. package/dist/components/drawer/index.tsx +3 -3
  15. package/dist/components/dropdown/Dropdown.stories.tsx +42 -32
  16. package/dist/components/helper-text/HelperText.stories.tsx +2 -2
  17. package/dist/components/hover-card/HoverCard.stories.tsx +211 -178
  18. package/dist/components/input/Input.stories.tsx +2 -2
  19. package/dist/components/label/Label.stories.tsx +10 -10
  20. package/dist/components/list/List.stories.tsx +58 -44
  21. package/dist/components/marquee/Marquee.stories.tsx +131 -113
  22. package/dist/components/otp-inputs/OtpInputs.stories.tsx +47 -35
  23. package/dist/components/overlay/Overlay.stories.tsx +98 -92
  24. package/dist/components/overlay/index.tsx +4 -4
  25. package/dist/components/popover/Popover.stories.tsx +132 -106
  26. package/dist/components/radio/Radio.stories.tsx +2 -2
  27. package/dist/components/resizable/Resizable.stories.tsx +186 -138
  28. package/dist/components/scroll-area/ScrollArea.stories.tsx +174 -120
  29. package/dist/components/search/Search.stories.tsx +81 -59
  30. package/dist/components/select/Select.stories.tsx +3 -1
  31. package/dist/components/sheet/Sheet.stories.tsx +68 -54
  32. package/dist/components/slider/Slider.stories.tsx +71 -47
  33. package/dist/components/stepper/Stepper.stories.tsx +16 -16
  34. package/dist/components/switch/Switch.stories.tsx +12 -12
  35. package/dist/components/table/Table.stories.tsx +8 -6
  36. package/dist/components/tabs/Tabs.stories.tsx +324 -268
  37. package/dist/components/textarea/TextArea.stories.tsx +1 -1
  38. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +16 -10
  39. package/dist/components/toast/Toast.stories.tsx +51 -45
  40. package/dist/components/toggle/Toggle.stories.tsx +111 -89
  41. package/dist/components/tooltip/Tooltip.stories.tsx +160 -144
  42. package/dist/icons/Icons.stories.tsx +2 -2
  43. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +287 -237
  44. package/dist/icons/alert-icon/AlertIcon.stories.tsx +290 -248
  45. package/dist/icons/all-icons.tsx +97 -81
  46. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +312 -270
  47. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +294 -244
  48. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +309 -279
  49. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +294 -258
  50. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +289 -255
  51. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +288 -256
  52. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +322 -288
  53. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +340 -296
  54. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +197 -177
  55. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +390 -328
  56. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +313 -277
  57. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +367 -309
  58. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +356 -308
  59. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +280 -234
  60. package/dist/icons/camera-icon/CameraIcon.stories.tsx +370 -326
  61. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +300 -256
  62. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +298 -262
  63. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +294 -260
  64. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +291 -259
  65. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +286 -256
  66. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +282 -256
  67. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +292 -256
  68. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +338 -290
  69. package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +167 -148
  70. package/dist/icons/coin-icon/CoinIcon.stories.tsx +342 -296
  71. package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +342 -296
  72. package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +280 -238
  73. package/dist/icons/command-icon/CommandIcon.stories.tsx +328 -280
  74. package/dist/icons/copy-icon/CopyIcon.stories.tsx +294 -256
  75. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +285 -235
  76. package/dist/icons/cross-icon/CrossIcon.stories.tsx +308 -266
  77. package/dist/icons/download-icon/DownloadIcon.stories.tsx +271 -231
  78. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +330 -278
  79. package/dist/icons/email-icon/EmailIcon.stories.tsx +303 -257
  80. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +324 -286
  81. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +317 -271
  82. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +320 -272
  83. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +322 -280
  84. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +315 -277
  85. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +199 -177
  86. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +304 -264
  87. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +311 -277
  88. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +327 -287
  89. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +314 -278
  90. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +113 -98
  91. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +274 -226
  92. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +349 -303
  93. package/dist/icons/head-icon/HeadIcon.stories.tsx +286 -246
  94. package/dist/icons/heart-icon/HeartIcon.stories.tsx +312 -268
  95. package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +246 -210
  96. package/dist/icons/image-icon/ImageIcon.stories.tsx +330 -284
  97. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +326 -282
  98. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +330 -294
  99. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +288 -234
  100. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +386 -330
  101. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +305 -263
  102. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +295 -259
  103. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +296 -256
  104. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +322 -282
  105. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +399 -359
  106. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +314 -272
  107. package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +238 -206
  108. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +322 -276
  109. package/dist/icons/message-icon/MessageIcon.stories.tsx +192 -170
  110. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +348 -304
  111. package/dist/icons/moon-icon/MoonIcon.stories.tsx +191 -167
  112. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +380 -326
  113. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +345 -291
  114. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +310 -266
  115. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +311 -271
  116. package/dist/icons/notes-icon/NotesIcon.stories.tsx +311 -271
  117. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +309 -271
  118. package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +248 -210
  119. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +310 -262
  120. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +274 -236
  121. package/dist/icons/pause-icon/PauseIcon.stories.tsx +324 -280
  122. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +323 -281
  123. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +288 -240
  124. package/dist/icons/plus-icon/PlusIcon.stories.tsx +315 -273
  125. package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +278 -234
  126. package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +161 -151
  127. package/dist/icons/search-icon/SearchIcon.stories.tsx +324 -284
  128. package/dist/icons/setting-icon/SettingIcon.stories.tsx +306 -264
  129. package/dist/icons/share-icon/ShareIcon.stories.tsx +314 -272
  130. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +281 -235
  131. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +309 -250
  132. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +317 -279
  133. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +315 -279
  134. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +299 -253
  135. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +185 -169
  136. package/dist/icons/spinner-gradient-icon/index.tsx +6 -1
  137. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +192 -168
  138. package/dist/icons/spinner-solid-icon/index.tsx +6 -1
  139. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +212 -178
  140. package/dist/icons/spinner-solid-neutral-icon/index.tsx +1 -1
  141. package/dist/icons/star-icon/StarIcon.stories.tsx +290 -244
  142. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +286 -234
  143. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +272 -230
  144. package/dist/icons/sun-icon/SunIcon.stories.tsx +262 -226
  145. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +321 -279
  146. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +332 -282
  147. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +394 -342
  148. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +338 -290
  149. package/dist/icons/tick-icon/TickIcon.stories.tsx +364 -315
  150. package/dist/icons/trash-icon/TrashIcon.stories.tsx +293 -253
  151. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +396 -338
  152. package/dist/icons/upload-icon/UploadIcon.stories.tsx +291 -247
  153. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +309 -271
  154. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +336 -290
  155. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +382 -334
  156. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +349 -305
  157. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +327 -295
  158. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +336 -296
  159. package/dist/icons/warning-icon/WarningIcon.stories.tsx +314 -274
  160. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +311 -261
  161. package/dist/index.cjs +84 -84
  162. package/dist/index.js +84 -84
  163. package/dist/styles/aural-all-theme.css +1222 -0
  164. package/dist/styles/{aural-theme.css → aural-dark-theme.css} +15 -3
  165. package/dist/styles/aural-light-theme.css +1047 -0
  166. package/package.json +1 -1
@@ -222,10 +222,12 @@ export const Stylised: Story = {
222
222
 
223
223
  export const SizeVariations: Story = {
224
224
  render: () => (
225
- <div className="w-full max-w-2xl space-y-8 rounded-lg bg-gray-900 p-6">
225
+ <div className="bg-fm-surface-primary w-full max-w-2xl space-y-8 rounded-lg p-6">
226
226
  <div className="text-center">
227
- <h3 className="mb-2 text-lg font-medium text-white">Size Variations</h3>
228
- <p className="text-sm text-white/60">
227
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
228
+ Size Variations
229
+ </h3>
230
+ <p className="text-fm-secondary text-sm">
229
231
  Different thickness options for various use cases
230
232
  </p>
231
233
  </div>
@@ -257,8 +259,12 @@ export const SizeVariations: Story = {
257
259
  ).map((item) => (
258
260
  <div key={item.size} className="space-y-3">
259
261
  <div className="flex items-center justify-between">
260
- <h4 className="text-sm font-medium text-white">{item.label}</h4>
261
- <span className="text-xs text-white/40">{item.description}</span>
262
+ <h4 className="text-fm-primary text-sm font-medium">
263
+ {item.label}
264
+ </h4>
265
+ <span className="text-fm-tertiary text-xs">
266
+ {item.description}
267
+ </span>
262
268
  </div>
263
269
  <Divider variant="primary" size={item.size} />
264
270
  </div>
@@ -278,12 +284,12 @@ export const SizeVariations: Story = {
278
284
 
279
285
  export const VariantComparison: Story = {
280
286
  render: () => (
281
- <div className="w-full max-w-2xl space-y-8 rounded-lg bg-gray-900 p-6">
287
+ <div className="bg-fm-surface-primary w-full max-w-2xl space-y-8 rounded-lg p-6">
282
288
  <div className="text-center">
283
- <h3 className="mb-2 text-lg font-medium text-white">
289
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
284
290
  Variant Comparison
285
291
  </h3>
286
- <p className="text-sm text-white/60">
292
+ <p className="text-fm-secondary text-sm">
287
293
  Different visual styles for various design needs
288
294
  </p>
289
295
  </div>
@@ -320,9 +326,13 @@ export const VariantComparison: Story = {
320
326
  ).map((item) => (
321
327
  <div key={item.variant} className="space-y-3">
322
328
  <div className="space-y-1">
323
- <h4 className="text-sm font-medium text-white">{item.label}</h4>
324
- <p className="text-xs text-white/60">{item.description}</p>
325
- <p className="text-xs text-white/40">Use case: {item.useCase}</p>
329
+ <h4 className="text-fm-primary text-sm font-medium">
330
+ {item.label}
331
+ </h4>
332
+ <p className="text-fm-secondary text-xs">{item.description}</p>
333
+ <p className="text-fm-tertiary text-xs">
334
+ Use case: {item.useCase}
335
+ </p>
326
336
  </div>
327
337
  <Divider variant={item.variant} size="full_default" />
328
338
  </div>
@@ -342,19 +352,19 @@ export const VariantComparison: Story = {
342
352
 
343
353
  export const DashedVariations: Story = {
344
354
  render: () => (
345
- <div className="w-full max-w-2xl space-y-8 rounded-lg bg-gray-900 p-6">
355
+ <div className="bg-fm-surface-primary w-full max-w-2xl space-y-8 rounded-lg p-6">
346
356
  <div className="text-center">
347
- <h3 className="mb-2 text-lg font-medium text-white">
357
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
348
358
  Dashed Divider Variations
349
359
  </h3>
350
- <p className="text-sm text-white/60">
360
+ <p className="text-fm-secondary text-sm">
351
361
  Different sizes and orientations of dashed dividers
352
362
  </p>
353
363
  </div>
354
364
 
355
365
  <div className="space-y-6">
356
366
  <div>
357
- <h4 className="mb-4 text-sm font-medium text-white">
367
+ <h4 className="text-fm-primary mb-4 text-sm font-medium">
358
368
  Horizontal Dashed
359
369
  </h4>
360
370
  <div className="space-y-4">
@@ -367,7 +377,7 @@ export const DashedVariations: Story = {
367
377
  ] as const
368
378
  ).map((item) => (
369
379
  <div key={item.size} className="space-y-2">
370
- <span className="text-xs text-white/60">{item.label}</span>
380
+ <span className="text-fm-secondary text-xs">{item.label}</span>
371
381
  <Divider variant="dashed" size={item.size} />
372
382
  </div>
373
383
  ))}
@@ -375,7 +385,7 @@ export const DashedVariations: Story = {
375
385
  </div>
376
386
 
377
387
  <div>
378
- <h4 className="mb-4 text-sm font-medium text-white">
388
+ <h4 className="text-fm-primary mb-4 text-sm font-medium">
379
389
  Vertical Dashed
380
390
  </h4>
381
391
  <div className="flex h-16 items-center gap-6">
@@ -388,7 +398,7 @@ export const DashedVariations: Story = {
388
398
  ] as const
389
399
  ).map((item) => (
390
400
  <div key={item.size} className="flex flex-col items-center gap-2">
391
- <span className="text-xs text-white/60">{item.label}</span>
401
+ <span className="text-fm-secondary text-xs">{item.label}</span>
392
402
  <Divider
393
403
  variant="dashed"
394
404
  size={item.size}
@@ -414,12 +424,12 @@ export const DashedVariations: Story = {
414
424
 
415
425
  export const OrientationExample: Story = {
416
426
  render: () => (
417
- <div className="w-full max-w-2xl space-y-8 rounded-lg bg-gray-900 p-6">
427
+ <div className="bg-fm-surface-primary w-full max-w-2xl space-y-8 rounded-lg p-6">
418
428
  <div className="text-center">
419
- <h3 className="mb-2 text-lg font-medium text-white">
429
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
420
430
  Orientation Examples
421
431
  </h3>
422
- <p className="text-sm text-white/60">
432
+ <p className="text-fm-secondary text-sm">
423
433
  Horizontal and vertical divider usage in layouts
424
434
  </p>
425
435
  </div>
@@ -427,17 +437,19 @@ export const OrientationExample: Story = {
427
437
  <div className="space-y-8">
428
438
  {/* Horizontal Example */}
429
439
  <div className="space-y-4">
430
- <h4 className="text-sm font-medium text-white">
440
+ <h4 className="text-fm-primary text-sm font-medium">
431
441
  Horizontal Dividers
432
442
  </h4>
433
- <div className="space-y-4 rounded-lg bg-white/5 p-4">
434
- <div className="text-sm text-white/80">Section A: User Profile</div>
443
+ <div className="bg-fm-surface-secondary space-y-4 rounded-lg p-4">
444
+ <div className="text-fm-tertiary text-sm">
445
+ Section A: User Profile
446
+ </div>
435
447
  <Divider variant="primary" />
436
- <div className="text-sm text-white/80">
448
+ <div className="text-fm-tertiary text-sm">
437
449
  Section B: Account Settings
438
450
  </div>
439
451
  <Divider variant="dashed" />
440
- <div className="text-sm text-white/80">
452
+ <div className="text-fm-tertiary text-sm">
441
453
  Section C: Privacy Options
442
454
  </div>
443
455
  </div>
@@ -445,19 +457,21 @@ export const OrientationExample: Story = {
445
457
 
446
458
  {/* Vertical Example */}
447
459
  <div className="space-y-4">
448
- <h4 className="text-sm font-medium text-white">Vertical Dividers</h4>
449
- <div className="flex items-center gap-6 rounded-lg bg-white/5 p-4">
450
- <div className="text-sm text-white/80">Profile</div>
460
+ <h4 className="text-fm-primary text-sm font-medium">
461
+ Vertical Dividers
462
+ </h4>
463
+ <div className="bg-fm-surface-secondary flex items-center gap-6 rounded-lg p-4">
464
+ <div className="text-fm-tertiary text-sm">Profile</div>
451
465
  <Divider variant="primary" orientation="vertical" className="h-8" />
452
- <div className="text-sm text-white/80">Settings</div>
466
+ <div className="text-fm-tertiary text-sm">Settings</div>
453
467
  <Divider variant="dashed" orientation="vertical" className="h-8" />
454
- <div className="text-sm text-white/80">Help</div>
468
+ <div className="text-fm-tertiary text-sm">Help</div>
455
469
  <Divider
456
470
  variant="secondary"
457
471
  orientation="vertical"
458
472
  className="h-8"
459
473
  />
460
- <div className="text-sm text-white/80">Logout</div>
474
+ <div className="text-fm-tertiary text-sm">Logout</div>
461
475
  </div>
462
476
  </div>
463
477
  </div>
@@ -475,12 +489,12 @@ export const OrientationExample: Story = {
475
489
 
476
490
  export const RealWorldUsage: Story = {
477
491
  render: () => (
478
- <div className="w-full max-w-4xl space-y-8 rounded-lg bg-gray-900 p-6">
492
+ <div className="bg-fm-surface-primary w-full max-w-4xl space-y-8 rounded-lg p-6">
479
493
  <div className="text-center">
480
- <h3 className="mb-2 text-lg font-medium text-white">
494
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
481
495
  Real World Usage
482
496
  </h3>
483
- <p className="text-sm text-white/60">
497
+ <p className="text-fm-secondary text-sm">
484
498
  Practical examples in common UI patterns
485
499
  </p>
486
500
  </div>
@@ -488,22 +502,26 @@ export const RealWorldUsage: Story = {
488
502
  <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
489
503
  {/* Card Layout */}
490
504
  <div className="space-y-4">
491
- <h4 className="text-sm font-medium text-white">Card Layout</h4>
492
- <div className="space-y-4 rounded-lg bg-white/5 p-4">
505
+ <h4 className="text-fm-primary text-sm font-medium">Card Layout</h4>
506
+ <div className="bg-fm-surface-secondary space-y-4 rounded-lg p-4">
493
507
  <div className="flex items-center gap-3">
494
508
  <div className="h-10 w-10 rounded-full bg-blue-600"></div>
495
509
  <div>
496
- <div className="text-sm font-medium text-white">John Doe</div>
497
- <div className="text-xs text-white/60">Product Designer</div>
510
+ <div className="text-fm-primary text-sm font-medium">
511
+ John Doe
512
+ </div>
513
+ <div className="text-fm-secondary text-xs">
514
+ Product Designer
515
+ </div>
498
516
  </div>
499
517
  </div>
500
518
  <Divider variant="dashed" />
501
- <div className="text-sm text-white/80">
519
+ <div className="text-fm-tertiary text-sm">
502
520
  Passionate about creating intuitive user experiences and
503
521
  innovative design solutions.
504
522
  </div>
505
523
  <Divider variant="secondary" />
506
- <div className="flex gap-4 text-xs text-white/60">
524
+ <div className="text-fm-secondary flex gap-4 text-xs">
507
525
  <span>Joined: Jan 2024</span>
508
526
  <span>Projects: 12</span>
509
527
  </div>
@@ -512,21 +530,23 @@ export const RealWorldUsage: Story = {
512
530
 
513
531
  {/* Navigation Layout */}
514
532
  <div className="space-y-4">
515
- <h4 className="text-sm font-medium text-white">Navigation Menu</h4>
516
- <div className="space-y-3 rounded-lg bg-white/5 p-4">
517
- <div className="cursor-pointer text-sm text-white hover:text-blue-400">
533
+ <h4 className="text-fm-primary text-sm font-medium">
534
+ Navigation Menu
535
+ </h4>
536
+ <div className="bg-fm-surface-secondary space-y-3 rounded-lg p-4">
537
+ <div className="text-fm-primary cursor-pointer text-sm hover:text-blue-400">
518
538
  Dashboard
519
539
  </div>
520
540
  <Divider variant="secondary" />
521
- <div className="cursor-pointer text-sm text-white hover:text-blue-400">
541
+ <div className="text-fm-primary cursor-pointer text-sm hover:text-blue-400">
522
542
  Projects
523
543
  </div>
524
544
  <Divider variant="secondary" />
525
- <div className="cursor-pointer text-sm text-white hover:text-blue-400">
545
+ <div className="text-fm-primary cursor-pointer text-sm hover:text-blue-400">
526
546
  Team
527
547
  </div>
528
548
  <Divider variant="dashed" />
529
- <div className="cursor-pointer text-sm text-white hover:text-blue-400">
549
+ <div className="text-fm-primary cursor-pointer text-sm hover:text-blue-400">
530
550
  Settings
531
551
  </div>
532
552
  <Divider variant="primary" />
@@ -538,29 +558,33 @@ export const RealWorldUsage: Story = {
538
558
 
539
559
  {/* Timeline Layout */}
540
560
  <div className="space-y-4">
541
- <h4 className="text-sm font-medium text-white">Content Timeline</h4>
542
- <div className="space-y-4 rounded-lg bg-white/5 p-4">
561
+ <h4 className="text-fm-primary text-sm font-medium">
562
+ Content Timeline
563
+ </h4>
564
+ <div className="bg-fm-surface-secondary space-y-4 rounded-lg p-4">
543
565
  <div className="space-y-2">
544
- <div className="text-sm font-medium text-white">
566
+ <div className="text-fm-primary text-sm font-medium">
545
567
  Project Started
546
568
  </div>
547
- <div className="text-xs text-white/60">
569
+ <div className="text-fm-secondary text-xs">
548
570
  Initial setup and planning phase
549
571
  </div>
550
572
  </div>
551
573
  <Divider variant="stylised" />
552
574
  <div className="space-y-2">
553
- <div className="text-sm font-medium text-white">
575
+ <div className="text-fm-primary text-sm font-medium">
554
576
  Development Phase
555
577
  </div>
556
- <div className="text-xs text-white/60">
578
+ <div className="text-fm-secondary text-xs">
557
579
  Core features implementation
558
580
  </div>
559
581
  </div>
560
582
  <Divider variant="dashed" />
561
583
  <div className="space-y-2">
562
- <div className="text-sm font-medium text-white">Testing & QA</div>
563
- <div className="text-xs text-white/60">
584
+ <div className="text-fm-primary text-sm font-medium">
585
+ Testing & QA
586
+ </div>
587
+ <div className="text-fm-secondary text-xs">
564
588
  Quality assurance and bug fixes
565
589
  </div>
566
590
  </div>
@@ -569,10 +593,12 @@ export const RealWorldUsage: Story = {
569
593
 
570
594
  {/* Toolbar Layout */}
571
595
  <div className="space-y-4">
572
- <h4 className="text-sm font-medium text-white">Toolbar Actions</h4>
573
- <div className="rounded-lg bg-white/5 p-4">
596
+ <h4 className="text-fm-primary text-sm font-medium">
597
+ Toolbar Actions
598
+ </h4>
599
+ <div className="bg-fm-surface-secondary rounded-lg p-4">
574
600
  <div className="flex items-center gap-4">
575
- <button className="text-sm text-white/80 hover:text-white">
601
+ <button className="text-fm-tertiary hover:text-fm-primary text-sm">
576
602
  Edit
577
603
  </button>
578
604
  <Divider
@@ -580,7 +606,7 @@ export const RealWorldUsage: Story = {
580
606
  orientation="vertical"
581
607
  className="h-6"
582
608
  />
583
- <button className="text-sm text-white/80 hover:text-white">
609
+ <button className="text-fm-tertiary hover:text-fm-primary text-sm">
584
610
  Share
585
611
  </button>
586
612
  <Divider
@@ -588,7 +614,7 @@ export const RealWorldUsage: Story = {
588
614
  orientation="vertical"
589
615
  className="h-6"
590
616
  />
591
- <button className="text-sm text-white/80 hover:text-white">
617
+ <button className="text-fm-tertiary hover:text-fm-primary text-sm">
592
618
  Export
593
619
  </button>
594
620
  <Divider
@@ -195,12 +195,12 @@ export const ColorVariations: Story = {
195
195
  render: () => (
196
196
  <div className="flex flex-col gap-8">
197
197
  <div className="text-center">
198
- <h3 className="mb-4 text-lg text-white">Default Theme</h3>
198
+ <h3 className="text-fm-primary mb-4 text-lg">Default Theme</h3>
199
199
  <DotLoader text="Loading..." ariaLabel="Loading default content" />
200
200
  </div>
201
201
 
202
202
  <div className="text-center">
203
- <h3 className="mb-4 text-lg text-white">Blue Theme</h3>
203
+ <h3 className="text-fm-primary mb-4 text-lg">Blue Theme</h3>
204
204
  <DotLoader
205
205
  text="Processing..."
206
206
  color="#1e293b"
@@ -211,7 +211,7 @@ export const ColorVariations: Story = {
211
211
  </div>
212
212
 
213
213
  <div className="text-center">
214
- <h3 className="mb-4 text-lg text-white">Green Theme</h3>
214
+ <h3 className="text-fm-primary mb-4 text-lg">Green Theme</h3>
215
215
  <DotLoader
216
216
  text="Uploading..."
217
217
  color="#1f2937"
@@ -222,7 +222,7 @@ export const ColorVariations: Story = {
222
222
  </div>
223
223
 
224
224
  <div className="text-center">
225
- <h3 className="mb-4 text-lg text-white">Red Theme</h3>
225
+ <h3 className="text-fm-primary mb-4 text-lg">Red Theme</h3>
226
226
  <DotLoader
227
227
  text="Deleting..."
228
228
  color="#1f2937"
@@ -247,8 +247,8 @@ export const ColorVariations: Story = {
247
247
  export const LoadingStates: Story = {
248
248
  render: () => (
249
249
  <div className="grid grid-cols-2 gap-8">
250
- <div className="rounded-lg bg-slate-800 p-6 text-center">
251
- <h4 className="mb-4 text-sm text-white">File Upload</h4>
250
+ <div className="bg-fm-surface-secondary rounded-lg p-6 text-center">
251
+ <h4 className="text-fm-primary mb-4 text-sm">File Upload</h4>
252
252
  <DotLoader
253
253
  text="Uploading files..."
254
254
  color="#374151"
@@ -258,8 +258,8 @@ export const LoadingStates: Story = {
258
258
  />
259
259
  </div>
260
260
 
261
- <div className="rounded-lg bg-slate-800 p-6 text-center">
262
- <h4 className="mb-4 text-sm text-white">Data Processing</h4>
261
+ <div className="bg-fm-surface-secondary rounded-lg p-6 text-center">
262
+ <h4 className="text-fm-primary mb-4 text-sm">Data Processing</h4>
263
263
  <DotLoader
264
264
  text="Processing data..."
265
265
  color="#374151"
@@ -269,8 +269,8 @@ export const LoadingStates: Story = {
269
269
  />
270
270
  </div>
271
271
 
272
- <div className="rounded-lg bg-slate-800 p-6 text-center">
273
- <h4 className="mb-4 text-sm text-white">Authentication</h4>
272
+ <div className="bg-fm-surface-secondary rounded-lg p-6 text-center">
273
+ <h4 className="text-fm-primary mb-4 text-sm">Authentication</h4>
274
274
  <DotLoader
275
275
  text="Signing in..."
276
276
  color="#374151"
@@ -280,8 +280,8 @@ export const LoadingStates: Story = {
280
280
  />
281
281
  </div>
282
282
 
283
- <div className="rounded-lg bg-slate-800 p-6 text-center">
284
- <h4 className="mb-4 text-sm text-white">Content Loading</h4>
283
+ <div className="bg-fm-surface-secondary rounded-lg p-6 text-center">
284
+ <h4 className="text-fm-primary mb-4 text-sm">Content Loading</h4>
285
285
  <DotLoader
286
286
  text="Loading content..."
287
287
  color="#374151"