aural-ui 3.0.6 → 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.
- package/dist/components/aspect-ratio/AspectRatio.stories.tsx +271 -242
- package/dist/components/avatar/Avatar.stories.tsx +84 -70
- package/dist/components/button/Button.stories.tsx +7 -7
- package/dist/components/button/index.tsx +7 -7
- package/dist/components/card/Card.stories.tsx +3 -3
- package/dist/components/char-count/CharCount.stories.tsx +9 -9
- package/dist/components/circular-loader/CircularLoader.stories.tsx +109 -93
- package/dist/components/clamp-lines/ClampLines.stories.tsx +25 -0
- package/dist/components/clamp-lines/index.tsx +6 -1
- package/dist/components/collapsible/Collapsible.stories.tsx +1 -1
- package/dist/components/command/Command.stories.tsx +52 -38
- package/dist/components/dialog/Dialog.stories.tsx +89 -84
- package/dist/components/divider/Divider.stories.tsx +86 -60
- package/dist/components/dot-loader/DotLoader.stories.tsx +12 -12
- package/dist/components/drawer/Drawer.stories.tsx +74 -44
- package/dist/components/drawer/index.tsx +3 -3
- package/dist/components/dropdown/Dropdown.stories.tsx +42 -32
- package/dist/components/helper-text/HelperText.stories.tsx +2 -2
- package/dist/components/hover-card/HoverCard.stories.tsx +211 -178
- package/dist/components/input/Input.stories.tsx +2 -2
- package/dist/components/input/index.tsx +2 -0
- package/dist/components/label/Label.stories.tsx +10 -10
- package/dist/components/list/List.stories.tsx +58 -44
- package/dist/components/marquee/Marquee.stories.tsx +131 -113
- package/dist/components/otp-inputs/OtpInputs.stories.tsx +47 -35
- package/dist/components/overlay/Overlay.stories.tsx +98 -92
- package/dist/components/overlay/index.tsx +4 -4
- package/dist/components/popover/Popover.stories.tsx +132 -106
- package/dist/components/radio/Radio.stories.tsx +2 -2
- package/dist/components/resizable/Resizable.stories.tsx +186 -138
- package/dist/components/scroll-area/ScrollArea.stories.tsx +174 -120
- package/dist/components/search/Search.stories.tsx +81 -59
- package/dist/components/select/Select.stories.tsx +3 -1
- package/dist/components/sheet/Sheet.stories.tsx +68 -54
- package/dist/components/slider/Slider.stories.tsx +71 -47
- package/dist/components/stepper/Stepper.stories.tsx +16 -16
- package/dist/components/switch/Switch.stories.tsx +12 -12
- package/dist/components/table/Table.stories.tsx +8 -6
- package/dist/components/tabs/Tabs.stories.tsx +324 -268
- package/dist/components/textarea/TextArea.stories.tsx +1 -1
- package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +16 -10
- package/dist/components/toast/Toast.stories.tsx +51 -45
- package/dist/components/toggle/Toggle.stories.tsx +111 -89
- package/dist/components/tooltip/Tooltip.stories.tsx +160 -144
- package/dist/icons/Icons.stories.tsx +2 -2
- package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +287 -237
- package/dist/icons/alert-icon/AlertIcon.stories.tsx +290 -248
- package/dist/icons/all-icons.tsx +97 -81
- package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +312 -270
- package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +294 -244
- package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +309 -279
- package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +294 -258
- package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +289 -255
- package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +288 -256
- package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +322 -288
- package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +340 -296
- package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +197 -177
- package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +390 -328
- package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +313 -277
- package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +367 -309
- package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +356 -308
- package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +280 -234
- package/dist/icons/camera-icon/CameraIcon.stories.tsx +370 -326
- package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +300 -256
- package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +298 -262
- package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +294 -260
- package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +291 -259
- package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +286 -256
- package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +282 -256
- package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +292 -256
- package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +338 -290
- package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +167 -148
- package/dist/icons/coin-icon/CoinIcon.stories.tsx +342 -296
- package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +342 -296
- package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +280 -238
- package/dist/icons/command-icon/CommandIcon.stories.tsx +328 -280
- package/dist/icons/copy-icon/CopyIcon.stories.tsx +294 -256
- package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +285 -235
- package/dist/icons/cross-icon/CrossIcon.stories.tsx +308 -266
- package/dist/icons/download-icon/DownloadIcon.stories.tsx +271 -231
- package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +330 -278
- package/dist/icons/email-icon/EmailIcon.stories.tsx +303 -257
- package/dist/icons/expand-icon/ExpandIcon.stories.tsx +324 -286
- package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +317 -271
- package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +320 -272
- package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +322 -280
- package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +315 -277
- package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +199 -177
- package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +304 -264
- package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +311 -277
- package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +327 -287
- package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +314 -278
- package/dist/icons/globe-icon/GlobeIcon.stories.tsx +113 -98
- package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +274 -226
- package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +349 -303
- package/dist/icons/head-icon/HeadIcon.stories.tsx +286 -246
- package/dist/icons/heart-icon/HeartIcon.stories.tsx +312 -268
- package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +246 -210
- package/dist/icons/image-icon/ImageIcon.stories.tsx +330 -284
- package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +326 -282
- package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +330 -294
- package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +288 -234
- package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +386 -330
- package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +305 -263
- package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +295 -259
- package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +296 -256
- package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +322 -282
- package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +399 -359
- package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +314 -272
- package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +238 -206
- package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +322 -276
- package/dist/icons/message-icon/MessageIcon.stories.tsx +192 -170
- package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +348 -304
- package/dist/icons/moon-icon/MoonIcon.stories.tsx +191 -167
- package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +380 -326
- package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +345 -291
- package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +310 -266
- package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +311 -271
- package/dist/icons/notes-icon/NotesIcon.stories.tsx +311 -271
- package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +309 -271
- package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +248 -210
- package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +310 -262
- package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +274 -236
- package/dist/icons/pause-icon/PauseIcon.stories.tsx +324 -280
- package/dist/icons/pencil-icon/PencilIcon.stories.tsx +323 -281
- package/dist/icons/phone-icon/PhoneIcon.stories.tsx +288 -240
- package/dist/icons/plus-icon/PlusIcon.stories.tsx +315 -273
- package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +278 -234
- package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +161 -151
- package/dist/icons/search-icon/SearchIcon.stories.tsx +324 -284
- package/dist/icons/setting-icon/SettingIcon.stories.tsx +306 -264
- package/dist/icons/share-icon/ShareIcon.stories.tsx +314 -272
- package/dist/icons/shield-icon/ShieldIcon.stories.tsx +281 -235
- package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +309 -250
- package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +317 -279
- package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +315 -279
- package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +299 -253
- package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +185 -169
- package/dist/icons/spinner-gradient-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +192 -168
- package/dist/icons/spinner-solid-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +212 -178
- package/dist/icons/spinner-solid-neutral-icon/index.tsx +1 -1
- package/dist/icons/star-icon/StarIcon.stories.tsx +290 -244
- package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +286 -234
- package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +272 -230
- package/dist/icons/sun-icon/SunIcon.stories.tsx +262 -226
- package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +321 -279
- package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +332 -282
- package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +394 -342
- package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +338 -290
- package/dist/icons/tick-icon/TickIcon.stories.tsx +364 -315
- package/dist/icons/trash-icon/TrashIcon.stories.tsx +293 -253
- package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +396 -338
- package/dist/icons/upload-icon/UploadIcon.stories.tsx +291 -247
- package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +309 -271
- package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +336 -290
- package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +382 -334
- package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +349 -305
- package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +327 -295
- package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +336 -296
- package/dist/icons/warning-icon/WarningIcon.stories.tsx +314 -274
- package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +311 -261
- package/dist/index.cjs +84 -84
- package/dist/index.js +84 -84
- package/dist/styles/aural-all-theme.css +1222 -0
- package/dist/styles/{aural-theme.css → aural-dark-theme.css} +15 -3
- package/dist/styles/aural-light-theme.css +1047 -0
- package/package.json +1 -1
|
@@ -11,9 +11,9 @@ const meta: Meta<typeof LightBulbSimpleIcon> = {
|
|
|
11
11
|
backgrounds: {
|
|
12
12
|
default: "dark",
|
|
13
13
|
values: [
|
|
14
|
-
{ name: "dark", value: "
|
|
15
|
-
{ name: "darker", value: "
|
|
16
|
-
{ name: "light", value: "
|
|
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: {
|
|
@@ -40,42 +40,42 @@ const meta: Meta<typeof LightBulbSimpleIcon> = {
|
|
|
40
40
|
background: transparent ;
|
|
41
41
|
}
|
|
42
42
|
body {
|
|
43
|
-
background:
|
|
43
|
+
background: var(--color-fm-surface-primary) ;
|
|
44
44
|
}
|
|
45
45
|
#storybook-docs {
|
|
46
|
-
background:
|
|
46
|
+
background: var(--color-fm-surface-primary) ;
|
|
47
47
|
}
|
|
48
48
|
.sbdocs-preview {
|
|
49
49
|
background: transparent ;
|
|
50
50
|
border: none ;
|
|
51
51
|
}
|
|
52
52
|
.sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
|
|
53
|
-
color:
|
|
53
|
+
color: var(--color-fm-icon-active) ;
|
|
54
54
|
}
|
|
55
55
|
.sbdocs-p, .sbdocs-li {
|
|
56
|
-
color:
|
|
56
|
+
color: var(--color-fm-secondary) ;
|
|
57
57
|
}
|
|
58
58
|
.sbdocs-code {
|
|
59
|
-
background:
|
|
60
|
-
color:
|
|
61
|
-
border: 1px solid
|
|
59
|
+
background: var(--color-fm-surface-secondary) ;
|
|
60
|
+
color: var(--color-fm-secondary-500) ;
|
|
61
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
62
62
|
}
|
|
63
63
|
.sbdocs-pre {
|
|
64
|
-
background:
|
|
65
|
-
border: 1px solid
|
|
64
|
+
background: var(--color-fm-surface-secondary) ;
|
|
65
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
66
66
|
}
|
|
67
67
|
.sbdocs-table {
|
|
68
|
-
background:
|
|
69
|
-
border: 1px solid
|
|
68
|
+
background: var(--color-fm-surface-secondary) ;
|
|
69
|
+
border: 1px solid var(--color-fm-divider-secondary) ;
|
|
70
70
|
}
|
|
71
71
|
.sbdocs-table th {
|
|
72
|
-
background:
|
|
73
|
-
color:
|
|
74
|
-
border-bottom: 1px solid
|
|
72
|
+
background: var(--color-fm-surface-secondary) ;
|
|
73
|
+
color: var(--color-fm-icon-active) ;
|
|
74
|
+
border-bottom: 1px solid var(--color-fm-divider-secondary) ;
|
|
75
75
|
}
|
|
76
76
|
.sbdocs-table td {
|
|
77
|
-
color:
|
|
78
|
-
border-bottom: 1px solid
|
|
77
|
+
color: var(--color-fm-secondary) ;
|
|
78
|
+
border-bottom: 1px solid var(--color-fm-divider-tertiary) ;
|
|
79
79
|
}
|
|
80
80
|
@keyframes pulse {
|
|
81
81
|
0%, 100% { opacity: 1; }
|
|
@@ -94,19 +94,19 @@ const meta: Meta<typeof LightBulbSimpleIcon> = {
|
|
|
94
94
|
`}
|
|
95
95
|
</style>
|
|
96
96
|
|
|
97
|
-
<div className="
|
|
97
|
+
<div className="bg-fm-surface-primary min-h-screen">
|
|
98
98
|
{/* Header */}
|
|
99
|
-
<div className="relative overflow-hidden border-b
|
|
100
|
-
<div className="absolute inset-0 bg-
|
|
99
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
|
|
100
|
+
<div className="from-fm-icon-warning/10 to-fm-icon-warning/10 absolute inset-0 bg-linear-to-r via-transparent" />
|
|
101
101
|
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
102
102
|
<div className="!space-y-6 text-center">
|
|
103
|
-
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border
|
|
104
|
-
<LightBulbSimpleIcon className="h-12 w-12
|
|
103
|
+
<div className="border-fm-icon-warning/30 from-fm-icon-warning/20 to-fm-icon-warning/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
|
|
104
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-12 w-12" />
|
|
105
105
|
</div>
|
|
106
106
|
<h1 className="!text-fm-primary text-5xl font-bold">
|
|
107
107
|
LightBulbSimpleIcon
|
|
108
108
|
</h1>
|
|
109
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed
|
|
109
|
+
<p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
|
|
110
110
|
A clean, simple light bulb icon perfect for representing
|
|
111
111
|
ideas, innovation, creativity, and enlightenment. Features a
|
|
112
112
|
classic bulb design with filament detail and threaded base.
|
|
@@ -117,28 +117,28 @@ const meta: Meta<typeof LightBulbSimpleIcon> = {
|
|
|
117
117
|
{/* Stats */}
|
|
118
118
|
<div className="flex items-center justify-center gap-8 pt-8">
|
|
119
119
|
<div className="text-center">
|
|
120
|
-
<div className="text-3xl font-bold
|
|
120
|
+
<div className="text-fm-icon-warning text-3xl font-bold">
|
|
121
121
|
Ideas
|
|
122
122
|
</div>
|
|
123
|
-
<div className="text-
|
|
123
|
+
<div className="text-fm-tertiary text-sm">
|
|
124
124
|
Innovation & creativity
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
|
-
<div className="h-8 w-px
|
|
127
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
128
128
|
<div className="text-center">
|
|
129
|
-
<div className="text-3xl font-bold
|
|
129
|
+
<div className="text-fm-icon-warning text-3xl font-bold">
|
|
130
130
|
Insight
|
|
131
131
|
</div>
|
|
132
|
-
<div className="text-
|
|
132
|
+
<div className="text-fm-tertiary text-sm">
|
|
133
133
|
Knowledge & learning
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
|
-
<div className="h-8 w-px
|
|
136
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
137
137
|
<div className="text-center">
|
|
138
|
-
<div className="text-3xl font-bold
|
|
138
|
+
<div className="text-fm-icon-warning text-3xl font-bold">
|
|
139
139
|
Inspiration
|
|
140
140
|
</div>
|
|
141
|
-
<div className="text-
|
|
141
|
+
<div className="text-fm-tertiary text-sm">
|
|
142
142
|
Eureka moments
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
@@ -151,16 +151,16 @@ const meta: Meta<typeof LightBulbSimpleIcon> = {
|
|
|
151
151
|
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
152
152
|
{/* Quick Usage */}
|
|
153
153
|
<div className="!space-y-8">
|
|
154
|
-
<h2 className="text-center text-3xl font-bold
|
|
154
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
155
155
|
Quick Start
|
|
156
156
|
</h2>
|
|
157
157
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
158
158
|
<div className="!space-y-4">
|
|
159
|
-
<h3 className="text-xl font-semibold
|
|
159
|
+
<h3 className="text-fm-icon-warning! text-xl font-semibold">
|
|
160
160
|
Basic Usage
|
|
161
161
|
</h3>
|
|
162
|
-
<div className="rounded-lg
|
|
163
|
-
<pre className="overflow-x-auto text-sm
|
|
162
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
163
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
164
164
|
{`import { LightBulbSimpleIcon } from "@icons/light-bulb-simple-icon"
|
|
165
165
|
|
|
166
166
|
function FeatureCard() {
|
|
@@ -176,13 +176,13 @@ function FeatureCard() {
|
|
|
176
176
|
</div>
|
|
177
177
|
|
|
178
178
|
<div className="!space-y-4">
|
|
179
|
-
<h3 className="text-xl font-semibold
|
|
179
|
+
<h3 className="text-fm-icon-warning! text-xl font-semibold">
|
|
180
180
|
Live Preview
|
|
181
181
|
</h3>
|
|
182
|
-
<div className="flex h-32 items-center justify-center rounded-lg border
|
|
183
|
-
<div className="flex items-center gap-3 rounded-lg border
|
|
184
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
185
|
-
<span className="text-
|
|
182
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
|
|
183
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 flex items-center gap-3 rounded-lg border px-4 py-3">
|
|
184
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
185
|
+
<span className="text-fm-icon-active">Smart Ideas</span>
|
|
186
186
|
</div>
|
|
187
187
|
</div>
|
|
188
188
|
</div>
|
|
@@ -191,122 +191,130 @@ function FeatureCard() {
|
|
|
191
191
|
|
|
192
192
|
{/* Props Documentation */}
|
|
193
193
|
<div className="!space-y-8">
|
|
194
|
-
<h2 className="text-center text-3xl font-bold
|
|
194
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
195
195
|
Props & Configuration
|
|
196
196
|
</h2>
|
|
197
197
|
|
|
198
|
-
<div className="overflow-hidden rounded-lg border
|
|
199
|
-
<div className="bg-
|
|
200
|
-
<h3 className="text-xl font-semibold
|
|
198
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
199
|
+
<div className="bg-fm-surface-secondary p-4">
|
|
200
|
+
<h3 className="text-fm-icon-active! text-xl font-semibold">
|
|
201
|
+
Props
|
|
202
|
+
</h3>
|
|
201
203
|
</div>
|
|
202
204
|
<table className="!my-0 w-full">
|
|
203
|
-
<thead className="bg-
|
|
204
|
-
<tr className="border-
|
|
205
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
205
|
+
<thead className="bg-fm-surface-secondary">
|
|
206
|
+
<tr className="border-fm-divider-secondary border-b">
|
|
207
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
206
208
|
Prop
|
|
207
209
|
</th>
|
|
208
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
210
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
209
211
|
Type
|
|
210
212
|
</th>
|
|
211
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
213
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
212
214
|
Default
|
|
213
215
|
</th>
|
|
214
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
216
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
215
217
|
Description
|
|
216
218
|
</th>
|
|
217
219
|
</tr>
|
|
218
220
|
</thead>
|
|
219
221
|
<tbody>
|
|
220
222
|
{" "}
|
|
221
|
-
<tr className="
|
|
222
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
223
|
+
<tr className="bg-fm-surface-secondary!">
|
|
224
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
223
225
|
withAccessibility
|
|
224
226
|
</td>
|
|
225
|
-
<td className="px-6 py-4 text-sm
|
|
227
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
226
228
|
boolean
|
|
227
229
|
</td>
|
|
228
|
-
<td className="px-6 py-4 text-sm
|
|
230
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
229
231
|
true
|
|
230
232
|
</td>
|
|
231
|
-
<td className="px-6 py-4 text-sm
|
|
233
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
232
234
|
Whether to wrap the icon with accessibility feature
|
|
233
235
|
</td>
|
|
234
236
|
</tr>
|
|
235
|
-
<tr className="border-
|
|
236
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
237
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
238
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
237
239
|
height
|
|
238
240
|
</td>
|
|
239
|
-
<td className="px-6 py-4 text-sm
|
|
241
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
240
242
|
number | string
|
|
241
243
|
</td>
|
|
242
|
-
<td className="px-6 py-4 text-sm
|
|
243
|
-
|
|
244
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
245
|
+
24
|
|
246
|
+
</td>
|
|
247
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
244
248
|
Height of the icon in pixels
|
|
245
249
|
</td>
|
|
246
250
|
</tr>
|
|
247
|
-
<tr className="border-
|
|
248
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
251
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
252
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
249
253
|
stroke
|
|
250
254
|
</td>
|
|
251
|
-
<td className="px-6 py-4 text-sm
|
|
255
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
252
256
|
string
|
|
253
257
|
</td>
|
|
254
|
-
<td className="px-6 py-4 text-sm
|
|
258
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
255
259
|
currentColor
|
|
256
260
|
</td>
|
|
257
|
-
<td className="px-6 py-4 text-sm
|
|
261
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
258
262
|
Stroke color of the bulb outline
|
|
259
263
|
</td>
|
|
260
264
|
</tr>
|
|
261
|
-
<tr className="border-
|
|
262
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
265
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
266
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
263
267
|
strokeWidth
|
|
264
268
|
</td>
|
|
265
|
-
<td className="px-6 py-4 text-sm
|
|
269
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
266
270
|
string | number
|
|
267
271
|
</td>
|
|
268
|
-
<td className="px-6 py-4 text-sm
|
|
272
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
269
273
|
1.5
|
|
270
274
|
</td>
|
|
271
|
-
<td className="px-6 py-4 text-sm
|
|
275
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
272
276
|
Stroke width of the outline
|
|
273
277
|
</td>
|
|
274
278
|
</tr>
|
|
275
|
-
<tr className="border-
|
|
276
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
279
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
280
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
277
281
|
fill
|
|
278
282
|
</td>
|
|
279
|
-
<td className="px-6 py-4 text-sm
|
|
283
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
280
284
|
string
|
|
281
285
|
</td>
|
|
282
|
-
<td className="px-6 py-4 text-sm
|
|
286
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
283
287
|
none
|
|
284
288
|
</td>
|
|
285
|
-
<td className="px-6 py-4 text-sm
|
|
289
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
286
290
|
Fill color of the icon
|
|
287
291
|
</td>
|
|
288
292
|
</tr>
|
|
289
|
-
<tr className="border-
|
|
290
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
293
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
294
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
291
295
|
className
|
|
292
296
|
</td>
|
|
293
|
-
<td className="px-6 py-4 text-sm
|
|
297
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
294
298
|
string
|
|
295
299
|
</td>
|
|
296
|
-
<td className="px-6 py-4 text-sm
|
|
297
|
-
|
|
300
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
301
|
+
-
|
|
302
|
+
</td>
|
|
303
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
298
304
|
CSS classes for styling (use for overrides)
|
|
299
305
|
</td>
|
|
300
306
|
</tr>
|
|
301
|
-
<tr className="
|
|
302
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
307
|
+
<tr className="bg-fm-surface-secondary!">
|
|
308
|
+
<td className="text-fm-icon-warning! px-6 py-4 font-mono text-sm">
|
|
303
309
|
...svgProps
|
|
304
310
|
</td>
|
|
305
|
-
<td className="px-6 py-4 text-sm
|
|
311
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
306
312
|
SVGProps
|
|
307
313
|
</td>
|
|
308
|
-
<td className="px-6 py-4 text-sm
|
|
309
|
-
|
|
314
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
315
|
+
-
|
|
316
|
+
</td>
|
|
317
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
310
318
|
All standard SVG element props
|
|
311
319
|
</td>
|
|
312
320
|
</tr>
|
|
@@ -317,50 +325,62 @@ function FeatureCard() {
|
|
|
317
325
|
|
|
318
326
|
{/* Size Variations */}
|
|
319
327
|
<div className="!space-y-8">
|
|
320
|
-
<h2 className="text-center text-3xl font-bold
|
|
328
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
321
329
|
Size Variations
|
|
322
330
|
</h2>
|
|
323
|
-
<div className="rounded-lg border
|
|
331
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
324
332
|
<div className="!space-y-6">
|
|
325
333
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
326
334
|
<div className="!space-y-4">
|
|
327
|
-
<h3 className="text-lg font-semibold
|
|
335
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
328
336
|
Standard Sizes
|
|
329
337
|
</h3>
|
|
330
|
-
<div className="flex items-end gap-6 rounded-lg
|
|
338
|
+
<div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
|
|
331
339
|
<div className="text-center">
|
|
332
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-3 w-3
|
|
333
|
-
<span className="text-
|
|
340
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-3 w-3" />
|
|
341
|
+
<span className="text-fm-tertiary text-xs">
|
|
342
|
+
12px
|
|
343
|
+
</span>
|
|
334
344
|
</div>
|
|
335
345
|
<div className="text-center">
|
|
336
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-4 w-4
|
|
337
|
-
<span className="text-
|
|
346
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-4 w-4" />
|
|
347
|
+
<span className="text-fm-tertiary text-xs">
|
|
348
|
+
16px
|
|
349
|
+
</span>
|
|
338
350
|
</div>
|
|
339
351
|
<div className="text-center">
|
|
340
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-5 w-5
|
|
341
|
-
<span className="text-
|
|
352
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-5 w-5" />
|
|
353
|
+
<span className="text-fm-tertiary text-xs">
|
|
354
|
+
20px
|
|
355
|
+
</span>
|
|
342
356
|
</div>
|
|
343
357
|
<div className="text-center">
|
|
344
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-6 w-6
|
|
345
|
-
<span className="text-
|
|
358
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-6 w-6" />
|
|
359
|
+
<span className="text-fm-tertiary text-xs">
|
|
360
|
+
24px
|
|
361
|
+
</span>
|
|
346
362
|
</div>
|
|
347
363
|
<div className="text-center">
|
|
348
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-8 w-8
|
|
349
|
-
<span className="text-
|
|
364
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-8 w-8" />
|
|
365
|
+
<span className="text-fm-tertiary text-xs">
|
|
366
|
+
32px
|
|
367
|
+
</span>
|
|
350
368
|
</div>
|
|
351
369
|
<div className="text-center">
|
|
352
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-12 w-12
|
|
353
|
-
<span className="text-
|
|
370
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-12 w-12" />
|
|
371
|
+
<span className="text-fm-tertiary text-xs">
|
|
372
|
+
48px
|
|
373
|
+
</span>
|
|
354
374
|
</div>
|
|
355
375
|
</div>
|
|
356
376
|
</div>
|
|
357
377
|
|
|
358
378
|
<div className="!space-y-4">
|
|
359
|
-
<h3 className="text-lg font-semibold
|
|
379
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
360
380
|
Code Example
|
|
361
381
|
</h3>
|
|
362
|
-
<div className="rounded-lg
|
|
363
|
-
<pre className="overflow-x-auto text-sm
|
|
382
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
383
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
364
384
|
{`// Small (16px)
|
|
365
385
|
<LightBulbSimpleIcon className="h-4 w-4 " />
|
|
366
386
|
|
|
@@ -386,56 +406,56 @@ function FeatureCard() {
|
|
|
386
406
|
|
|
387
407
|
{/* Color Variations */}
|
|
388
408
|
<div className="!space-y-8">
|
|
389
|
-
<h2 className="text-center text-3xl font-bold
|
|
409
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
390
410
|
Color Variations
|
|
391
411
|
</h2>
|
|
392
412
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
393
413
|
<div className="!space-y-4">
|
|
394
|
-
<h3 className="text-lg font-semibold
|
|
414
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
395
415
|
Semantic Colors
|
|
396
416
|
</h3>
|
|
397
|
-
<div className="!space-y-4 rounded-lg border
|
|
417
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
398
418
|
<div className="flex items-center gap-4">
|
|
399
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
419
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
400
420
|
<div>
|
|
401
|
-
<div className="text-sm font-medium
|
|
421
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
402
422
|
Innovation
|
|
403
423
|
</div>
|
|
404
|
-
<div className="text-
|
|
405
|
-
text-
|
|
424
|
+
<div className="text-fm-tertiary text-xs">
|
|
425
|
+
text-fm-icon-warning
|
|
406
426
|
</div>
|
|
407
427
|
</div>
|
|
408
428
|
</div>
|
|
409
429
|
<div className="flex items-center gap-4">
|
|
410
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
430
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
411
431
|
<div>
|
|
412
|
-
<div className="text-sm font-medium
|
|
432
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
413
433
|
Creativity
|
|
414
434
|
</div>
|
|
415
|
-
<div className="text-
|
|
416
|
-
text-
|
|
435
|
+
<div className="text-fm-tertiary text-xs">
|
|
436
|
+
text-fm-icon-warning
|
|
417
437
|
</div>
|
|
418
438
|
</div>
|
|
419
439
|
</div>
|
|
420
440
|
<div className="flex items-center gap-4">
|
|
421
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
441
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
422
442
|
<div>
|
|
423
|
-
<div className="text-sm font-medium
|
|
443
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
424
444
|
Inspiration
|
|
425
445
|
</div>
|
|
426
|
-
<div className="text-
|
|
427
|
-
text-
|
|
446
|
+
<div className="text-fm-tertiary text-xs">
|
|
447
|
+
text-fm-icon-warning
|
|
428
448
|
</div>
|
|
429
449
|
</div>
|
|
430
450
|
</div>
|
|
431
451
|
<div className="flex items-center gap-4">
|
|
432
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
452
|
+
<LightBulbSimpleIcon className="text-fm-icon-info h-6 w-6" />
|
|
433
453
|
<div>
|
|
434
|
-
<div className="text-sm font-medium
|
|
454
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
435
455
|
Knowledge
|
|
436
456
|
</div>
|
|
437
|
-
<div className="text-
|
|
438
|
-
text-
|
|
457
|
+
<div className="text-fm-tertiary text-xs">
|
|
458
|
+
text-fm-icon-info
|
|
439
459
|
</div>
|
|
440
460
|
</div>
|
|
441
461
|
</div>
|
|
@@ -443,11 +463,11 @@ function FeatureCard() {
|
|
|
443
463
|
</div>
|
|
444
464
|
|
|
445
465
|
<div className="!space-y-4">
|
|
446
|
-
<h3 className="text-lg font-semibold
|
|
466
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
447
467
|
Custom Colors
|
|
448
468
|
</h3>
|
|
449
|
-
<div className="rounded-lg
|
|
450
|
-
<pre className="overflow-x-auto text-sm
|
|
469
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
470
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
451
471
|
{`// Using Tailwind classes with
|
|
452
472
|
<LightBulbSimpleIcon className="h-6 w-6 text-yellow-400 " />
|
|
453
473
|
<LightBulbSimpleIcon className="h-6 w-6 text-orange-500 " />
|
|
@@ -472,27 +492,27 @@ function FeatureCard() {
|
|
|
472
492
|
|
|
473
493
|
{/* Usage Examples */}
|
|
474
494
|
<div className="!space-y-8">
|
|
475
|
-
<h2 className="text-center text-3xl font-bold
|
|
495
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
476
496
|
Usage Examples
|
|
477
497
|
</h2>
|
|
478
498
|
|
|
479
499
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
480
500
|
{/* Feature Card */}
|
|
481
501
|
<div className="!space-y-4">
|
|
482
|
-
<h3 className="text-lg font-semibold
|
|
502
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
483
503
|
Feature Card
|
|
484
504
|
</h3>
|
|
485
505
|
<div className="!space-y-4">
|
|
486
|
-
<div className="rounded-lg border
|
|
506
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
487
507
|
<div className="flex items-start gap-4">
|
|
488
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg border
|
|
489
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
508
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 flex h-12 w-12 items-center justify-center rounded-lg border">
|
|
509
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
490
510
|
</div>
|
|
491
511
|
<div className="flex-1">
|
|
492
|
-
<h4 className="mb-2 text-lg font-semibold
|
|
512
|
+
<h4 className="text-fm-icon-active! mb-2 text-lg font-semibold">
|
|
493
513
|
Smart Innovation
|
|
494
514
|
</h4>
|
|
495
|
-
<p className="text-
|
|
515
|
+
<p className="text-fm-secondary! text-sm">
|
|
496
516
|
Breakthrough ideas and creative solutions powered
|
|
497
517
|
by intelligent insights and data-driven
|
|
498
518
|
innovation.
|
|
@@ -500,8 +520,8 @@ function FeatureCard() {
|
|
|
500
520
|
</div>
|
|
501
521
|
</div>
|
|
502
522
|
</div>
|
|
503
|
-
<div className="rounded-lg
|
|
504
|
-
<pre className="overflow-x-auto text-sm
|
|
523
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
524
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
505
525
|
{`<div className="border border-white/10 bg-white/5 p-6 rounded-lg">
|
|
506
526
|
<div className="flex items-start gap-4">
|
|
507
527
|
<div className="flex h-12 w-12 items-center justify-center rounded-lg border border-yellow-500/30 bg-yellow-500/20">
|
|
@@ -522,7 +542,7 @@ function FeatureCard() {
|
|
|
522
542
|
|
|
523
543
|
{/* Tips Section */}
|
|
524
544
|
<div className="!space-y-4">
|
|
525
|
-
<h3 className="text-lg font-semibold
|
|
545
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
526
546
|
Tips & Insights
|
|
527
547
|
</h3>
|
|
528
548
|
<div className="!space-y-4">
|
|
@@ -543,7 +563,7 @@ function FeatureCard() {
|
|
|
543
563
|
].map((item, index) => (
|
|
544
564
|
<div
|
|
545
565
|
key={index}
|
|
546
|
-
className="flex items-center gap-3 rounded-lg border
|
|
566
|
+
className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-lg border p-3"
|
|
547
567
|
>
|
|
548
568
|
<LightBulbSimpleIcon
|
|
549
569
|
className={`h-4 w-4 ${
|
|
@@ -555,7 +575,7 @@ function FeatureCard() {
|
|
|
555
575
|
}`}
|
|
556
576
|
/>
|
|
557
577
|
<div className="flex-1">
|
|
558
|
-
<span className="text-
|
|
578
|
+
<span className="text-fm-icon-active text-sm">
|
|
559
579
|
{item.text}
|
|
560
580
|
</span>
|
|
561
581
|
</div>
|
|
@@ -573,8 +593,8 @@ function FeatureCard() {
|
|
|
573
593
|
</div>
|
|
574
594
|
))}
|
|
575
595
|
</div>
|
|
576
|
-
<div className="rounded-lg
|
|
577
|
-
<pre className="overflow-x-auto text-sm
|
|
596
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
597
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
578
598
|
{`// Tip item
|
|
579
599
|
<div className="flex items-center gap-3 border border-white/10 bg-white/5 p-3 rounded-lg">
|
|
580
600
|
<LightBulbSimpleIcon className="h-4 w-4 text-yellow-400 " />
|
|
@@ -592,28 +612,28 @@ function FeatureCard() {
|
|
|
592
612
|
|
|
593
613
|
{/* Hero Section */}
|
|
594
614
|
<div className="!space-y-4">
|
|
595
|
-
<h3 className="text-lg font-semibold
|
|
615
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
596
616
|
Hero Section
|
|
597
617
|
</h3>
|
|
598
618
|
<div className="!space-y-4">
|
|
599
|
-
<div className="relative overflow-hidden rounded-lg border
|
|
600
|
-
<div className="absolute inset-0 bg-
|
|
619
|
+
<div className="border-fm-icon-warning/20 from-fm-icon-warning/10 to-fm-icon-warning/10 relative overflow-hidden rounded-lg border bg-linear-to-br p-8 text-center">
|
|
620
|
+
<div className="via-fm-icon-warning/5 absolute inset-0 bg-linear-to-r from-transparent to-transparent" />
|
|
601
621
|
<div className="relative">
|
|
602
|
-
<LightBulbSimpleIcon className="!mx-auto mb-4 h-16 w-16
|
|
603
|
-
<h2 className="mb-4 text-3xl font-bold
|
|
622
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-4 h-16 w-16" />
|
|
623
|
+
<h2 className="text-fm-icon-active! mb-4 text-3xl font-bold">
|
|
604
624
|
Bright Ideas Await
|
|
605
625
|
</h2>
|
|
606
|
-
<p className="mb-6 text-lg
|
|
626
|
+
<p className="text-fm-secondary! mb-6 text-lg">
|
|
607
627
|
Discover innovative solutions and creative
|
|
608
628
|
inspiration
|
|
609
629
|
</p>
|
|
610
|
-
<button className="
|
|
630
|
+
<button className="bg-fm-icon-warning/20 text-fm-icon-warning hover:bg-fm-icon-warning/30 rounded-lg px-6 py-3 transition-colors">
|
|
611
631
|
Get Started
|
|
612
632
|
</button>
|
|
613
633
|
</div>
|
|
614
634
|
</div>
|
|
615
|
-
<div className="rounded-lg
|
|
616
|
-
<pre className="overflow-x-auto text-sm
|
|
635
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
636
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
617
637
|
{`// Hero section with light bulb
|
|
618
638
|
<div className="relative overflow-hidden rounded-lg border border-yellow-500/20 bg-gradient-to-br from-yellow-500/10 to-orange-500/10 p-8 text-center">
|
|
619
639
|
<div className="relative">
|
|
@@ -634,11 +654,11 @@ function FeatureCard() {
|
|
|
634
654
|
|
|
635
655
|
{/* Navigation Menu */}
|
|
636
656
|
<div className="!space-y-4">
|
|
637
|
-
<h3 className="text-lg font-semibold
|
|
657
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
638
658
|
Navigation Menu
|
|
639
659
|
</h3>
|
|
640
660
|
<div className="!space-y-4">
|
|
641
|
-
<div className="max-w-xs rounded-lg border
|
|
661
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary max-w-xs rounded-lg border p-3">
|
|
642
662
|
{[
|
|
643
663
|
{ name: "Dashboard", icon: "📊", active: false },
|
|
644
664
|
{
|
|
@@ -670,13 +690,13 @@ function FeatureCard() {
|
|
|
670
690
|
)}
|
|
671
691
|
<span className="flex-1 text-sm">{item.name}</span>
|
|
672
692
|
{item.active && (
|
|
673
|
-
<div className="h-2 w-2 rounded-full
|
|
693
|
+
<div className="bg-fm-icon-warning h-2 w-2 rounded-full"></div>
|
|
674
694
|
)}
|
|
675
695
|
</div>
|
|
676
696
|
))}
|
|
677
697
|
</div>
|
|
678
|
-
<div className="rounded-lg
|
|
679
|
-
<pre className="overflow-x-auto text-sm
|
|
698
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
699
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
680
700
|
{`// Navigation item
|
|
681
701
|
<div className="flex items-center gap-3 p-2 rounded bg-yellow-500/20 text-yellow-200 cursor-pointer">
|
|
682
702
|
<LightBulbSimpleIcon className="h-4 w-4 text-yellow-400 " />
|
|
@@ -692,55 +712,55 @@ function FeatureCard() {
|
|
|
692
712
|
|
|
693
713
|
{/* Interactive States */}
|
|
694
714
|
<div className="!space-y-8">
|
|
695
|
-
<h2 className="text-center text-3xl font-bold
|
|
715
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
696
716
|
Interactive States & Animations
|
|
697
717
|
</h2>
|
|
698
718
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
699
719
|
<div className="!space-y-4">
|
|
700
|
-
<h3 className="text-lg font-semibold
|
|
720
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
701
721
|
Hover & Animation Effects
|
|
702
722
|
</h3>
|
|
703
|
-
<div className="!space-y-4 rounded-lg border
|
|
723
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
704
724
|
<div className="flex items-center gap-4">
|
|
705
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
725
|
+
<LightBulbSimpleIcon className="text-fm-tertiary hover:text-fm-icon-warning h-6 w-6 transition-colors" />
|
|
706
726
|
<div>
|
|
707
|
-
<div className="text-sm font-medium
|
|
727
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
708
728
|
Color Change
|
|
709
729
|
</div>
|
|
710
|
-
<div className="text-
|
|
711
|
-
hover:text-
|
|
730
|
+
<div className="text-fm-tertiary text-xs">
|
|
731
|
+
hover:text-fm-icon-warning
|
|
712
732
|
</div>
|
|
713
733
|
</div>
|
|
714
734
|
</div>
|
|
715
735
|
<div className="flex items-center gap-4">
|
|
716
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
736
|
+
<LightBulbSimpleIcon className="text-fm-icon-active h-6 w-6 transition-transform hover:scale-110" />
|
|
717
737
|
<div>
|
|
718
|
-
<div className="text-sm font-medium
|
|
738
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
719
739
|
Scale Effect
|
|
720
740
|
</div>
|
|
721
|
-
<div className="text-
|
|
741
|
+
<div className="text-fm-tertiary text-xs">
|
|
722
742
|
hover:scale-110
|
|
723
743
|
</div>
|
|
724
744
|
</div>
|
|
725
745
|
</div>
|
|
726
746
|
<div className="flex items-center gap-4">
|
|
727
|
-
<LightBulbSimpleIcon className="h-6 w-6 animate-pulse
|
|
747
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6 animate-pulse" />
|
|
728
748
|
<div>
|
|
729
|
-
<div className="text-sm font-medium
|
|
749
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
730
750
|
Thinking
|
|
731
751
|
</div>
|
|
732
|
-
<div className="text-
|
|
752
|
+
<div className="text-fm-tertiary text-xs">
|
|
733
753
|
animate-pulse
|
|
734
754
|
</div>
|
|
735
755
|
</div>
|
|
736
756
|
</div>
|
|
737
757
|
<div className="flex items-center gap-4">
|
|
738
|
-
<LightBulbSimpleIcon className="animate-glow h-6 w-6
|
|
758
|
+
<LightBulbSimpleIcon className="animate-glow text-fm-icon-warning h-6 w-6" />
|
|
739
759
|
<div>
|
|
740
|
-
<div className="text-sm font-medium
|
|
760
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
741
761
|
Eureka Moment
|
|
742
762
|
</div>
|
|
743
|
-
<div className="text-
|
|
763
|
+
<div className="text-fm-tertiary text-xs">
|
|
744
764
|
animate-glow
|
|
745
765
|
</div>
|
|
746
766
|
</div>
|
|
@@ -749,11 +769,11 @@ function FeatureCard() {
|
|
|
749
769
|
</div>
|
|
750
770
|
|
|
751
771
|
<div className="!space-y-4">
|
|
752
|
-
<h3 className="text-lg font-semibold
|
|
772
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
753
773
|
Animation Examples
|
|
754
774
|
</h3>
|
|
755
|
-
<div className="rounded-lg
|
|
756
|
-
<pre className="overflow-x-auto text-sm
|
|
775
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
776
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
757
777
|
{`// Hover effects
|
|
758
778
|
<LightBulbSimpleIcon className="h-6 w-6 text-white/60 hover:text-yellow-400 transition-colors " />
|
|
759
779
|
|
|
@@ -783,64 +803,64 @@ function FeatureCard() {
|
|
|
783
803
|
|
|
784
804
|
{/* Accessibility */}
|
|
785
805
|
<div className="!space-y-8">
|
|
786
|
-
<h2 className="text-center text-3xl font-bold
|
|
806
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
787
807
|
Accessibility Features
|
|
788
808
|
</h2>
|
|
789
809
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
790
|
-
<div className="!space-y-4 rounded-lg border
|
|
791
|
-
<h3 className="text-lg font-semibold
|
|
810
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
811
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
792
812
|
✅ Built-in Features
|
|
793
813
|
</h3>
|
|
794
|
-
<ul className="!space-y-2 text-sm
|
|
795
|
-
<li className="
|
|
814
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
815
|
+
<li className="text-fm-secondary!">
|
|
796
816
|
Uses Radix UI AccessibleIcon wrapper
|
|
797
817
|
</li>
|
|
798
|
-
<li className="
|
|
818
|
+
<li className="text-fm-secondary!">
|
|
799
819
|
Provides screen reader label "Light bulb icon"
|
|
800
820
|
</li>
|
|
801
|
-
<li className="
|
|
821
|
+
<li className="text-fm-secondary!">
|
|
802
822
|
Supports keyboard navigation when interactive
|
|
803
823
|
</li>
|
|
804
|
-
<li className="
|
|
824
|
+
<li className="text-fm-secondary!">
|
|
805
825
|
Maintains proper color contrast ratios
|
|
806
826
|
</li>
|
|
807
|
-
<li className="
|
|
827
|
+
<li className="text-fm-secondary!">
|
|
808
828
|
Scales with user's font size preferences
|
|
809
829
|
</li>
|
|
810
830
|
</ul>
|
|
811
831
|
</div>
|
|
812
832
|
|
|
813
|
-
<div className="!space-y-4 rounded-lg border
|
|
814
|
-
<h3 className="text-lg font-semibold
|
|
833
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
834
|
+
<h3 className="text-fm-icon-warning! text-lg font-semibold">
|
|
815
835
|
💡 Best Practices
|
|
816
836
|
</h3>
|
|
817
|
-
<ul className="!space-y-2 text-sm
|
|
818
|
-
<li className="
|
|
837
|
+
<ul className="text-fm-secondary !space-y-2 text-sm">
|
|
838
|
+
<li className="text-fm-secondary!">
|
|
819
839
|
Always pair with descriptive context
|
|
820
840
|
</li>
|
|
821
|
-
<li className="
|
|
841
|
+
<li className="text-fm-secondary!">
|
|
822
842
|
Use consistent colors for idea/innovation themes
|
|
823
843
|
</li>
|
|
824
|
-
<li className="
|
|
844
|
+
<li className="text-fm-secondary!">
|
|
825
845
|
Consider motion sensitivity for glow animations
|
|
826
846
|
</li>
|
|
827
|
-
<li className="
|
|
847
|
+
<li className="text-fm-secondary!">
|
|
828
848
|
Add focus states for interactive elements
|
|
829
849
|
</li>
|
|
830
|
-
<li className="
|
|
850
|
+
<li className="text-fm-secondary!">
|
|
831
851
|
Provide alternative text for complex contexts
|
|
832
852
|
</li>
|
|
833
853
|
</ul>
|
|
834
854
|
</div>
|
|
835
855
|
</div>
|
|
836
856
|
|
|
837
|
-
<div className="rounded-lg border
|
|
838
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
857
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
858
|
+
<h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
|
|
839
859
|
Innovation & Ideas Accessibility
|
|
840
860
|
</h3>
|
|
841
861
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
842
|
-
<div className="rounded-lg
|
|
843
|
-
<pre className="overflow-x-auto text-sm
|
|
862
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
863
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
844
864
|
{`// Ideas button with proper ARIA
|
|
845
865
|
<button
|
|
846
866
|
aria-label="View creative ideas and innovation suggestions"
|
|
@@ -874,13 +894,13 @@ function FeatureCard() {
|
|
|
874
894
|
</pre>
|
|
875
895
|
</div>
|
|
876
896
|
<div className="!space-y-4">
|
|
877
|
-
<p className="text-
|
|
897
|
+
<p className="text-fm-secondary! text-sm">
|
|
878
898
|
When using LightBulbSimpleIcon for ideas and innovation
|
|
879
899
|
features, provide clear context about what creative
|
|
880
900
|
functionality or insights users can expect.
|
|
881
901
|
</p>
|
|
882
|
-
<div className="
|
|
883
|
-
<div className="flex items-center gap-2 text-sm
|
|
902
|
+
<div className="border-fm-icon-warning/20 bg-fm-icon-warning/10 rounded-lg border p-4">
|
|
903
|
+
<div className="text-fm-icon-warning flex items-center gap-2 text-sm">
|
|
884
904
|
<LightBulbSimpleIcon className="h-4 w-4" />
|
|
885
905
|
<span>
|
|
886
906
|
Screen readers understand this represents creative
|
|
@@ -895,50 +915,58 @@ function FeatureCard() {
|
|
|
895
915
|
|
|
896
916
|
{/* Related Icons */}
|
|
897
917
|
<div className="!space-y-8">
|
|
898
|
-
<h2 className="text-center text-3xl font-bold
|
|
918
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
899
919
|
Related Icons
|
|
900
920
|
</h2>
|
|
901
921
|
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
902
|
-
<div className="!space-y-3 rounded-lg border
|
|
903
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
922
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
923
|
+
<div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
904
924
|
<span className="text-2xl">🧠</span>
|
|
905
925
|
</div>
|
|
906
926
|
<div>
|
|
907
|
-
<div className="font-medium
|
|
908
|
-
|
|
927
|
+
<div className="text-fm-icon-active font-medium">
|
|
928
|
+
BrainIcon
|
|
929
|
+
</div>
|
|
930
|
+
<div className="text-fm-tertiary text-xs">
|
|
909
931
|
Intelligence & thinking
|
|
910
932
|
</div>
|
|
911
933
|
</div>
|
|
912
934
|
</div>
|
|
913
|
-
<div className="!space-y-3 rounded-lg border
|
|
914
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
935
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
936
|
+
<div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
915
937
|
<span className="text-2xl">⚡</span>
|
|
916
938
|
</div>
|
|
917
939
|
<div>
|
|
918
|
-
<div className="font-medium
|
|
919
|
-
|
|
940
|
+
<div className="text-fm-icon-active font-medium">
|
|
941
|
+
SparkIcon
|
|
942
|
+
</div>
|
|
943
|
+
<div className="text-fm-tertiary text-xs">
|
|
920
944
|
Inspiration & energy
|
|
921
945
|
</div>
|
|
922
946
|
</div>
|
|
923
947
|
</div>
|
|
924
|
-
<div className="!space-y-3 rounded-lg border
|
|
925
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
948
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
949
|
+
<div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
926
950
|
<span className="text-2xl">🎯</span>
|
|
927
951
|
</div>
|
|
928
952
|
<div>
|
|
929
|
-
<div className="font-medium
|
|
930
|
-
|
|
953
|
+
<div className="text-fm-icon-active font-medium">
|
|
954
|
+
TargetIcon
|
|
955
|
+
</div>
|
|
956
|
+
<div className="text-fm-tertiary text-xs">
|
|
931
957
|
Goals & objectives
|
|
932
958
|
</div>
|
|
933
959
|
</div>
|
|
934
960
|
</div>
|
|
935
|
-
<div className="!space-y-3 rounded-lg border
|
|
936
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
961
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
962
|
+
<div className="bg-fm-icon-warning/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
937
963
|
<span className="text-2xl">🚀</span>
|
|
938
964
|
</div>
|
|
939
965
|
<div>
|
|
940
|
-
<div className="font-medium
|
|
941
|
-
|
|
966
|
+
<div className="text-fm-icon-active font-medium">
|
|
967
|
+
RocketIcon
|
|
968
|
+
</div>
|
|
969
|
+
<div className="text-fm-tertiary text-xs">
|
|
942
970
|
Launch & growth
|
|
943
971
|
</div>
|
|
944
972
|
</div>
|
|
@@ -948,15 +976,15 @@ function FeatureCard() {
|
|
|
948
976
|
</div>
|
|
949
977
|
|
|
950
978
|
{/* Footer */}
|
|
951
|
-
<div className="border-
|
|
979
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
|
|
952
980
|
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
953
981
|
<div className="!space-y-4 text-center">
|
|
954
|
-
<p className="
|
|
982
|
+
<p className="text-fm-tertiary!">
|
|
955
983
|
LightBulbSimpleIcon is part of the Aural UI icon library,
|
|
956
984
|
built for representing creativity, innovation, and bright
|
|
957
985
|
ideas.
|
|
958
986
|
</p>
|
|
959
|
-
<p className="text-
|
|
987
|
+
<p className="text-fm-placeholder! text-sm">
|
|
960
988
|
All icons use Radix UI's AccessibleIcon for screen reader
|
|
961
989
|
compatibility and follow WCAG guidelines for creative
|
|
962
990
|
applications.
|
|
@@ -1010,20 +1038,20 @@ const storyParameters = {
|
|
|
1010
1038
|
backgrounds: {
|
|
1011
1039
|
default: "dark",
|
|
1012
1040
|
values: [
|
|
1013
|
-
{ name: "dark", value: "
|
|
1014
|
-
{ name: "darker", value: "
|
|
1041
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
1042
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
1015
1043
|
],
|
|
1016
1044
|
},
|
|
1017
1045
|
}
|
|
1018
1046
|
|
|
1019
1047
|
export const Default: Story = {
|
|
1020
1048
|
args: {
|
|
1021
|
-
className: "h-6 w-6 text-
|
|
1049
|
+
className: "h-6 w-6 text-fm-icon-warning ",
|
|
1022
1050
|
withAccessibility: true,
|
|
1023
1051
|
},
|
|
1024
1052
|
parameters: storyParameters,
|
|
1025
1053
|
render: (args) => (
|
|
1026
|
-
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1054
|
+
<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">
|
|
1027
1055
|
<LightBulbSimpleIcon {...args} />
|
|
1028
1056
|
</div>
|
|
1029
1057
|
),
|
|
@@ -1040,30 +1068,30 @@ export const SizeVariations: Story = {
|
|
|
1040
1068
|
},
|
|
1041
1069
|
},
|
|
1042
1070
|
render: () => (
|
|
1043
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-
|
|
1071
|
+
<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">
|
|
1044
1072
|
<div className="text-center">
|
|
1045
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-3 w-3
|
|
1046
|
-
<span className="text-
|
|
1073
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-3 w-3" />
|
|
1074
|
+
<span className="text-fm-tertiary text-xs">12px</span>
|
|
1047
1075
|
</div>
|
|
1048
1076
|
<div className="text-center">
|
|
1049
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-4 w-4
|
|
1050
|
-
<span className="text-
|
|
1077
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-4 w-4" />
|
|
1078
|
+
<span className="text-fm-tertiary text-xs">16px</span>
|
|
1051
1079
|
</div>
|
|
1052
1080
|
<div className="text-center">
|
|
1053
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-5 w-5
|
|
1054
|
-
<span className="text-
|
|
1081
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-5 w-5" />
|
|
1082
|
+
<span className="text-fm-tertiary text-xs">20px</span>
|
|
1055
1083
|
</div>
|
|
1056
1084
|
<div className="text-center">
|
|
1057
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-6 w-6
|
|
1058
|
-
<span className="text-
|
|
1085
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-6 w-6" />
|
|
1086
|
+
<span className="text-fm-tertiary text-xs">24px</span>
|
|
1059
1087
|
</div>
|
|
1060
1088
|
<div className="text-center">
|
|
1061
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-8 w-8
|
|
1062
|
-
<span className="text-
|
|
1089
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-8 w-8" />
|
|
1090
|
+
<span className="text-fm-tertiary text-xs">32px</span>
|
|
1063
1091
|
</div>
|
|
1064
1092
|
<div className="text-center">
|
|
1065
|
-
<LightBulbSimpleIcon className="!mx-auto mb-2 h-12 w-12
|
|
1066
|
-
<span className="text-
|
|
1093
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-2 h-12 w-12" />
|
|
1094
|
+
<span className="text-fm-tertiary text-xs">48px</span>
|
|
1067
1095
|
</div>
|
|
1068
1096
|
</div>
|
|
1069
1097
|
),
|
|
@@ -1080,34 +1108,40 @@ export const ColorVariations: Story = {
|
|
|
1080
1108
|
},
|
|
1081
1109
|
},
|
|
1082
1110
|
render: () => (
|
|
1083
|
-
<div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-
|
|
1111
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-linear-to-br p-8 md:grid-cols-4">
|
|
1084
1112
|
<div className="text-center">
|
|
1085
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1086
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1113
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1114
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1115
|
+
</div>
|
|
1116
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1117
|
+
Innovation
|
|
1087
1118
|
</div>
|
|
1088
|
-
<div className="text-
|
|
1089
|
-
<div className="text-xs text-yellow-400">text-yellow-400</div>
|
|
1119
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1090
1120
|
</div>
|
|
1091
1121
|
<div className="text-center">
|
|
1092
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1093
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1122
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1123
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1094
1124
|
</div>
|
|
1095
|
-
<div className="text-sm font-medium
|
|
1096
|
-
|
|
1125
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1126
|
+
Creativity
|
|
1127
|
+
</div>
|
|
1128
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1097
1129
|
</div>
|
|
1098
1130
|
<div className="text-center">
|
|
1099
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1100
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1131
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1132
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-8 w-8" />
|
|
1133
|
+
</div>
|
|
1134
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1135
|
+
Inspiration
|
|
1101
1136
|
</div>
|
|
1102
|
-
<div className="text-
|
|
1103
|
-
<div className="text-xs text-amber-400">text-amber-400</div>
|
|
1137
|
+
<div className="text-fm-icon-warning text-xs">text-fm-icon-warning</div>
|
|
1104
1138
|
</div>
|
|
1105
1139
|
<div className="text-center">
|
|
1106
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1107
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1140
|
+
<div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1141
|
+
<LightBulbSimpleIcon className="text-fm-icon-info h-8 w-8" />
|
|
1108
1142
|
</div>
|
|
1109
|
-
<div className="text-sm font-medium
|
|
1110
|
-
<div className="text-
|
|
1143
|
+
<div className="text-fm-icon-active text-sm font-medium">Knowledge</div>
|
|
1144
|
+
<div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
|
|
1111
1145
|
</div>
|
|
1112
1146
|
</div>
|
|
1113
1147
|
),
|
|
@@ -1124,20 +1158,22 @@ export const UsageExamples: Story = {
|
|
|
1124
1158
|
},
|
|
1125
1159
|
},
|
|
1126
1160
|
render: () => (
|
|
1127
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1161
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1128
1162
|
{/* Feature Card */}
|
|
1129
1163
|
<div className="!space-y-2">
|
|
1130
|
-
<h3 className="text-sm font-medium
|
|
1131
|
-
|
|
1164
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1165
|
+
Feature Card
|
|
1166
|
+
</h3>
|
|
1167
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
1132
1168
|
<div className="flex items-start gap-4">
|
|
1133
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg border
|
|
1134
|
-
<LightBulbSimpleIcon className="h-6 w-6
|
|
1169
|
+
<div className="border-fm-icon-warning/30 bg-fm-icon-warning/20 flex h-12 w-12 items-center justify-center rounded-lg border">
|
|
1170
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-6 w-6" />
|
|
1135
1171
|
</div>
|
|
1136
1172
|
<div className="flex-1">
|
|
1137
|
-
<h4 className="mb-2 text-lg font-semibold
|
|
1173
|
+
<h4 className="text-fm-icon-active! mb-2 text-lg font-semibold">
|
|
1138
1174
|
Smart Innovation
|
|
1139
1175
|
</h4>
|
|
1140
|
-
<p className="text-
|
|
1176
|
+
<p className="text-fm-secondary! text-sm">
|
|
1141
1177
|
Breakthrough ideas and creative solutions powered by intelligent
|
|
1142
1178
|
insights.
|
|
1143
1179
|
</p>
|
|
@@ -1148,7 +1184,9 @@ export const UsageExamples: Story = {
|
|
|
1148
1184
|
|
|
1149
1185
|
{/* Tips Section */}
|
|
1150
1186
|
<div className="!space-y-2">
|
|
1151
|
-
<h3 className="text-sm font-medium
|
|
1187
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1188
|
+
Tips & Insights
|
|
1189
|
+
</h3>
|
|
1152
1190
|
<div className="!space-y-3">
|
|
1153
1191
|
{[
|
|
1154
1192
|
{
|
|
@@ -1163,7 +1201,7 @@ export const UsageExamples: Story = {
|
|
|
1163
1201
|
].map((item, index) => (
|
|
1164
1202
|
<div
|
|
1165
1203
|
key={index}
|
|
1166
|
-
className="flex items-center gap-3 rounded-lg border
|
|
1204
|
+
className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-lg border p-3"
|
|
1167
1205
|
>
|
|
1168
1206
|
<LightBulbSimpleIcon
|
|
1169
1207
|
className={`h-4 w-4 ${
|
|
@@ -1175,7 +1213,7 @@ export const UsageExamples: Story = {
|
|
|
1175
1213
|
}`}
|
|
1176
1214
|
/>
|
|
1177
1215
|
<div className="flex-1">
|
|
1178
|
-
<span className="text-
|
|
1216
|
+
<span className="text-fm-icon-active text-sm">{item.text}</span>
|
|
1179
1217
|
</div>
|
|
1180
1218
|
<div
|
|
1181
1219
|
className={`rounded px-2 py-1 text-xs ${
|
|
@@ -1195,17 +1233,19 @@ export const UsageExamples: Story = {
|
|
|
1195
1233
|
|
|
1196
1234
|
{/* Hero Section Preview */}
|
|
1197
1235
|
<div className="!space-y-2">
|
|
1198
|
-
<h3 className="text-sm font-medium
|
|
1199
|
-
|
|
1236
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1237
|
+
Hero Section
|
|
1238
|
+
</h3>
|
|
1239
|
+
<div className="border-fm-icon-warning/20 from-fm-icon-warning/10 to-fm-icon-warning/10 relative overflow-hidden rounded-lg border bg-linear-to-br p-8 text-center">
|
|
1200
1240
|
<div className="relative">
|
|
1201
|
-
<LightBulbSimpleIcon className="!mx-auto mb-4 h-16 w-16
|
|
1202
|
-
<h2 className="mb-4 text-3xl font-bold
|
|
1241
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning !mx-auto mb-4 h-16 w-16" />
|
|
1242
|
+
<h2 className="text-fm-icon-active mb-4 text-3xl font-bold">
|
|
1203
1243
|
Bright Ideas Await
|
|
1204
1244
|
</h2>
|
|
1205
|
-
<p className="mb-6 text-lg
|
|
1245
|
+
<p className="text-fm-secondary mb-6 text-lg">
|
|
1206
1246
|
Discover innovative solutions and creative inspiration
|
|
1207
1247
|
</p>
|
|
1208
|
-
<button className="
|
|
1248
|
+
<button className="bg-fm-icon-warning/20 text-fm-icon-warning hover:bg-fm-icon-warning/30 rounded-lg px-6 py-3 transition-colors">
|
|
1209
1249
|
Get Started
|
|
1210
1250
|
</button>
|
|
1211
1251
|
</div>
|
|
@@ -1226,27 +1266,27 @@ export const InteractiveStates: Story = {
|
|
|
1226
1266
|
},
|
|
1227
1267
|
},
|
|
1228
1268
|
render: () => (
|
|
1229
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1269
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1230
1270
|
<div className="!space-y-4">
|
|
1231
|
-
<h3 className="text-sm font-medium
|
|
1271
|
+
<h3 className="text-fm-secondary text-sm font-medium">
|
|
1232
1272
|
Hover & Animation Effects
|
|
1233
1273
|
</h3>
|
|
1234
1274
|
<div className="flex gap-8">
|
|
1235
1275
|
<div className="flex flex-col items-center gap-2">
|
|
1236
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1237
|
-
<span className="text-
|
|
1276
|
+
<LightBulbSimpleIcon className="text-fm-tertiary hover:text-fm-icon-warning h-8 w-8 transition-colors" />
|
|
1277
|
+
<span className="text-fm-tertiary text-xs">Color Change</span>
|
|
1238
1278
|
</div>
|
|
1239
1279
|
<div className="flex flex-col items-center gap-2">
|
|
1240
|
-
<LightBulbSimpleIcon className="h-8 w-8
|
|
1241
|
-
<span className="text-
|
|
1280
|
+
<LightBulbSimpleIcon className="text-fm-icon-active h-8 w-8 transition-transform hover:scale-110" />
|
|
1281
|
+
<span className="text-fm-tertiary text-xs">Scale Up</span>
|
|
1242
1282
|
</div>
|
|
1243
1283
|
<div className="flex flex-col items-center gap-2">
|
|
1244
|
-
<LightBulbSimpleIcon className="h-8 w-8 animate-pulse
|
|
1245
|
-
<span className="text-
|
|
1284
|
+
<LightBulbSimpleIcon className="text-fm-icon-warning h-8 w-8 animate-pulse" />
|
|
1285
|
+
<span className="text-fm-tertiary text-xs">Thinking</span>
|
|
1246
1286
|
</div>
|
|
1247
1287
|
<div className="flex flex-col items-center gap-2">
|
|
1248
|
-
<LightBulbSimpleIcon className="animate-glow h-8 w-8
|
|
1249
|
-
<span className="text-
|
|
1288
|
+
<LightBulbSimpleIcon className="animate-glow text-fm-icon-warning h-8 w-8" />
|
|
1289
|
+
<span className="text-fm-tertiary text-xs">Eureka!</span>
|
|
1250
1290
|
</div>
|
|
1251
1291
|
</div>
|
|
1252
1292
|
</div>
|
|
@@ -1267,12 +1307,12 @@ export const Playground: Story = {
|
|
|
1267
1307
|
args: {
|
|
1268
1308
|
width: 32,
|
|
1269
1309
|
height: 32,
|
|
1270
|
-
className: "text-
|
|
1310
|
+
className: "text-fm-icon-warning ",
|
|
1271
1311
|
strokeWidth: 1.5,
|
|
1272
1312
|
},
|
|
1273
1313
|
render: (args) => (
|
|
1274
|
-
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1275
|
-
<div className="rounded-lg border
|
|
1314
|
+
<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">
|
|
1315
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
1276
1316
|
<LightBulbSimpleIcon {...args} />
|
|
1277
1317
|
</div>
|
|
1278
1318
|
</div>
|