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
@@ -11,9 +11,9 @@ const meta: Meta<typeof PageTextIcon> = {
11
11
  backgrounds: {
12
12
  default: "dark",
13
13
  values: [
14
- { name: "dark", value: "#0a0a0a" },
15
- { name: "darker", value: "#000000" },
16
- { name: "light", value: "#ffffff" },
14
+ { name: "dark", value: "var(--color-fm-surface-primary)" },
15
+ { name: "darker", value: "var(--color-fm-neutral-0)" },
16
+ { name: "light", value: "var(--color-fm-neutral-1100)" },
17
17
  ],
18
18
  },
19
19
  docs: {
@@ -47,59 +47,59 @@ const meta: Meta<typeof PageTextIcon> = {
47
47
  background: transparent !important;
48
48
  }
49
49
  body {
50
- background: #0a0a0a !important;
50
+ background: var(--color-fm-surface-primary) !important;
51
51
  }
52
52
  #storybook-docs {
53
- background: #0a0a0a !important;
53
+ background: var(--color-fm-surface-primary) !important;
54
54
  }
55
55
  .sbdocs-preview {
56
56
  background: transparent !important;
57
57
  border: none !important;
58
58
  }
59
59
  .sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
60
- color: white !important;
60
+ color: var(--color-fm-icon-active) !important;
61
61
  }
62
62
  .sbdocs-p, .sbdocs-li {
63
- color: rgba(255, 255, 255, 0.7) !important;
63
+ color: var(--color-fm-secondary) !important;
64
64
  }
65
65
  .sbdocs-code {
66
- background: rgba(255, 255, 255, 0.1) !important;
67
- color: rgba(168, 85, 247, 1) !important;
68
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
66
+ background: var(--color-fm-surface-secondary) !important;
67
+ color: var(--color-fm-secondary-500) !important;
68
+ border: 1px solid var(--color-fm-divider-secondary) !important;
69
69
  }
70
70
  .sbdocs-pre {
71
- background: rgba(0, 0, 0, 0.4) !important;
72
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
71
+ background: var(--color-fm-surface-secondary) !important;
72
+ border: 1px solid var(--color-fm-divider-secondary) !important;
73
73
  }
74
74
  .sbdocs-table {
75
- background: rgba(255, 255, 255, 0.05) !important;
76
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
75
+ background: var(--color-fm-surface-secondary) !important;
76
+ border: 1px solid var(--color-fm-divider-secondary) !important;
77
77
  }
78
78
  .sbdocs-table th {
79
- background: rgba(255, 255, 255, 0.05) !important;
80
- color: white !important;
81
- border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
79
+ background: var(--color-fm-surface-secondary) !important;
80
+ color: var(--color-fm-icon-active) !important;
81
+ border-bottom: 1px solid var(--color-fm-divider-secondary) !important;
82
82
  }
83
83
  .sbdocs-table td {
84
- color: rgba(255, 255, 255, 0.7) !important;
85
- border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
84
+ color: var(--color-fm-secondary) !important;
85
+ border-bottom: 1px solid var(--color-fm-divider-tertiary) !important;
86
86
  }
