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
@@ -130,10 +130,10 @@ type Story = StoryObj<typeof Command>
130
130
  export const BasicCommand: Story = {
131
131
  render: () => (
132
132
  <div className="mx-auto max-w-lg p-8">
133
- <h3 className="mb-4 text-lg font-medium text-white">
133
+ <h3 className="text-fm-primary mb-4 text-lg font-medium">
134
134
  Basic Command Menu
135
135
  </h3>
136
- <Command className="rounded-lg border border-white/10">
136
+ <Command className="border-fm-divider-secondary rounded-lg border">
137
137
  <CommandInput placeholder="Type a command or search..." />
138
138
  <CommandList>
139
139
  <CommandEmpty>No results found.</CommandEmpty>
@@ -198,10 +198,10 @@ export const CommandDialogExample: Story = {
198
198
  return (
199
199
  <div className="space-y-8 p-8">
200
200
  <div className="text-center">
201
- <h3 className="mb-2 text-lg font-medium text-white">
201
+ <h3 className="text-fm-primary mb-2 text-lg font-medium">
202
202
  Command Dialog
203
203
  </h3>
204
- <p className="text-sm text-white/60">
204
+ <p className="text-fm-secondary text-sm">
205
205
  Press{" "}
206
206
  <kbd className="bg-muted text-muted-foreground pointer-events-none inline-flex h-5 items-center gap-1 rounded border px-1.5 font-mono text-[10px] font-medium opacity-100 select-none">
207
207
  <span className="text-xs">⌘</span>K
@@ -309,14 +309,14 @@ export const CommandDialogExample: Story = {
309
309
  export const FileManagementCommands: Story = {
310
310
  render: () => (
311
311
  <div className="mx-auto max-w-lg space-y-8 p-8">
312
- <h3 className="text-lg font-medium text-white">File Management</h3>
313
- <Command className="rounded-lg border border-white/10">
312
+ <h3 className="text-fm-primary text-lg font-medium">File Management</h3>
313
+ <Command className="border-fm-divider-secondary rounded-lg border">
314
314
  <CommandInput placeholder="Search files and actions..." />
315
315
  <CommandList>
316
316
  <CommandEmpty>
317
317
  <div className="py-6 text-center">
318
- <SearchIcon className="mx-auto h-8 w-8 text-white/30" />
319
- <p className="mt-2 text-sm text-white/60">
318
+ <SearchIcon className="text-fm-tertiary mx-auto h-8 w-8" />
319
+ <p className="text-fm-secondary mt-2 text-sm">
320
320
  No files or actions found.
321
321
  </p>
322
322
  </div>
@@ -494,13 +494,15 @@ export const SearchAndFilterCommands: Story = {
494
494
  return (
495
495
  <div className="mx-auto max-w-lg space-y-8 p-8">
496
496
  <div className="space-y-2">
497
- <h3 className="text-lg font-medium text-white">Search and Filter</h3>
498
- <p className="text-sm text-white/60">
497
+ <h3 className="text-fm-primary text-lg font-medium">
498
+ Search and Filter
499
+ </h3>
500
+ <p className="text-fm-secondary text-sm">
499
501
  Dynamic filtering based on search input
500
502
  </p>
501
503
  </div>
502
504
 
503
- <Command className="rounded-lg border border-white/10">
505
+ <Command className="border-fm-divider-secondary rounded-lg border">
504
506
  <CommandInput
505
507
  placeholder="Search apps, files, and more..."
506
508
  value={searchTerm}
@@ -509,11 +511,11 @@ export const SearchAndFilterCommands: Story = {
509
511
  <CommandList>
510
512
  <CommandEmpty>
511
513
  <div className="py-6 text-center">
512
- <SearchIcon className="mx-auto h-8 w-8 text-white/30" />
513
- <p className="mt-2 text-sm text-white/60">
514
+ <SearchIcon className="text-fm-tertiary mx-auto h-8 w-8" />
515
+ <p className="text-fm-secondary mt-2 text-sm">
514
516
  No results for "{searchTerm}"
515
517
  </p>
516
- <p className="text-xs text-white/40">
518
+ <p className="text-fm-tertiary text-xs">
517
519
  Try searching for something else
518
520
  </p>
519
521
  </div>
@@ -538,9 +540,11 @@ export const SearchAndFilterCommands: Story = {
538
540
  </Command>
539
541
 
540
542
  {searchTerm && (
541
- <div className="rounded-lg border border-white/10 bg-white/5 p-4">
542
- <h4 className="text-sm font-medium text-white">Search Stats</h4>
543
- <div className="mt-2 space-y-1 text-xs text-white/60">
543
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
544
+ <h4 className="text-fm-primary text-sm font-medium">
545
+ Search Stats
546
+ </h4>
547
+ <div className="text-fm-secondary mt-2 space-y-1 text-xs">
544
548
  <p>Search term: "{searchTerm}"</p>
545
549
  <p>Results found: {filteredItems.length}</p>
546
550
  <p>Groups: {Object.keys(groupedItems).length}</p>
@@ -564,16 +568,18 @@ export const SearchAndFilterCommands: Story = {
564
568
  export const CustomStylingVariants: Story = {
565
569
  render: () => (
566
570
  <div className="space-y-8 p-8">
567
- <h3 className="text-center text-lg font-medium text-white">
571
+ <h3 className="text-fm-primary text-center text-lg font-medium">
568
572
  Custom Styling Variants
569
573
  </h3>
570
574
 
571
575
  <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
572
576
  {/* Elevated Command */}
573
577
  <div className="space-y-4">
574
- <h4 className="text-sm font-medium text-white/70">Elevated Style</h4>
578
+ <h4 className="text-fm-secondary text-sm font-medium">
579
+ Elevated Style
580
+ </h4>
575
581
  <Command
576
- className="rounded-lg border border-white/10"
582
+ className="border-fm-divider-secondary rounded-lg border"
577
583
  listProps={{ variant: "elevated", size: "lg" }}
578
584
  >
579
585
  <CommandInput placeholder="Elevated command menu..." />
@@ -599,9 +605,11 @@ export const CustomStylingVariants: Story = {
599
605
 
600
606
  {/* Compact Command */}
601
607
  <div className="space-y-4">
602
- <h4 className="text-sm font-medium text-white/70">Compact Style</h4>
608
+ <h4 className="text-fm-secondary text-sm font-medium">
609
+ Compact Style
610
+ </h4>
603
611
  <Command
604
- className="rounded-lg border border-white/10"
612
+ className="border-fm-divider-secondary rounded-lg border"
605
613
  listProps={{ size: "sm" }}
606
614
  >
607
615
  <CommandInput
@@ -634,9 +642,9 @@ export const CustomStylingVariants: Story = {
634
642
 
635
643
  {/* Flat Style */}
636
644
  <div className="space-y-4">
637
- <h4 className="text-sm font-medium text-white/70">Flat Style</h4>
645
+ <h4 className="text-fm-secondary text-sm font-medium">Flat Style</h4>
638
646
  <Command
639
- className="rounded-lg border border-white/10"
647
+ className="border-fm-divider-secondary rounded-lg border"
640
648
  listProps={{ variant: "flat", rounded: "lg" }}
641
649
  >
642
650
  <CommandInput placeholder="Flat design menu..." />
@@ -659,7 +667,9 @@ export const CustomStylingVariants: Story = {
659
667
 
660
668
  {/* Custom Classes */}
661
669
  <div className="space-y-4">
662
- <h4 className="text-sm font-medium text-white/70">Custom Classes</h4>
670
+ <h4 className="text-fm-secondary text-sm font-medium">
671
+ Custom Classes
672
+ </h4>
663
673
  <Command
664
674
  className="rounded-lg border border-purple-500/30 bg-purple-900/10"
665
675
  classes={{
@@ -706,20 +716,20 @@ export const CustomStylingVariants: Story = {
706
716
  export const ComplexCommandStructure: Story = {
707
717
  render: () => (
708
718
  <div className="mx-auto max-w-lg space-y-8 p-8">
709
- <h3 className="text-lg font-medium text-white">
719
+ <h3 className="text-fm-primary text-lg font-medium">
710
720
  Complex Command Structure
711
721
  </h3>
712
722
 
713
- <Command className="rounded-lg border border-white/10">
723
+ <Command className="border-fm-divider-secondary rounded-lg border">
714
724
  <CommandInput placeholder="Search all commands..." />
715
725
  <CommandList>
716
726
  <CommandEmpty>
717
727
  <div className="py-8 text-center">
718
- <SearchIcon className="mx-auto h-12 w-12 text-white/20" />
719
- <h4 className="mt-2 text-sm font-medium text-white">
728
+ <SearchIcon className="text-fm-tertiary mx-auto h-12 w-12" />
729
+ <h4 className="text-fm-primary mt-2 text-sm font-medium">
720
730
  No commands found
721
731
  </h4>
722
- <p className="mt-1 text-xs text-white/60">
732
+ <p className="text-fm-secondary mt-1 text-xs">
723
733
  Try adjusting your search to find what you're looking for.
724
734
  </p>
725
735
  </div>
@@ -912,17 +922,19 @@ export const PerformanceDemo: Story = {
912
922
  return (
913
923
  <div className="space-y-8 p-8">
914
924
  <div className="space-y-4 text-center">
915
- <h3 className="text-lg font-medium text-white">Performance Demo</h3>
916
- <p className="text-sm text-white/60">
925
+ <h3 className="text-fm-primary text-lg font-medium">
926
+ Performance Demo
927
+ </h3>
928
+ <p className="text-fm-secondary text-sm">
917
929
  Test command menu performance with large datasets
918
930
  </p>
919
931
 
920
932
  <div className="flex items-center justify-center gap-4">
921
- <label className="text-sm text-white/70">Items:</label>
933
+ <label className="text-fm-secondary text-sm">Items:</label>
922
934
  <select
923
935
  value={itemCount}
924
936
  onChange={(e) => setItemCount(Number(e.target.value))}
925
- className="rounded border border-white/20 bg-white/10 px-3 py-1 text-white"
937
+ className="border-fm-divider-secondary bg-fm-surface-secondary text-fm-primary rounded border px-3 py-1"
926
938
  >
927
939
  <option value={50}>50</option>
928
940
  <option value={100}>100</option>
@@ -934,7 +946,7 @@ export const PerformanceDemo: Story = {
934
946
  </div>
935
947
 
936
948
  <div className="mx-auto max-w-lg">
937
- <Command className="rounded-lg border border-white/10">
949
+ <Command className="border-fm-divider-secondary rounded-lg border">
938
950
  <CommandInput placeholder={`Search ${itemCount} items...`} />
939
951
  <CommandList>
940
952
  <CommandEmpty>
@@ -970,9 +982,11 @@ export const PerformanceDemo: Story = {
970
982
  </Command>
971
983
  </div>
972
984
 
973
- <div className="mx-auto max-w-lg rounded-lg border border-white/10 bg-white/5 p-4">
974
- <h4 className="text-sm font-medium text-white">Performance Info</h4>
975
- <div className="mt-2 grid grid-cols-2 gap-4 text-xs text-white/60">
985
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary mx-auto max-w-lg rounded-lg border p-4">
986
+ <h4 className="text-fm-primary text-sm font-medium">
987
+ Performance Info
988
+ </h4>
989
+ <div className="text-fm-secondary mt-2 grid grid-cols-2 gap-4 text-xs">
976
990
  <div>Total Items: {itemCount}</div>
977
991
  <div>Categories: {Object.keys(groupedItems).length}</div>
978
992
  <div>