87
87
  `}
88
88
  </style>
89
89
 
90
- <div className="min-h-screen bg-gradient-to-br from-gray-900 via-indigo-900/20 to-gray-900">
90
+ <div className="from-fm-surface-primary via-fm-icon-info/5 to-fm-surface-primary min-h-screen bg-linear-to-br">
91
91
  {/* Header */}
92
- <div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
93
- <div className="absolute inset-0 bg-gradient-to-r from-indigo-500/10 via-transparent to-cyan-500/10" />
92
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
93
+ <div className="from-fm-icon-info/10 to-fm-icon-info/10 absolute inset-0 bg-linear-to-r via-transparent" />
94
94
  <div className="relative !mx-auto max-w-7xl px-6 py-16">
95
95
  <div className="!space-y-6 text-center">
96
- <div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-indigo-500/30 bg-gradient-to-br from-indigo-500/20 to-cyan-500/20">
97
- <PageTextIcon className="h-12 w-12 text-indigo-400" />
96
+ <div className="border-fm-icon-info/30 from-fm-icon-info/20 to-fm-icon-info/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
97
+ <PageTextIcon className="text-fm-icon-info h-12 w-12" />
98
98
  </div>
99
- <h1 className="text-5xl font-bold !text-white">
99
+ <h1 className="text-fm-icon-active! text-5xl font-bold">
100
100
  PageTextIcon
101
101
  </h1>
102
- <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
102
+ <p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
103
103
  A page icon with text lines representing document pages and
104
104
  text content. Perfect for document interfaces, text editors,
105
105
  and content management systems.
@@ -108,24 +108,28 @@ const meta: Meta<typeof PageTextIcon> = {
108
108
  {/* Stats */}
109
109
  <div className="mx-auto flex items-center justify-center gap-8">
110
110
  <div className="text-center">
111
- <div className="text-3xl font-bold text-indigo-300">
111
+ <div className="text-fm-icon-info text-3xl font-bold">
112
112
  Page
113
113
  </div>
114
- <div className="text-sm text-white/80">Document page</div>
114
+ <div className="text-fm-icon-active/80 text-sm">
115
+ Document page
116
+ </div>
115
117
  </div>
116
- <div className="h-8 w-px bg-white/20" />
118
+ <div className="bg-fm-divider-primary h-8 w-px" />
117
119
  <div className="text-center">
118
- <div className="text-3xl font-bold text-cyan-300">
120
+ <div className="text-fm-icon-info text-3xl font-bold">
119
121
  Text
120
122
  </div>
121
- <div className="text-sm text-white/80">Text content</div>
123
+ <div className="text-fm-icon-active/80 text-sm">
124
+ Text content
125
+ </div>
122
126
  </div>
123
- <div className="h-8 w-px bg-white/20" />
127
+ <div className="bg-fm-divider-primary h-8 w-px" />
124
128
  <div className="text-center">
125
- <div className="text-3xl font-bold text-blue-300">
129
+ <div className="text-fm-icon-info text-3xl font-bold">
126
130
  Accessible
127
131
  </div>
128
- <div className="text-sm text-white/80">
132
+ <div className="text-fm-icon-active/80 text-sm">
129
133
  Screen reader support
130
134
  </div>
131
135
  </div>
@@ -138,34 +142,34 @@ const meta: Meta<typeof PageTextIcon> = {
138
142
  <div className="!mx-auto flex max-w-7xl flex-col gap-6 space-y-16 px-6 py-16">
139
143
  {/* Features */}
140
144
  <div className="!space-y-8">
141
- <h3 className="text-center text-2xl font-bold !text-white">
145
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
142
146
  Key Features
143
147
  </h3>
144
148
  <div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
145
- <div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
149
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
146
150
  <div className="text-3xl">📄</div>
147
- <h4 className="text-lg font-semibold !text-white">
151
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
148
152
  Page Icon
149
153
  </h4>
150
- <p className="text-sm !text-white/80">
154
+ <p className="text-fm-icon-active!/80 text-sm">
151
155
  Clear representation of document pages with text lines
152
156
  </p>
153
157
  </div>
154
- <div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
158
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
155
159
  <div className="text-3xl">♿</div>
156
- <h4 className="text-lg font-semibold !text-white">
160
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
157
161
  Accessibility
158
162
  </h4>
159
- <p className="text-sm !text-white/80">
163
+ <p className="text-fm-icon-active!/80 text-sm">
160
164
  Built with screen reader support
161
165
  </p>
162
166
  </div>
163
- <div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
167
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
164
168
  <div className="text-3xl">🎨</div>
165
- <h4 className="text-lg font-semibold !text-white">
169
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
166
170
  Customizable
167
171
  </h4>
168
- <p className="text-sm !text-white/80">
172
+ <p className="text-fm-icon-active!/80 text-sm">
169
173
  Flexible styling options
170
174
  </p>
171
175
  </div>
@@ -174,43 +178,45 @@ const meta: Meta<typeof PageTextIcon> = {
174
178
 
175
179
  {/* API Reference */}
176
180
  <div className="!space-y-8">
177
- <h3 className="text-center text-2xl font-bold !text-white">
181
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
178
182
  API Reference
179
183
  </h3>
180
- <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
181
- <div className="bg-white/5 p-4">
182
- <h4 className="text-lg font-semibold !text-white">Props</h4>
184
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
185
+ <div className="bg-fm-surface-secondary p-4">
186
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
187
+ Props
188
+ </h4>
183
189
  </div>
184
190
  <table className="!my-0 w-full">
185
- <thead className="bg-white/5">
186
- <tr className="border-b border-white/10">
187
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
191
+ <thead className="bg-fm-surface-secondary">
192
+ <tr className="border-fm-divider-secondary border-b">
193
+ <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
188
194
  Prop
189
195
  </th>
190
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
196
+ <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
191
197
  Type
192
198
  </th>
193
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
199
+ <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
194
200
  Default
195
201
  </th>
196
- <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
202
+ <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
197
203
  Description
198
204
  </th>
199
205
  </tr>
200
206
  </thead>
201
207
  <tbody>
202
208
  {" "}
203
- <tr className="!bg-black/10">
204
- <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
209
+ <tr className="bg-fm-surface-secondary!">
210
+ <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
205
211
  withAccessibility
206
212
  </td>
207
- <td className="px-6 py-4 text-sm !text-white/70">
213
+ <td className="text-fm-secondary! px-6 py-4 text-sm">
208
214
  boolean
209
215
  </td>
210
- <td className="px-6 py-4 text-sm !text-white/50">
216
+ <td className="text-fm-placeholder! px-6 py-4 text-sm">
211
217
  true
212
218
  </td>
213
- <td className="px-6 py-4 text-sm !text-white/70">
219
+ <td className="text-fm-secondary! px-6 py-4 text-sm">
214
220
  Whether to wrap the icon with accessibility feature
215
221
  </td>
216
222
  </tr>
@@ -221,17 +227,17 @@ const meta: Meta<typeof PageTextIcon> = {
221
227
 
222
228
  {/* Usage Examples */}
223
229
  <div className="!space-y-8">
224
- <h3 className="text-center text-2xl font-bold !text-white">
230
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
225
231
  Usage Examples
226
232
  </h3>
227
233
 
228
234
  <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
229
235
  <div className="space-y-4">
230
- <h4 className="text-lg font-semibold !text-indigo-300">
236
+ <h4 className="text-fm-icon-info! text-lg font-semibold">
231
237
  Basic Usage
232
238
  </h4>
233
- <div className="rounded-lg bg-black/40 p-4">
234
- <pre className="overflow-x-auto text-sm !text-green-300">
239
+ <div className="bg-fm-surface-secondary rounded-lg p-4">
240
+ <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
235
241
  {`import { PageTextIcon } from "@/components/ui/icons/page-text-icon"
236
242
 
237
243
  function DocumentButton() {
@@ -247,12 +253,12 @@ function DocumentButton() {
247
253
  </div>
248
254
 
249
255
  <div className="space-y-4">
250
- <h4 className="text-lg font-semibold !text-indigo-300">
256
+ <h4 className="text-fm-icon-info! text-lg font-semibold">
251
257
  Live Preview
252
258
  </h4>
253
- <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
254
- <button className="flex items-center gap-2 rounded-lg border border-indigo-500/20 bg-indigo-500/10 px-4 py-2 text-white transition-colors hover:bg-indigo-500/20">
255
- <PageTextIcon className="h-4 w-4 text-indigo-400" />
259
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
260
+ <button className="border-fm-icon-info/20 bg-fm-icon-info/10 text-fm-icon-active hover:bg-fm-icon-info/20 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
261
+ <PageTextIcon className="text-fm-icon-info h-4 w-4" />
256
262
  <span>View Page</span>
257
263
  </button>
258
264
  </div>
@@ -262,50 +268,62 @@ function DocumentButton() {
262
268
 
263
269
  {/* Size Examples */}
264
270
  <div className="!space-y-8">
265
- <h3 className="text-center text-2xl font-bold text-white!">
271
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
266
272
  Size Examples
267
273
  </h3>
268
- <div className="rounded-lg border border-white/10 bg-white/5 p-8">
274
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
269
275
  <div className="!space-y-6">
270
276
  <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
271
277
  <div className="!space-y-4">
272
- <h3 className="text-lg font-semibold text-indigo-300!">
278
+ <h3 className="text-fm-icon-info! text-lg font-semibold">
273
279
  Standard Sizes
274
280
  </h3>
275
- <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
281
+ <div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
276
282
  <div className="text-center">
277
- <PageTextIcon className="!mx-auto mb-2 h-3 w-3 text-indigo-400" />
278
- <span className="text-xs text-white/60">12px</span>
283
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
284
+ <span className="text-fm-tertiary text-xs">
285
+ 12px
286
+ </span>
279
287
  </div>
280
288
  <div className="text-center">
281
- <PageTextIcon className="!mx-auto mb-2 h-4 w-4 text-indigo-400" />
282
- <span className="text-xs text-white/60">16px</span>
289
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
290
+ <span className="text-fm-tertiary text-xs">
291
+ 16px
292
+ </span>
283
293
  </div>
284
294
  <div className="text-center">
285
- <PageTextIcon className="!mx-auto mb-2 h-5 w-5 text-indigo-400" />
286
- <span className="text-xs text-white/60">20px</span>
295
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
296
+ <span className="text-fm-tertiary text-xs">
297
+ 20px
298
+ </span>
287
299
  </div>
288
300
  <div className="text-center">
289
- <PageTextIcon className="!mx-auto mb-2 h-6 w-6 text-indigo-400" />
290
- <span className="text-xs text-white/60">24px</span>
301
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
302
+ <span className="text-fm-tertiary text-xs">
303
+ 24px
304
+ </span>
291
305
  </div>
292
306
  <div className="text-center">
293
- <PageTextIcon className="!mx-auto mb-2 h-8 w-8 text-indigo-400" />
294
- <span className="text-xs text-white/60">32px</span>
307
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
308
+ <span className="text-fm-tertiary text-xs">
309
+ 32px
310
+ </span>
295
311
  </div>
296
312
  <div className="text-center">
297
- <PageTextIcon className="!mx-auto mb-2 h-12 w-12 text-indigo-400" />
298
- <span className="text-xs text-white/60">48px</span>
313
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
314
+ <span className="text-fm-tertiary text-xs">
315
+ 48px
316
+ </span>
299
317
  </div>
300
318
  </div>
301
319
  </div>
302
320
 
303
321
  <div className="!space-y-4">
304
- <h3 className="text-lg font-semibold !text-indigo-300">
322
+ <h3 className="text-fm-icon-info! text-lg font-semibold">
305
323
  Code Example
306
324
  </h3>
307
- <div className="rounded-lg bg-black/40 p-4">
308
- <pre className="overflow-x-auto text-sm !text-green-300">
325
+ <div className="bg-fm-surface-secondary rounded-lg p-4">
326
+ <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
309
327
  {`// Small (16px)
310
328
  <PageTextIcon className="h-4 w-4 text-indigo-400" />
311
329
 
@@ -331,34 +349,34 @@ function DocumentButton() {
331
349
 
332
350
  {/* Common Use Cases */}
333
351
  <div className="!space-y-8">
334
- <h3 className="text-center text-2xl font-bold !text-white">
352
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
335
353
  Common Use Cases
336
354
  </h3>
337
355
  <div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
338
- <div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
356
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-3 rounded-lg border p-6">
339
357
  <div className="text-2xl">📄</div>
340
- <h4 className="text-lg font-semibold !text-white">
358
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
341
359
  Document Pages
342
360
  </h4>
343
- <p className="text-sm !text-white/80">
361
+ <p className="text-fm-icon-active!/80 text-sm">
344
362
  Page navigation and document views
345
363
  </p>
346
364
  </div>
347
- <div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
365
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-3 rounded-lg border p-6">
348
366
  <div className="text-2xl">📝</div>
349
- <h4 className="text-lg font-semibold !text-white">
367
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
350
368
  Text Editors
351
369
  </h4>
352
- <p className="text-sm !text-white/80">
370
+ <p className="text-fm-icon-active!/80 text-sm">
353
371
  Text editing interfaces
354
372
  </p>
355
373
  </div>
356
- <div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
374
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-3 rounded-lg border p-6">
357
375
  <div className="text-2xl">📚</div>
358
- <h4 className="text-lg font-semibold !text-white">
376
+ <h4 className="text-fm-icon-active! text-lg font-semibold">
359
377
  Content Management
360
378
  </h4>
361
- <p className="text-sm !text-white/80">
379
+ <p className="text-fm-icon-active!/80 text-sm">
362
380
  Content organization systems
363
381
  </p>
364
382
  </div>
@@ -367,50 +385,50 @@ function DocumentButton() {
367
385
 
368
386
  {/* Best Practices */}
369
387
  <div className="!space-y-8">
370
- <h3 className="text-center text-2xl font-bold !text-white">
388
+ <h3 className="text-fm-icon-active! text-center text-2xl font-bold">
371
389
  Best Practices
372
390
  </h3>
373
391
  <div className="grid grid-cols-1 gap-6 md:grid-cols-2">
374
- <div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
375
- <h4 className="text-lg font-semibold !text-emerald-300">
392
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
393
+ <h4 className="text-fm-icon-positive! text-lg font-semibold">
376
394
  ✅ Do
377
395
  </h4>
378
- <ul className="space-y-2 text-sm !text-white/80">
379
- <li className="!text-white/80">
396
+ <ul className="text-fm-icon-active!/80 space-y-2 text-sm">
397
+ <li className="text-fm-icon-active!/80">
380
398
  Use appropriate sizes for different contexts
381
399
  </li>
382
- <li className="!text-white/80">
400
+ <li className="text-fm-icon-active!/80">
383
401
  Choose colors that match your UI theme
384
402
  </li>
385
- <li className="!text-white/80">
403
+ <li className="text-fm-icon-active!/80">
386
404
  Provide clear labels for icon buttons
387
405
  </li>
388
- <li className="!text-white/80">
406
+ <li className="text-fm-icon-active!/80">
389
407
  Use consistent styling across your app
390
408
  </li>
391
- <li className="!text-white/80">
409
+ <li className="text-fm-icon-active!/80">
392
410
  Consider accessibility in all implementations
393
411
  </li>
394
412
  </ul>
395
413
  </div>
396
- <div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
397
- <h4 className="text-lg font-semibold !text-red-300">
414
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary space-y-4 rounded-lg border p-6">
415
+ <h4 className="text-fm-icon-negative! text-lg font-semibold">
398
416
  ❌ Don't
399
417
  </h4>
400
- <ul className="space-y-2 text-sm !text-white/80">
401
- <li className="!text-white/80">
418
+ <ul className="text-fm-icon-active!/80 space-y-2 text-sm">
419
+ <li className="text-fm-icon-active!/80">
402
420
  Use multiple icon styles in the same view
403
421
  </li>
404
- <li className="!text-white/80">
422
+ <li className="text-fm-icon-active!/80">
405
423
  Overuse the icon in navigation
406
424
  </li>
407
- <li className="!text-white/80">
425
+ <li className="text-fm-icon-active!/80">
408
426
  Use inappropriate sizes for the context
409
427
  </li>
410
- <li className="!text-white/80">
428
+ <li className="text-fm-icon-active!/80">
411
429
  Forget to add hover states
412
430
  </li>
413
- <li className="!text-white/80">
431
+ <li className="text-fm-icon-active!/80">
414
432
  Ignore accessibility requirements
415
433
  </li>
416
434
  </ul>
@@ -420,14 +438,14 @@ function DocumentButton() {
420
438
  </div>
421
439
 
422
440
  {/* Footer */}
423
- <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
441
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
424
442
  <div className="!mx-auto max-w-7xl px-6 py-8">
425
443
  <div className="!space-y-4 text-center">
426
- <p className="!text-white/60">
444
+ <p className="text-fm-tertiary!">
427
445
  PageTextIcon is part of the Aural UI icon library, designed
428
446
  for document pages and text content interfaces.
429
447
  </p>
430
- <p className="text-sm !text-white/40">
448
+ <p className="text-fm-placeholder! text-sm">
431
449
  Perfect for page navigation, document editors, content
432
450
  management systems, and any interface requiring page and
433
451
  text representation.
@@ -469,8 +487,8 @@ const storyParameters = {
469
487
  backgrounds: {
470
488
  default: "dark",
471
489
  values: [
472
- { name: "dark", value: "#0a0a0a" },
473
- { name: "darker", value: "#000000" },
490
+ { name: "dark", value: "var(--color-fm-surface-primary)" },
491
+ { name: "darker", value: "var(--color-fm-neutral-0)" },
474
492
  ],
475
493
  },
476
494
  }
@@ -479,12 +497,12 @@ export const Default: Story = {
479
497
  args: {
480
498
  width: 24,
481
499
  height: 24,
482
- className: "text-indigo-400",
500
+ className: "text-fm-icon-info",
483
501
  withAccessibility: true,
484
502
  },
485
503
  parameters: storyParameters,
486
504
  render: (args) => (
487
- <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
505
+ <div className="from-fm-surface-primary to-fm-surface-secondary flex h-32 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
488
506
  <PageTextIcon {...args} />
489
507
  </div>
490
508
  ),
@@ -501,30 +519,30 @@ export const SizeVariations: Story = {
501
519
  },
502
520
  },
503
521
  render: () => (
504
- <div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
522
+ <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-linear-to-br p-8">
505
523
  <div className="text-center">
506
- <PageTextIcon className="!mx-auto mb-2 h-3 w-3 text-indigo-400" />
507
- <span className="text-xs text-white/60">12px</span>
524
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
525
+ <span className="text-fm-tertiary text-xs">12px</span>
508
526
  </div>
509
527
  <div className="text-center">
510
- <PageTextIcon className="!mx-auto mb-2 h-4 w-4 text-indigo-400" />
511
- <span className="text-xs text-white/60">16px</span>
528
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
529
+ <span className="text-fm-tertiary text-xs">16px</span>
512
530
  </div>
513
531
  <div className="text-center">
514
- <PageTextIcon className="!mx-auto mb-2 h-5 w-5 text-indigo-400" />
515
- <span className="text-xs text-white/60">20px</span>
532
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
533
+ <span className="text-fm-tertiary text-xs">20px</span>
516
534
  </div>
517
535
  <div className="text-center">
518
- <PageTextIcon className="!mx-auto mb-2 h-6 w-6 text-indigo-400" />
519
- <span className="text-xs text-white/60">24px</span>
536
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
537
+ <span className="text-fm-tertiary text-xs">24px</span>
520
538
  </div>
521
539
  <div className="text-center">
522
- <PageTextIcon className="!mx-auto mb-2 h-8 w-8 text-indigo-400" />
523
- <span className="text-xs text-white/60">32px</span>
540
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
541
+ <span className="text-fm-tertiary text-xs">32px</span>
524
542
  </div>
525
543
  <div className="text-center">
526
- <PageTextIcon className="!mx-auto mb-2 h-12 w-12 text-indigo-400" />
527
- <span className="text-xs text-white/60">48px</span>
544
+ <PageTextIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
545
+ <span className="text-fm-tertiary text-xs">48px</span>
528
546
  </div>
529
547
  </div>
530
548
  ),
@@ -541,96 +559,116 @@ export const ColorVariations: Story = {
541
559
  },
542
560
  },
543
561
  render: () => (
544
- <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
562
+ <div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
545
563
  <div className="!space-y-4">
546
- <h3 className="text-center text-lg font-semibold !text-white">
564
+ <h3 className="text-fm-icon-active! text-center text-lg font-semibold">
547
565
  Standard Colors
548
566
  </h3>
549
567
  <div className="flex flex-wrap items-center justify-center gap-8">
550
568
  <div className="text-center">
551
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-indigo-500/30 bg-indigo-500/20">
552
- <PageTextIcon className="h-8 w-8 text-indigo-400" />
569
+ <div className="border-fm-icon-info/30 bg-fm-icon-info/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
570
+ <PageTextIcon className="text-fm-icon-info h-8 w-8" />
571
+ </div>
572
+ <div className="text-fm-icon-active text-sm font-medium">
573
+ Indigo
553
574
  </div>
554
- <div className="text-sm font-medium text-white">Indigo</div>
555
- <div className="text-xs text-indigo-400">text-indigo-400</div>
575
+ <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
556
576
  </div>
557
577
  <div className="text-center">
558
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-purple-500/30 bg-purple-500/20">
559
- <PageTextIcon className="h-8 w-8 text-purple-400" />
578
+ <div className="border-fm-secondary-500/30 bg-fm-secondary-500/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
579
+ <PageTextIcon className="text-fm-secondary-600 h-8 w-8" />
580
+ </div>
581
+ <div className="text-fm-icon-active text-sm font-medium">
582
+ Purple
583
+ </div>
584
+ <div className="text-fm-secondary-600 text-xs">
585
+ text-fm-secondary-600
560
586
  </div>
561
- <div className="text-sm font-medium text-white">Purple</div>
562
- <div className="text-xs text-purple-400">text-purple-400</div>
563
587
  </div>
564
588
  <div className="text-center">
565
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-green-500/30 bg-green-500/20">
566
- <PageTextIcon className="h-8 w-8 text-green-400" />
589
+ <div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
590
+ <PageTextIcon className="text-fm-icon-positive h-8 w-8" />
591
+ </div>
592
+ <div className="text-fm-icon-active text-sm font-medium">Green</div>
593
+ <div className="text-fm-icon-positive text-xs">
594
+ text-fm-icon-positive
567
595
  </div>
568
- <div className="text-sm font-medium text-white">Green</div>
569
- <div className="text-xs text-green-400">text-green-400</div>
570
596
  </div>
571
597
  <div className="text-center">
572
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-red-500/30 bg-red-500/20">
573
- <PageTextIcon className="h-8 w-8 text-red-400" />
598
+ <div className="border-fm-icon-negative/30 bg-fm-icon-negative/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
599
+ <PageTextIcon className="text-fm-icon-negative h-8 w-8" />
600
+ </div>
601
+ <div className="text-fm-icon-active text-sm font-medium">Red</div>
602
+ <div className="text-fm-icon-negative text-xs">
603
+ text-fm-icon-negative
574
604
  </div>
575
- <div className="text-sm font-medium text-white">Red</div>
576
- <div className="text-xs text-red-400">text-red-400</div>
577
605
  </div>
578
606
  <div className="text-center">
579
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-yellow-500/30 bg-yellow-500/20">
580
- <PageTextIcon className="h-8 w-8 text-yellow-400" />
607
+ <div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
608
+ <PageTextIcon className="text-fm-icon-warning h-8 w-8" />
609
+ </div>
610
+ <div className="text-fm-icon-active text-sm font-medium">
611
+ Yellow
612
+ </div>
613
+ <div className="text-fm-icon-warning text-xs">
614
+ text-fm-icon-warning
581
615
  </div>
582
- <div className="text-sm font-medium text-white">Yellow</div>
583
- <div className="text-xs text-yellow-400">text-yellow-400</div>
584
616
  </div>
585
617
  <div className="text-center">
586
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-blue-500/30 bg-blue-500/20">
587
- <PageTextIcon className="h-8 w-8 text-blue-400" />
618
+ <div className="border-fm-icon-info/30 bg-fm-icon-info/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
619
+ <PageTextIcon className="text-fm-icon-info h-8 w-8" />
588
620
  </div>
589
- <div className="text-sm font-medium text-white">Blue</div>
590
- <div className="text-xs text-blue-400">text-blue-400</div>
621
+ <div className="text-fm-icon-active text-sm font-medium">Blue</div>
622
+ <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
591
623
  </div>
592
624
  <div className="text-center">
593
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-cyan-500/30 bg-cyan-500/20">
594
- <PageTextIcon className="h-8 w-8 text-cyan-400" />
625
+ <div className="border-fm-icon-info/30 bg-fm-icon-info/20 mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
626
+ <PageTextIcon className="text-fm-icon-info h-8 w-8" />
595
627
  </div>
596
- <div className="text-sm font-medium text-white">Cyan</div>
597
- <div className="text-xs text-cyan-400">text-cyan-400</div>
628
+ <div className="text-fm-icon-active text-sm font-medium">Cyan</div>
629
+ <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
598
630
  </div>
599
631
  <div className="text-center">
600
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/30 bg-white/10">
601
- <PageTextIcon className="h-8 w-8 text-white" />
632
+ <div className="border-fm-divider-primary bg-fm-surface-secondary mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
633
+ <PageTextIcon className="text-fm-icon-active h-8 w-8" />
602
634
  </div>
603
- <div className="text-sm font-medium text-white">White</div>
604
- <div className="text-xs text-white/60">text-white</div>
635
+ <div className="text-fm-icon-active text-sm font-medium">White</div>
636
+ <div className="text-fm-tertiary text-xs">text-fm-icon-active</div>
605
637
  </div>
606
638
  </div>
607
639
  </div>
608
640
  <div className="!space-y-4">
609
- <h3 className="text-center text-lg font-semibold !text-white">
641
+ <h3 className="text-fm-icon-active! text-center text-lg font-semibold">
610
642
  Design System Colors
611
643
  </h3>
612
644
  <div className="flex flex-wrap items-center justify-center gap-8">
613
645
  <div className="text-center">
614
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/20 bg-white/5">
646
+ <div className="border-fm-divider-primary bg-fm-surface-secondary mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
615
647
  <PageTextIcon className="text-fm-primary h-8 w-8" />
616
648
  </div>
617
- <div className="text-sm font-medium text-white">Primary</div>
649
+ <div className="text-fm-icon-active text-sm font-medium">
650
+ Primary
651
+ </div>
618
652
  <div className="text-fm-primary text-xs">text-fm-primary</div>
619
653
  </div>
620
654
  <div className="text-center">
621
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/20 bg-white/5">
655
+ <div className="border-fm-divider-primary bg-fm-surface-secondary mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
622
656
  <PageTextIcon className="text-fm-secondary-500 h-8 w-8" />
623
657
  </div>
624
- <div className="text-sm font-medium text-white">Secondary</div>
658
+ <div className="text-fm-icon-active text-sm font-medium">
659
+ Secondary
660
+ </div>
625
661
  <div className="text-fm-secondary-500 text-xs">
626
662
  text-fm-secondary-500
627
663
  </div>
628
664
  </div>
629
665
  <div className="text-center">
630
- <div className="mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/20 bg-white/5">
666
+ <div className="border-fm-divider-primary bg-fm-surface-secondary mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
631
667
  <PageTextIcon className="text-fm-neutral-800 h-8 w-8" />
632
668
  </div>
633
- <div className="text-sm font-medium text-white">Neutral</div>
669
+ <div className="text-fm-icon-active text-sm font-medium">
670
+ Neutral
671
+ </div>
634
672
  <div className="text-fm-neutral-800 text-xs">
635
673
  text-fm-neutral-800
636
674
  </div>
@@ -652,69 +690,69 @@ export const UsageExamples: Story = {
652
690
  },
653
691
  },
654
692
  render: () => (
655
- <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
693
+ <div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
656
694
  <div className="!space-y-4">
657
- <h3 className="text-center text-lg font-semibold !text-white">
695
+ <h3 className="text-fm-icon-active! text-center text-lg font-semibold">
658
696
  Action Buttons
659
697
  </h3>
660
698
  <div className="flex flex-wrap items-center justify-center gap-4">
661
- <button className="flex items-center gap-2 rounded-lg border border-indigo-500/20 bg-indigo-500/10 px-4 py-2 text-white transition-colors hover:bg-indigo-500/20">
662
- <PageTextIcon className="h-4 w-4 text-indigo-400" />
699
+ <button className="border-fm-icon-info/20 bg-fm-icon-info/10 text-fm-icon-active hover:bg-fm-icon-info/20 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
700
+ <PageTextIcon className="text-fm-icon-info h-4 w-4" />
663
701
  <span>View Page</span>
664
702
  </button>
665
- <button className="flex items-center gap-2 rounded-lg border border-purple-500/20 bg-purple-500/10 px-4 py-2 text-white transition-colors hover:bg-purple-500/20">
666
- <PageTextIcon className="h-4 w-4 text-purple-400" />
703
+ <button className="border-fm-secondary-500/20 bg-fm-secondary-500/10 text-fm-icon-active hover:bg-fm-secondary-500/20 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
704
+ <PageTextIcon className="text-fm-secondary-600 h-4 w-4" />
667
705
  <span>Edit Page</span>
668
706
  </button>
669
- <button className="flex items-center gap-2 rounded-lg border border-green-500/20 bg-green-500/10 px-4 py-2 text-white transition-colors hover:bg-green-500/20">
670
- <PageTextIcon className="h-4 w-4 text-green-400" />
707
+ <button className="border-fm-icon-positive/20 bg-fm-icon-positive/10 text-fm-icon-active hover:bg-fm-icon-positive/20 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
708
+ <PageTextIcon className="text-fm-icon-positive h-4 w-4" />
671
709
  <span>Save Page</span>
672
710
  </button>
673
- <button className="flex items-center gap-2 rounded-lg border border-cyan-500/20 bg-cyan-500/10 px-4 py-2 text-white transition-colors hover:bg-cyan-500/20">
674
- <PageTextIcon className="h-4 w-4 text-cyan-400" />
711
+ <button className="border-fm-icon-info/20 bg-fm-icon-info/10 text-fm-icon-active hover:bg-fm-icon-info/20 flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
712
+ <PageTextIcon className="text-fm-icon-info h-4 w-4" />
675
713
  <span>New Page</span>
676
714
  </button>
677
715
  </div>
678
716
  </div>
679
717
  <div className="!space-y-4">
680
- <h3 className="text-center text-lg font-semibold !text-white">
718
+ <h3 className="text-fm-icon-active! text-center text-lg font-semibold">
681
719
  Page List Items
682
720
  </h3>
683
721
  <div className="flex flex-wrap items-center justify-center gap-4">
684
- <div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
685
- <PageTextIcon className="h-4 w-4 text-green-400" />
686
- <span className="text-white/80">Page 1</span>
722
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2">
723
+ <PageTextIcon className="text-fm-icon-positive h-4 w-4" />
724
+ <span className="text-fm-icon-active/80">Page 1</span>
687
725
  </div>
688
- <div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
689
- <PageTextIcon className="h-4 w-4 text-blue-400" />
690
- <span className="text-white/80">Page 2</span>
726
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2">
727
+ <PageTextIcon className="text-fm-icon-info h-4 w-4" />
728
+ <span className="text-fm-icon-active/80">Page 2</span>
691
729
  </div>
692
- <div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
693
- <PageTextIcon className="h-4 w-4 text-purple-400" />
694
- <span className="text-white/80">Page 3</span>
730
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2">
731
+ <PageTextIcon className="text-fm-secondary-600 h-4 w-4" />
732
+ <span className="text-fm-icon-active/80">Page 3</span>
695
733
  </div>
696
- <div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
697
- <PageTextIcon className="h-4 w-4 text-yellow-400" />
698
- <span className="text-white/80">Page 4</span>
734
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2">
735
+ <PageTextIcon className="text-fm-icon-warning h-4 w-4" />
736
+ <span className="text-fm-icon-active/80">Page 4</span>
699
737
  </div>
700
738
  </div>
701
739
  </div>
702
740
  <div className="!space-y-4">
703
- <h3 className="text-center text-lg font-semibold !text-white">
741
+ <h3 className="text-fm-icon-active! text-center text-lg font-semibold">
704
742
  Status Indicators
705
743
  </h3>
706
744
  <div className="flex flex-wrap items-center justify-center gap-4">
707
- <div className="flex items-center gap-2 rounded-lg border border-green-500/20 bg-green-500/10 px-4 py-2">
708
- <PageTextIcon className="h-5 w-5 text-green-400" />
709
- <span className="text-white">Published</span>
745
+ <div className="border-fm-icon-positive/20 bg-fm-icon-positive/10 flex items-center gap-2 rounded-lg border px-4 py-2">
746
+ <PageTextIcon className="text-fm-icon-positive h-5 w-5" />
747
+ <span className="text-fm-icon-active">Published</span>
710
748
  </div>
711
- <div className="flex items-center gap-2 rounded-lg border border-yellow-500/20 bg-yellow-500/10 px-4 py-2">
712
- <PageTextIcon className="h-5 w-5 text-yellow-400" />
713
- <span className="text-white">Draft</span>
749
+ <div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 flex items-center gap-2 rounded-lg border px-4 py-2">
750
+ <PageTextIcon className="text-fm-icon-warning h-5 w-5" />
751
+ <span className="text-fm-icon-active">Draft</span>
714
752
  </div>
715
- <div className="flex items-center gap-2 rounded-lg border border-red-500/20 bg-red-500/10 px-4 py-2">
716
- <PageTextIcon className="h-5 w-5 text-red-400" />
717
- <span className="text-white">Archived</span>
753
+ <div className="border-fm-icon-negative/20 bg-fm-icon-negative/10 flex items-center gap-2 rounded-lg border px-4 py-2">
754
+ <PageTextIcon className="text-fm-icon-negative h-5 w-5" />
755
+ <span className="text-fm-icon-active">Archived</span>
718
756
  </div>
719
757
  </div>
720
758
  </div>
@@ -735,11 +773,11 @@ export const Playground: Story = {
735
773
  args: {
736
774
  width: 32,
737
775
  height: 32,
738
- className: "text-indigo-400",
776
+ className: "text-fm-icon-info",
739
777
  },
740
778
  render: (args) => (
741
- <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
742
- <div className="rounded-lg border border-white/10 bg-white/5 p-8">
779
+ <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
780
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
743
781
  <PageTextIcon {...args} />
744
782
  </div>
745
783
  </div>