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 SiteLogoIcon> = {
|
|
|
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 SiteLogoIcon> = {
|
|
|
40
40
|
background: transparent !important;
|
|
41
41
|
}
|
|
42
42
|
body {
|
|
43
|
-
background:
|
|
43
|
+
background: var(--color-fm-surface-primary) !important;
|
|
44
44
|
}
|
|
45
45
|
#storybook-docs {
|
|
46
|
-
background:
|
|
46
|
+
background: var(--color-fm-surface-primary) !important;
|
|
47
47
|
}
|
|
48
48
|
.sbdocs-preview {
|
|
49
49
|
background: transparent !important;
|
|
50
50
|
border: none !important;
|
|
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) !important;
|
|
54
54
|
}
|
|
55
55
|
.sbdocs-p, .sbdocs-li {
|
|
56
|
-
color:
|
|
56
|
+
color: var(--color-fm-secondary) !important;
|
|
57
57
|
}
|
|
58
58
|
.sbdocs-code {
|
|
59
|
-
background:
|
|
60
|
-
color:
|
|
61
|
-
border: 1px solid
|
|
59
|
+
background: var(--color-fm-surface-secondary) !important;
|
|
60
|
+
color: var(--color-fm-secondary-500) !important;
|
|
61
|
+
border: 1px solid var(--color-fm-divider-secondary) !important;
|
|
62
62
|
}
|
|
63
63
|
.sbdocs-pre {
|
|
64
|
-
background:
|
|
65
|
-
border: 1px solid
|
|
64
|
+
background: var(--color-fm-surface-secondary) !important;
|
|
65
|
+
border: 1px solid var(--color-fm-divider-secondary) !important;
|
|
66
66
|
}
|
|
67
67
|
.sbdocs-table {
|
|
68
|
-
background:
|
|
69
|
-
border: 1px solid
|
|
68
|
+
background: var(--color-fm-surface-secondary) !important;
|
|
69
|
+
border: 1px solid var(--color-fm-divider-secondary) !important;
|
|
70
70
|
}
|
|
71
71
|
.sbdocs-table th {
|
|
72
|
-
background:
|
|
73
|
-
color:
|
|
74
|
-
border-bottom: 1px solid
|
|
72
|
+
background: var(--color-fm-surface-secondary) !important;
|
|
73
|
+
color: var(--color-fm-icon-active) !important;
|
|
74
|
+
border-bottom: 1px solid var(--color-fm-divider-secondary) !important;
|
|
75
75
|
}
|
|
76
76
|
.sbdocs-table td {
|
|
77
|
-
color:
|
|
78
|
-
border-bottom: 1px solid
|
|
77
|
+
color: var(--color-fm-secondary) !important;
|
|
78
|
+
border-bottom: 1px solid var(--color-fm-divider-tertiary) !important;
|
|
79
79
|
}
|
|
80
80
|
@keyframes logo-pulse {
|
|
81
81
|
0%, 100% { transform: scale(1); }
|
|
@@ -94,19 +94,19 @@ const meta: Meta<typeof SiteLogoIcon> = {
|
|
|
94
94
|
`}
|
|
95
95
|
</style>
|
|
96
96
|
|
|
97
|
-
<div className="
|
|
97
|
+
<div className="from-fm-surface-primary via-fm-icon-negative/5 to-fm-surface-primary min-h-screen bg-linear-to-br">
|
|
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-negative/10 to-fm-secondary-500/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
|
|
103
|
+
<div className="border-fm-icon-negative/30 from-fm-icon-negative/20 to-fm-secondary-500/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
|
|
104
104
|
<SiteLogoIcon className="h-12 w-12" />
|
|
105
105
|
</div>
|
|
106
106
|
<h1 className="!text-fm-primary text-5xl font-bold">
|
|
107
107
|
SiteLogoIcon
|
|
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
|
The official Aural UI site logo icon for brand identity,
|
|
111
111
|
navigation headers, and app branding. Features a distinctive
|
|
112
112
|
red gradient design with speech bubble elements. Built with
|
|
@@ -117,28 +117,28 @@ const meta: Meta<typeof SiteLogoIcon> = {
|
|
|
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-negative text-3xl font-bold">
|
|
121
121
|
Brand
|
|
122
122
|
</div>
|
|
123
|
-
<div className="text-
|
|
123
|
+
<div className="text-fm-tertiary text-sm">
|
|
124
124
|
Identity focused
|
|
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-secondary-600 text-3xl font-bold">
|
|
130
130
|
Scalable
|
|
131
131
|
</div>
|
|
132
|
-
<div className="text-
|
|
132
|
+
<div className="text-fm-tertiary text-sm">
|
|
133
133
|
All sizes supported
|
|
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-negative text-3xl font-bold">
|
|
139
139
|
Accessible
|
|
140
140
|
</div>
|
|
141
|
-
<div className="text-
|
|
141
|
+
<div className="text-fm-tertiary text-sm">
|
|
142
142
|
Screen reader ready
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
@@ -151,16 +151,16 @@ const meta: Meta<typeof SiteLogoIcon> = {
|
|
|
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-negative! 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 { SiteLogoIcon } from "@icons/site-logo-icon"
|
|
165
165
|
|
|
166
166
|
function Header() {
|
|
@@ -176,13 +176,13 @@ function Header() {
|
|
|
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-negative! 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
|
|
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-negative/20 bg-fm-icon-negative/10 flex items-center gap-3 rounded-lg border px-6 py-3">
|
|
184
184
|
<SiteLogoIcon className="h-8 w-8" />
|
|
185
|
-
<span className="text-xl font-bold
|
|
185
|
+
<span className="text-fm-icon-active text-xl font-bold">
|
|
186
186
|
Aural UI
|
|
187
187
|
</span>
|
|
188
188
|
</div>
|
|
@@ -193,94 +193,102 @@ function Header() {
|
|
|
193
193
|
|
|
194
194
|
{/* Props Documentation */}
|
|
195
195
|
<div className="!space-y-8">
|
|
196
|
-
<h2 className="text-center text-3xl font-bold
|
|
196
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
197
197
|
Props & Configuration
|
|
198
198
|
</h2>
|
|
199
199
|
|
|
200
|
-
<div className="overflow-hidden rounded-lg border
|
|
201
|
-
<div className="bg-
|
|
202
|
-
<h3 className="text-xl font-semibold
|
|
200
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
201
|
+
<div className="bg-fm-surface-secondary p-4">
|
|
202
|
+
<h3 className="text-fm-icon-active! text-xl font-semibold">
|
|
203
|
+
Props
|
|
204
|
+
</h3>
|
|
203
205
|
</div>
|
|
204
206
|
<table className="!my-0 w-full">
|
|
205
|
-
<thead className="bg-
|
|
206
|
-
<tr className="border-
|
|
207
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
207
|
+
<thead className="bg-fm-surface-secondary">
|
|
208
|
+
<tr className="border-fm-divider-secondary border-b">
|
|
209
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
208
210
|
Prop
|
|
209
211
|
</th>
|
|
210
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
212
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
211
213
|
Type
|
|
212
214
|
</th>
|
|
213
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
215
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
214
216
|
Default
|
|
215
217
|
</th>
|
|
216
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
218
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
217
219
|
Description
|
|
218
220
|
</th>
|
|
219
221
|
</tr>
|
|
220
222
|
</thead>
|
|
221
223
|
<tbody>
|
|
222
224
|
{" "}
|
|
223
|
-
<tr className="
|
|
224
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
225
|
+
<tr className="bg-fm-surface-secondary!">
|
|
226
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
225
227
|
withAccessibility
|
|
226
228
|
</td>
|
|
227
|
-
<td className="px-6 py-4 text-sm
|
|
229
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
228
230
|
boolean
|
|
229
231
|
</td>
|
|
230
|
-
<td className="px-6 py-4 text-sm
|
|
232
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
231
233
|
true
|
|
232
234
|
</td>
|
|
233
|
-
<td className="px-6 py-4 text-sm
|
|
235
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
234
236
|
Whether to wrap the icon with accessibility feature
|
|
235
237
|
</td>
|
|
236
238
|
</tr>
|
|
237
|
-
<tr className="border-
|
|
238
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
239
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
240
|
+
<td className="text-fm-icon-negative! px-6 py-4 font-mono text-sm">
|
|
239
241
|
height
|
|
240
242
|
</td>
|
|
241
|
-
<td className="px-6 py-4 text-sm
|
|
243
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
242
244
|
number | string
|
|
243
245
|
</td>
|
|
244
|
-
<td className="px-6 py-4 text-sm
|
|
245
|
-
|
|
246
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
247
|
+
22
|
|
248
|
+
</td>
|
|
249
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
246
250
|
Height of the logo in pixels
|
|
247
251
|
</td>
|
|
248
252
|
</tr>
|
|
249
|
-
<tr className="border-
|
|
250
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
253
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
254
|
+
<td className="text-fm-icon-negative! px-6 py-4 font-mono text-sm">
|
|
251
255
|
className
|
|
252
256
|
</td>
|
|
253
|
-
<td className="px-6 py-4 text-sm
|
|
257
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
254
258
|
string
|
|
255
259
|
</td>
|
|
256
|
-
<td className="px-6 py-4 text-sm
|
|
257
|
-
|
|
260
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
261
|
+
-
|
|
262
|
+
</td>
|
|
263
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
258
264
|
CSS classes for styling
|
|
259
265
|
</td>
|
|
260
266
|
</tr>
|
|
261
|
-
<tr className="border-
|
|
262
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
267
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
268
|
+
<td className="text-fm-icon-negative! px-6 py-4 font-mono text-sm">
|
|
263
269
|
viewBox
|
|
264
270
|
</td>
|
|
265
|
-
<td className="px-6 py-4 text-sm
|
|
271
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
266
272
|
string
|
|
267
273
|
</td>
|
|
268
|
-
<td className="px-6 py-4 text-sm
|
|
274
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
269
275
|
"0 0 128 128"
|
|
270
276
|
</td>
|
|
271
|
-
<td className="px-6 py-4 text-sm
|
|
277
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
272
278
|
SVG viewBox for scaling
|
|
273
279
|
</td>
|
|
274
280
|
</tr>
|
|
275
|
-
<tr className="
|
|
276
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
281
|
+
<tr className="bg-fm-surface-secondary!">
|
|
282
|
+
<td className="text-fm-icon-negative! px-6 py-4 font-mono text-sm">
|
|
277
283
|
...svgProps
|
|
278
284
|
</td>
|
|
279
|
-
<td className="px-6 py-4 text-sm
|
|
285
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
280
286
|
SVGProps
|
|
281
287
|
</td>
|
|
282
|
-
<td className="px-6 py-4 text-sm
|
|
283
|
-
|
|
288
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
289
|
+
-
|
|
290
|
+
</td>
|
|
291
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
284
292
|
All standard SVG element props
|
|
285
293
|
</td>
|
|
286
294
|
</tr>
|
|
@@ -291,50 +299,62 @@ function Header() {
|
|
|
291
299
|
|
|
292
300
|
{/* Size Variations */}
|
|
293
301
|
<div className="!space-y-8">
|
|
294
|
-
<h2 className="text-center text-3xl font-bold
|
|
302
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
295
303
|
Size Variations
|
|
296
304
|
</h2>
|
|
297
|
-
<div className="rounded-lg border
|
|
305
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
298
306
|
<div className="!space-y-6">
|
|
299
307
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
300
308
|
<div className="!space-y-4">
|
|
301
|
-
<h3 className="text-lg font-semibold
|
|
309
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
302
310
|
Standard Sizes
|
|
303
311
|
</h3>
|
|
304
|
-
<div className="flex items-end gap-6 rounded-lg
|
|
312
|
+
<div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
|
|
305
313
|
<div className="text-center">
|
|
306
314
|
<SiteLogoIcon className="!mx-auto mb-2 h-4 w-4" />
|
|
307
|
-
<span className="text-
|
|
315
|
+
<span className="text-fm-tertiary text-xs">
|
|
316
|
+
16px
|
|
317
|
+
</span>
|
|
308
318
|
</div>
|
|
309
319
|
<div className="text-center">
|
|
310
320
|
<SiteLogoIcon className="!mx-auto mb-2 h-5 w-5" />
|
|
311
|
-
<span className="text-
|
|
321
|
+
<span className="text-fm-tertiary text-xs">
|
|
322
|
+
20px
|
|
323
|
+
</span>
|
|
312
324
|
</div>
|
|
313
325
|
<div className="text-center">
|
|
314
326
|
<SiteLogoIcon className="!mx-auto mb-2 h-6 w-6" />
|
|
315
|
-
<span className="text-
|
|
327
|
+
<span className="text-fm-tertiary text-xs">
|
|
328
|
+
24px
|
|
329
|
+
</span>
|
|
316
330
|
</div>
|
|
317
331
|
<div className="text-center">
|
|
318
332
|
<SiteLogoIcon className="!mx-auto mb-2 h-8 w-8" />
|
|
319
|
-
<span className="text-
|
|
333
|
+
<span className="text-fm-tertiary text-xs">
|
|
334
|
+
32px
|
|
335
|
+
</span>
|
|
320
336
|
</div>
|
|
321
337
|
<div className="text-center">
|
|
322
338
|
<SiteLogoIcon className="!mx-auto mb-2 h-12 w-12" />
|
|
323
|
-
<span className="text-
|
|
339
|
+
<span className="text-fm-tertiary text-xs">
|
|
340
|
+
48px
|
|
341
|
+
</span>
|
|
324
342
|
</div>
|
|
325
343
|
<div className="text-center">
|
|
326
344
|
<SiteLogoIcon className="!mx-auto mb-2 h-16 w-16" />
|
|
327
|
-
<span className="text-
|
|
345
|
+
<span className="text-fm-tertiary text-xs">
|
|
346
|
+
64px
|
|
347
|
+
</span>
|
|
328
348
|
</div>
|
|
329
349
|
</div>
|
|
330
350
|
</div>
|
|
331
351
|
|
|
332
352
|
<div className="!space-y-4">
|
|
333
|
-
<h3 className="text-lg font-semibold
|
|
353
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
334
354
|
Code Example
|
|
335
355
|
</h3>
|
|
336
|
-
<div className="rounded-lg
|
|
337
|
-
<pre className="overflow-x-auto text-sm
|
|
356
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
357
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
338
358
|
{`// Small nav (24px)
|
|
339
359
|
<SiteLogoIcon className="h-6 w-6" />
|
|
340
360
|
|
|
@@ -359,49 +379,49 @@ function Header() {
|
|
|
359
379
|
|
|
360
380
|
{/* Usage Examples */}
|
|
361
381
|
<div className="!space-y-8">
|
|
362
|
-
<h2 className="text-center text-3xl font-bold
|
|
382
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
363
383
|
Usage Examples
|
|
364
384
|
</h2>
|
|
365
385
|
|
|
366
386
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
367
387
|
{/* Navigation Header */}
|
|
368
388
|
<div className="!space-y-4">
|
|
369
|
-
<h3 className="text-lg font-semibold
|
|
389
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
370
390
|
Navigation Header
|
|
371
391
|
</h3>
|
|
372
392
|
<div className="!space-y-4">
|
|
373
|
-
<div className="rounded-lg border
|
|
393
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
374
394
|
<div className="flex items-center justify-between">
|
|
375
395
|
<div className="flex items-center gap-3">
|
|
376
396
|
<SiteLogoIcon className="h-8 w-8" />
|
|
377
|
-
<span className="text-xl font-bold
|
|
397
|
+
<span className="text-fm-icon-active text-xl font-bold">
|
|
378
398
|
Aural UI
|
|
379
399
|
</span>
|
|
380
400
|
</div>
|
|
381
401
|
<nav className="flex items-center gap-6">
|
|
382
402
|
<a
|
|
383
403
|
href="#"
|
|
384
|
-
className="text-
|
|
404
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
385
405
|
>
|
|
386
406
|
Docs
|
|
387
407
|
</a>
|
|
388
408
|
<a
|
|
389
409
|
href="#"
|
|
390
|
-
className="text-
|
|
410
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
391
411
|
>
|
|
392
412
|
Components
|
|
393
413
|
</a>
|
|
394
414
|
<a
|
|
395
415
|
href="#"
|
|
396
|
-
className="text-
|
|
416
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
397
417
|
>
|
|
398
418
|
Examples
|
|
399
419
|
</a>
|
|
400
420
|
</nav>
|
|
401
421
|
</div>
|
|
402
422
|
</div>
|
|
403
|
-
<div className="rounded-lg
|
|
404
|
-
<pre className="overflow-x-auto text-sm
|
|
423
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
424
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
405
425
|
{`<div className="flex items-center justify-between">
|
|
406
426
|
<div className="flex items-center gap-3">
|
|
407
427
|
<SiteLogoIcon className="h-8 w-8" />
|
|
@@ -420,44 +440,44 @@ function Header() {
|
|
|
420
440
|
|
|
421
441
|
{/* Footer Branding */}
|
|
422
442
|
<div className="!space-y-4">
|
|
423
|
-
<h3 className="text-lg font-semibold
|
|
443
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
424
444
|
Footer Branding
|
|
425
445
|
</h3>
|
|
426
446
|
<div className="!space-y-4">
|
|
427
|
-
<div className="rounded-lg border
|
|
447
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
428
448
|
<div className="!space-y-4 text-center">
|
|
429
449
|
<SiteLogoIcon className="!mx-auto h-12 w-12" />
|
|
430
|
-
<h3 className="text-lg font-bold
|
|
450
|
+
<h3 className="text-fm-icon-active! text-lg font-bold">
|
|
431
451
|
Aural UI
|
|
432
452
|
</h3>
|
|
433
|
-
<p className="text-
|
|
453
|
+
<p className="text-fm-tertiary! text-sm">
|
|
434
454
|
Beautiful, accessible components for modern web
|
|
435
455
|
applications.
|
|
436
456
|
</p>
|
|
437
457
|
<div className="flex justify-center gap-4 pt-4">
|
|
438
458
|
<a
|
|
439
459
|
href="#"
|
|
440
|
-
className="text-
|
|
460
|
+
className="text-fm-tertiary hover:text-fm-icon-active"
|
|
441
461
|
>
|
|
442
462
|
GitHub
|
|
443
463
|
</a>
|
|
444
464
|
<a
|
|
445
465
|
href="#"
|
|
446
|
-
className="text-
|
|
466
|
+
className="text-fm-tertiary hover:text-fm-icon-active"
|
|
447
467
|
>
|
|
448
468
|
Documentation
|
|
449
469
|
</a>
|
|
450
470
|
<a
|
|
451
471
|
href="#"
|
|
452
|
-
className="text-
|
|
472
|
+
className="text-fm-tertiary hover:text-fm-icon-active"
|
|
453
473
|
>
|
|
454
474
|
Support
|
|
455
475
|
</a>
|
|
456
476
|
</div>
|
|
457
477
|
</div>
|
|
458
478
|
</div>
|
|
459
|
-
<div className="rounded-lg
|
|
460
|
-
<pre className="overflow-x-auto text-sm
|
|
479
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
480
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
461
481
|
{`<div className="space-y-4 text-center">
|
|
462
482
|
<SiteLogoIcon className="mx-auto h-12 w-12" />
|
|
463
483
|
<h3 className="text-lg font-bold">Aural UI</h3>
|
|
@@ -477,20 +497,20 @@ function Header() {
|
|
|
477
497
|
|
|
478
498
|
{/* Loading/Splash Screen */}
|
|
479
499
|
<div className="!space-y-4">
|
|
480
|
-
<h3 className="text-lg font-semibold
|
|
500
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
481
501
|
Loading & Splash Screen
|
|
482
502
|
</h3>
|
|
483
503
|
<div className="!space-y-4">
|
|
484
|
-
<div className="flex items-center justify-center rounded-lg border
|
|
504
|
+
<div className="border-fm-divider-secondary from-fm-icon-negative/10 to-fm-secondary-500/10 flex items-center justify-center rounded-lg border bg-linear-to-br p-6">
|
|
485
505
|
<div className="text-center">
|
|
486
506
|
<SiteLogoIcon className="animate-logo-pulse !mx-auto h-16 w-16" />
|
|
487
|
-
<p className="mt-4 text-sm
|
|
507
|
+
<p className="text-fm-secondary! mt-4 text-sm">
|
|
488
508
|
Loading...
|
|
489
509
|
</p>
|
|
490
510
|
</div>
|
|
491
511
|
</div>
|
|
492
|
-
<div className="rounded-lg
|
|
493
|
-
<pre className="overflow-x-auto text-sm
|
|
512
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
513
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
494
514
|
{`// Loading with pulse animation
|
|
495
515
|
<div className="text-center">
|
|
496
516
|
<SiteLogoIcon className="mx-auto h-16 w-16 animate-pulse" />
|
|
@@ -511,42 +531,46 @@ function Header() {
|
|
|
511
531
|
|
|
512
532
|
{/* App Icon/Favicon */}
|
|
513
533
|
<div className="!space-y-4">
|
|
514
|
-
<h3 className="text-lg font-semibold
|
|
534
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
515
535
|
App Icon Usage
|
|
516
536
|
</h3>
|
|
517
537
|
<div className="!space-y-4">
|
|
518
538
|
<div className="grid grid-cols-4 gap-4">
|
|
519
539
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
520
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg
|
|
540
|
+
<div className="bg-fm-surface-contrast flex h-12 w-12 items-center justify-center rounded-lg p-2 shadow-lg">
|
|
521
541
|
<SiteLogoIcon className="h-8 w-8" />
|
|
522
542
|
</div>
|
|
523
|
-
<span className="text-
|
|
543
|
+
<span className="text-fm-tertiary text-xs">
|
|
524
544
|
App Icon
|
|
525
545
|
</span>
|
|
526
546
|
</div>
|
|
527
547
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
528
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-full
|
|
548
|
+
<div className="bg-fm-surface-contrast flex h-12 w-12 items-center justify-center rounded-full p-2 shadow-lg">
|
|
529
549
|
<SiteLogoIcon className="h-8 w-8" />
|
|
530
550
|
</div>
|
|
531
|
-
<span className="text-
|
|
551
|
+
<span className="text-fm-tertiary text-xs">
|
|
552
|
+
Round
|
|
553
|
+
</span>
|
|
532
554
|
</div>
|
|
533
555
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
534
|
-
<div className="flex h-12 w-12 items-center justify-center rounded bg-
|
|
556
|
+
<div className="from-fm-icon-negative to-fm-secondary-500 flex h-12 w-12 items-center justify-center rounded bg-linear-to-br p-2 shadow-lg">
|
|
535
557
|
<SiteLogoIcon className="h-8 w-8" />
|
|
536
558
|
</div>
|
|
537
|
-
<span className="text-
|
|
559
|
+
<span className="text-fm-tertiary text-xs">
|
|
560
|
+
Branded
|
|
561
|
+
</span>
|
|
538
562
|
</div>
|
|
539
563
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
540
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-xl border
|
|
564
|
+
<div className="border-fm-icon-negative/20 bg-fm-icon-negative/10 flex h-12 w-12 items-center justify-center rounded-xl border p-2">
|
|
541
565
|
<SiteLogoIcon className="h-8 w-8" />
|
|
542
566
|
</div>
|
|
543
|
-
<span className="text-
|
|
567
|
+
<span className="text-fm-tertiary text-xs">
|
|
544
568
|
Outlined
|
|
545
569
|
</span>
|
|
546
570
|
</div>
|
|
547
571
|
</div>
|
|
548
|
-
<div className="rounded-lg
|
|
549
|
-
<pre className="overflow-x-auto text-sm
|
|
572
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
573
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
550
574
|
{`// Standard app icon
|
|
551
575
|
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-white p-2">
|
|
552
576
|
<SiteLogoIcon className="h-8 w-8" />
|
|
@@ -569,22 +593,22 @@ function Header() {
|
|
|
569
593
|
|
|
570
594
|
{/* Interactive States */}
|
|
571
595
|
<div className="!space-y-8">
|
|
572
|
-
<h2 className="text-center text-3xl font-bold
|
|
596
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
573
597
|
Interactive States & Animations
|
|
574
598
|
</h2>
|
|
575
599
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
576
600
|
<div className="!space-y-4">
|
|
577
|
-
<h3 className="text-lg font-semibold
|
|
601
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
578
602
|
Animation Effects
|
|
579
603
|
</h3>
|
|
580
|
-
<div className="!space-y-4 rounded-lg border
|
|
604
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
581
605
|
<div className="flex items-center gap-4">
|
|
582
606
|
<SiteLogoIcon className="h-8 w-8 transition-transform hover:scale-110" />
|
|
583
607
|
<div>
|
|
584
|
-
<div className="text-sm font-medium
|
|
608
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
585
609
|
Scale on Hover
|
|
586
610
|
</div>
|
|
587
|
-
<div className="text-
|
|
611
|
+
<div className="text-fm-tertiary text-xs">
|
|
588
612
|
Subtle growth effect
|
|
589
613
|
</div>
|
|
590
614
|
</div>
|
|
@@ -592,10 +616,10 @@ function Header() {
|
|
|
592
616
|
<div className="flex items-center gap-4">
|
|
593
617
|
<SiteLogoIcon className="animate-logo-pulse h-8 w-8" />
|
|
594
618
|
<div>
|
|
595
|
-
<div className="text-sm font-medium
|
|
619
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
596
620
|
Pulse Animation
|
|
597
621
|
</div>
|
|
598
|
-
<div className="text-
|
|
622
|
+
<div className="text-fm-tertiary text-xs">
|
|
599
623
|
Breathing effect
|
|
600
624
|
</div>
|
|
601
625
|
</div>
|
|
@@ -603,10 +627,10 @@ function Header() {
|
|
|
603
627
|
<div className="flex items-center gap-4">
|
|
604
628
|
<SiteLogoIcon className="animate-logo-glow h-8 w-8" />
|
|
605
629
|
<div>
|
|
606
|
-
<div className="text-sm font-medium
|
|
630
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
607
631
|
Glow Effect
|
|
608
632
|
</div>
|
|
609
|
-
<div className="text-
|
|
633
|
+
<div className="text-fm-tertiary text-xs">
|
|
610
634
|
Brand color glow
|
|
611
635
|
</div>
|
|
612
636
|
</div>
|
|
@@ -614,10 +638,10 @@ function Header() {
|
|
|
614
638
|
<div className="flex items-center gap-4">
|
|
615
639
|
<SiteLogoIcon className="h-8 w-8 transition-opacity hover:opacity-80" />
|
|
616
640
|
<div>
|
|
617
|
-
<div className="text-sm font-medium
|
|
641
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
618
642
|
Opacity Change
|
|
619
643
|
</div>
|
|
620
|
-
<div className="text-
|
|
644
|
+
<div className="text-fm-tertiary text-xs">
|
|
621
645
|
Fade on interaction
|
|
622
646
|
</div>
|
|
623
647
|
</div>
|
|
@@ -626,11 +650,11 @@ function Header() {
|
|
|
626
650
|
</div>
|
|
627
651
|
|
|
628
652
|
<div className="!space-y-4">
|
|
629
|
-
<h3 className="text-lg font-semibold
|
|
653
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
630
654
|
Interactive Examples
|
|
631
655
|
</h3>
|
|
632
|
-
<div className="rounded-lg
|
|
633
|
-
<pre className="overflow-x-auto text-sm
|
|
656
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
657
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
634
658
|
{`// Hover scale effect
|
|
635
659
|
<SiteLogoIcon className="h-8 w-8 transition-transform hover:scale-110" />
|
|
636
660
|
|
|
@@ -662,91 +686,91 @@ function Header() {
|
|
|
662
686
|
|
|
663
687
|
{/* Brand Guidelines */}
|
|
664
688
|
<div className="!space-y-8">
|
|
665
|
-
<h2 className="text-center text-3xl font-bold
|
|
689
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
666
690
|
Brand Guidelines
|
|
667
691
|
</h2>
|
|
668
692
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
669
|
-
<div className="!space-y-4 rounded-lg border
|
|
670
|
-
<h3 className="text-lg font-semibold
|
|
693
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
694
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
671
695
|
✅ Do's
|
|
672
696
|
</h3>
|
|
673
|
-
<ul className="!space-y-2 text-sm
|
|
674
|
-
<li className="
|
|
697
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
698
|
+
<li className="text-fm-secondary!">
|
|
675
699
|
Use the logo at readable sizes (minimum 16px)
|
|
676
700
|
</li>
|
|
677
|
-
<li className="
|
|
701
|
+
<li className="text-fm-secondary!">
|
|
678
702
|
Maintain the original aspect ratio
|
|
679
703
|
</li>
|
|
680
|
-
<li className="
|
|
704
|
+
<li className="text-fm-secondary!">
|
|
681
705
|
Use on contrasting backgrounds for visibility
|
|
682
706
|
</li>
|
|
683
|
-
<li className="
|
|
707
|
+
<li className="text-fm-secondary!">
|
|
684
708
|
Pair with consistent brand typography
|
|
685
709
|
</li>
|
|
686
|
-
<li className="
|
|
710
|
+
<li className="text-fm-secondary!">
|
|
687
711
|
Use as a clickable element for navigation
|
|
688
712
|
</li>
|
|
689
713
|
</ul>
|
|
690
714
|
</div>
|
|
691
715
|
|
|
692
|
-
<div className="!space-y-4 rounded-lg border
|
|
693
|
-
<h3 className="text-lg font-semibold
|
|
716
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
717
|
+
<h3 className="text-fm-icon-negative! text-lg font-semibold">
|
|
694
718
|
❌ Don'ts
|
|
695
719
|
</h3>
|
|
696
|
-
<ul className="!space-y-2 text-sm
|
|
697
|
-
<li className="
|
|
720
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
721
|
+
<li className="text-fm-secondary!">
|
|
698
722
|
Don't modify the logo colors or design
|
|
699
723
|
</li>
|
|
700
|
-
<li className="
|
|
724
|
+
<li className="text-fm-secondary!">
|
|
701
725
|
Don't stretch or skew the proportions
|
|
702
726
|
</li>
|
|
703
|
-
<li className="
|
|
727
|
+
<li className="text-fm-secondary!">
|
|
704
728
|
Don't use on busy or conflicting backgrounds
|
|
705
729
|
</li>
|
|
706
|
-
<li className="
|
|
730
|
+
<li className="text-fm-secondary!">
|
|
707
731
|
Don't use below 16px for accessibility
|
|
708
732
|
</li>
|
|
709
|
-
<li className="
|
|
733
|
+
<li className="text-fm-secondary!">
|
|
710
734
|
Don't rotate or flip the logo
|
|
711
735
|
</li>
|
|
712
736
|
</ul>
|
|
713
737
|
</div>
|
|
714
738
|
</div>
|
|
715
739
|
|
|
716
|
-
<div className="rounded-lg border
|
|
717
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
740
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
741
|
+
<h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
|
|
718
742
|
Background & Contrast Guidelines
|
|
719
743
|
</h3>
|
|
720
744
|
<div className="grid grid-cols-2 gap-6 lg:grid-cols-4">
|
|
721
745
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
722
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-lg
|
|
746
|
+
<div className="bg-fm-surface-contrast flex h-16 w-16 items-center justify-center rounded-lg">
|
|
723
747
|
<SiteLogoIcon className="h-10 w-10" />
|
|
724
748
|
</div>
|
|
725
|
-
<span className="text-
|
|
749
|
+
<span className="text-fm-icon-positive text-xs">
|
|
726
750
|
✅ Light backgrounds
|
|
727
751
|
</span>
|
|
728
752
|
</div>
|
|
729
753
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
730
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-lg
|
|
754
|
+
<div className="bg-fm-surface-secondary flex h-16 w-16 items-center justify-center rounded-lg">
|
|
731
755
|
<SiteLogoIcon className="h-10 w-10" />
|
|
732
756
|
</div>
|
|
733
|
-
<span className="text-
|
|
757
|
+
<span className="text-fm-icon-positive text-xs">
|
|
734
758
|
✅ Neutral tones
|
|
735
759
|
</span>
|
|
736
760
|
</div>
|
|
737
761
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
738
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-lg
|
|
762
|
+
<div className="bg-fm-icon-info-sec flex h-16 w-16 items-center justify-center rounded-lg">
|
|
739
763
|
<SiteLogoIcon className="h-10 w-10" />
|
|
740
764
|
</div>
|
|
741
|
-
<span className="text-
|
|
765
|
+
<span className="text-fm-icon-positive text-xs">
|
|
742
766
|
✅ Dark colors
|
|
743
767
|
</span>
|
|
744
768
|
</div>
|
|
745
769
|
<div className="flex flex-col items-center justify-center !space-y-2 text-center">
|
|
746
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-lg bg-
|
|
770
|
+
<div className="from-fm-icon-negative to-fm-icon-negative flex h-16 w-16 items-center justify-center rounded-lg bg-linear-to-br">
|
|
747
771
|
<SiteLogoIcon className="h-10 w-10" />
|
|
748
772
|
</div>
|
|
749
|
-
<span className="text-
|
|
773
|
+
<span className="text-fm-icon-negative text-xs">
|
|
750
774
|
❌ Similar reds
|
|
751
775
|
</span>
|
|
752
776
|
</div>
|
|
@@ -756,64 +780,64 @@ function Header() {
|
|
|
756
780
|
|
|
757
781
|
{/* Accessibility */}
|
|
758
782
|
<div className="!space-y-8">
|
|
759
|
-
<h2 className="text-center text-3xl font-bold
|
|
783
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
760
784
|
Accessibility Features
|
|
761
785
|
</h2>
|
|
762
786
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
763
|
-
<div className="!space-y-4 rounded-lg border
|
|
764
|
-
<h3 className="text-lg font-semibold
|
|
787
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
788
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
765
789
|
✅ Built-in Features
|
|
766
790
|
</h3>
|
|
767
|
-
<ul className="!space-y-2 text-sm
|
|
768
|
-
<li className="
|
|
791
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
792
|
+
<li className="text-fm-secondary!">
|
|
769
793
|
Uses Radix UI AccessibleIcon wrapper
|
|
770
794
|
</li>
|
|
771
|
-
<li className="
|
|
795
|
+
<li className="text-fm-secondary!">
|
|
772
796
|
Provides screen reader label "Site Logo icon"
|
|
773
797
|
</li>
|
|
774
|
-
<li className="
|
|
798
|
+
<li className="text-fm-secondary!">
|
|
775
799
|
Supports keyboard navigation when clickable
|
|
776
800
|
</li>
|
|
777
|
-
<li className="
|
|
801
|
+
<li className="text-fm-secondary!">
|
|
778
802
|
Scalable vector format for all screen sizes
|
|
779
803
|
</li>
|
|
780
|
-
<li className="
|
|
804
|
+
<li className="text-fm-secondary!">
|
|
781
805
|
High contrast brand colors for visibility
|
|
782
806
|
</li>
|
|
783
807
|
</ul>
|
|
784
808
|
</div>
|
|
785
809
|
|
|
786
|
-
<div className="!space-y-4 rounded-lg border
|
|
787
|
-
<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-negative! text-lg font-semibold">
|
|
788
812
|
💡 Best Practices
|
|
789
813
|
</h3>
|
|
790
|
-
<ul className="!space-y-2 text-sm
|
|
791
|
-
<li className="
|
|
814
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
815
|
+
<li className="text-fm-secondary!">
|
|
792
816
|
Always include alt text when used as content
|
|
793
817
|
</li>
|
|
794
|
-
<li className="
|
|
818
|
+
<li className="text-fm-secondary!">
|
|
795
819
|
Use as clickable link to homepage
|
|
796
820
|
</li>
|
|
797
|
-
<li className="
|
|
821
|
+
<li className="text-fm-secondary!">
|
|
798
822
|
Ensure sufficient size for touch targets
|
|
799
823
|
</li>
|
|
800
|
-
<li className="
|
|
824
|
+
<li className="text-fm-secondary!">
|
|
801
825
|
Add focus indicators for keyboard navigation
|
|
802
826
|
</li>
|
|
803
|
-
<li className="
|
|
827
|
+
<li className="text-fm-secondary!">
|
|
804
828
|
Test with screen readers and voice control
|
|
805
829
|
</li>
|
|
806
830
|
</ul>
|
|
807
831
|
</div>
|
|
808
832
|
</div>
|
|
809
833
|
|
|
810
|
-
<div className="rounded-lg border
|
|
811
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
834
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
835
|
+
<h3 className="text-fm-secondary-600! mb-4 text-lg font-semibold">
|
|
812
836
|
Accessibility Implementation
|
|
813
837
|
</h3>
|
|
814
838
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
815
|
-
<div className="rounded-lg
|
|
816
|
-
<pre className="overflow-x-auto text-sm
|
|
839
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
840
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
817
841
|
{`// Logo as homepage link
|
|
818
842
|
<a
|
|
819
843
|
href="/"
|
|
@@ -842,14 +866,14 @@ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
|
|
|
842
866
|
</pre>
|
|
843
867
|
</div>
|
|
844
868
|
<div className="!space-y-4">
|
|
845
|
-
<p className="text-
|
|
869
|
+
<p className="text-fm-secondary! text-sm">
|
|
846
870
|
When using the SiteLogoIcon as navigation, always
|
|
847
871
|
provide clear context about its purpose and destination.
|
|
848
872
|
The built-in accessible label helps screen readers
|
|
849
873
|
identify the element.
|
|
850
874
|
</p>
|
|
851
|
-
<div className="
|
|
852
|
-
<div className="flex items-center gap-2 text-sm
|
|
875
|
+
<div className="border-fm-icon-negative/20 bg-fm-icon-negative/10 rounded-lg border p-4">
|
|
876
|
+
<div className="text-fm-icon-negative flex items-center gap-2 text-sm">
|
|
853
877
|
<SiteLogoIcon className="h-4 w-4" />
|
|
854
878
|
<span>
|
|
855
879
|
This ensures all users can navigate effectively
|
|
@@ -863,44 +887,54 @@ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
|
|
|
863
887
|
|
|
864
888
|
{/* Related Components */}
|
|
865
889
|
<div className="!space-y-8">
|
|
866
|
-
<h2 className="text-center text-3xl font-bold
|
|
890
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
867
891
|
Related Components
|
|
868
892
|
</h2>
|
|
869
893
|
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
870
|
-
<div className="!space-y-3 rounded-lg border
|
|
871
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
894
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
895
|
+
<div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
872
896
|
<span className="text-2xl">🏠</span>
|
|
873
897
|
</div>
|
|
874
898
|
<div>
|
|
875
|
-
<div className="font-medium
|
|
876
|
-
|
|
899
|
+
<div className="text-fm-icon-active font-medium">
|
|
900
|
+
HomeIcon
|
|
901
|
+
</div>
|
|
902
|
+
<div className="text-fm-tertiary text-xs">Navigation</div>
|
|
877
903
|
</div>
|
|
878
904
|
</div>
|
|
879
|
-
<div className="!space-y-3 rounded-lg border
|
|
880
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
881
|
-
<span className="
|
|
905
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
906
|
+
<div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
907
|
+
<span className="text-fm-icon-active! !text-2xl">☰</span>
|
|
882
908
|
</div>
|
|
883
909
|
<div>
|
|
884
|
-
<div className="font-medium
|
|
885
|
-
|
|
910
|
+
<div className="text-fm-icon-active font-medium">
|
|
911
|
+
MenuIcon
|
|
912
|
+
</div>
|
|
913
|
+
<div className="text-fm-tertiary text-xs">Mobile nav</div>
|
|
886
914
|
</div>
|
|
887
915
|
</div>
|
|
888
|
-
<div className="!space-y-3 rounded-lg border
|
|
889
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
916
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
917
|
+
<div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
890
918
|
<span className="text-2xl">⚙️</span>
|
|
891
919
|
</div>
|
|
892
920
|
<div>
|
|
893
|
-
<div className="font-medium
|
|
894
|
-
|
|
921
|
+
<div className="text-fm-icon-active font-medium">
|
|
922
|
+
SettingsIcon
|
|
923
|
+
</div>
|
|
924
|
+
<div className="text-fm-tertiary text-xs">
|
|
925
|
+
Configuration
|
|
926
|
+
</div>
|
|
895
927
|
</div>
|
|
896
928
|
</div>
|
|
897
|
-
<div className="!space-y-3 rounded-lg border
|
|
898
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
929
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
930
|
+
<div className="bg-fm-icon-warning/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
899
931
|
<span className="text-2xl">👤</span>
|
|
900
932
|
</div>
|
|
901
933
|
<div>
|
|
902
|
-
<div className="font-medium
|
|
903
|
-
|
|
934
|
+
<div className="text-fm-icon-active font-medium">
|
|
935
|
+
UserIcon
|
|
936
|
+
</div>
|
|
937
|
+
<div className="text-fm-tertiary text-xs">Profile</div>
|
|
904
938
|
</div>
|
|
905
939
|
</div>
|
|
906
940
|
</div>
|
|
@@ -908,21 +942,21 @@ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
|
|
|
908
942
|
</div>
|
|
909
943
|
|
|
910
944
|
{/* Footer */}
|
|
911
|
-
<div className="border-
|
|
945
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
|
|
912
946
|
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
913
947
|
<div className="!space-y-4 text-center">
|
|
914
948
|
<div className="flex items-center justify-center gap-3">
|
|
915
949
|
<SiteLogoIcon className="h-8 w-8" />
|
|
916
|
-
<span className="text-xl font-bold
|
|
950
|
+
<span className="text-fm-icon-active text-xl font-bold">
|
|
917
951
|
Aural UI
|
|
918
952
|
</span>
|
|
919
953
|
</div>
|
|
920
|
-
<p className="
|
|
954
|
+
<p className="text-fm-tertiary!">
|
|
921
955
|
The official SiteLogoIcon represents the Aural UI brand and
|
|
922
956
|
should be used consistently across all applications and
|
|
923
957
|
documentation.
|
|
924
958
|
</p>
|
|
925
|
-
<p className="text-
|
|
959
|
+
<p className="text-fm-placeholder! text-sm">
|
|
926
960
|
Built with accessibility and brand consistency in mind. Uses
|
|
927
961
|
Radix UI's AccessibleIcon for screen reader compatibility.
|
|
928
962
|
</p>
|
|
@@ -963,8 +997,8 @@ const storyParameters = {
|
|
|
963
997
|
backgrounds: {
|
|
964
998
|
default: "dark",
|
|
965
999
|
values: [
|
|
966
|
-
{ name: "dark", value: "
|
|
967
|
-
{ name: "darker", value: "
|
|
1000
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
1001
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
968
1002
|
],
|
|
969
1003
|
},
|
|
970
1004
|
}
|
|
@@ -976,7 +1010,7 @@ export const Default: Story = {
|
|
|
976
1010
|
},
|
|
977
1011
|
parameters: storyParameters,
|
|
978
1012
|
render: (args) => (
|
|
979
|
-
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1013
|
+
<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">
|
|
980
1014
|
<SiteLogoIcon {...args} />
|
|
981
1015
|
</div>
|
|
982
1016
|
),
|
|
@@ -993,30 +1027,30 @@ export const SizeVariations: Story = {
|
|
|
993
1027
|
},
|
|
994
1028
|
},
|
|
995
1029
|
render: () => (
|
|
996
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-
|
|
1030
|
+
<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">
|
|
997
1031
|
<div className="text-center">
|
|
998
1032
|
<SiteLogoIcon className="!mx-auto mb-2 h-4 w-4" />
|
|
999
|
-
<span className="text-
|
|
1033
|
+
<span className="text-fm-tertiary text-xs">16px</span>
|
|
1000
1034
|
</div>
|
|
1001
1035
|
<div className="text-center">
|
|
1002
1036
|
<SiteLogoIcon className="!mx-auto mb-2 h-6 w-6" />
|
|
1003
|
-
<span className="text-
|
|
1037
|
+
<span className="text-fm-tertiary text-xs">24px</span>
|
|
1004
1038
|
</div>
|
|
1005
1039
|
<div className="text-center">
|
|
1006
1040
|
<SiteLogoIcon className="!mx-auto mb-2 h-8 w-8" />
|
|
1007
|
-
<span className="text-
|
|
1041
|
+
<span className="text-fm-tertiary text-xs">32px</span>
|
|
1008
1042
|
</div>
|
|
1009
1043
|
<div className="text-center">
|
|
1010
1044
|
<SiteLogoIcon className="!mx-auto mb-2 h-12 w-12" />
|
|
1011
|
-
<span className="text-
|
|
1045
|
+
<span className="text-fm-tertiary text-xs">48px</span>
|
|
1012
1046
|
</div>
|
|
1013
1047
|
<div className="text-center">
|
|
1014
1048
|
<SiteLogoIcon className="!mx-auto mb-2 h-16 w-16" />
|
|
1015
|
-
<span className="text-
|
|
1049
|
+
<span className="text-fm-tertiary text-xs">64px</span>
|
|
1016
1050
|
</div>
|
|
1017
1051
|
<div className="text-center">
|
|
1018
1052
|
<SiteLogoIcon className="!mx-auto mb-2 h-24 w-24" />
|
|
1019
|
-
<span className="text-
|
|
1053
|
+
<span className="text-fm-tertiary text-xs">96px</span>
|
|
1020
1054
|
</div>
|
|
1021
1055
|
</div>
|
|
1022
1056
|
),
|
|
@@ -1032,24 +1066,37 @@ export const NavigationUsage: Story = {
|
|
|
1032
1066
|
},
|
|
1033
1067
|
},
|
|
1034
1068
|
render: () => (
|
|
1035
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1069
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1036
1070
|
{/* Main Navigation */}
|
|
1037
1071
|
<div className="!space-y-2">
|
|
1038
|
-
<h3 className="text-sm font-medium
|
|
1039
|
-
|
|
1072
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1073
|
+
Main Navigation
|
|
1074
|
+
</h3>
|
|
1075
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
1040
1076
|
<div className="flex items-center justify-between">
|
|
1041
1077
|
<div className="flex items-center gap-3">
|
|
1042
1078
|
<SiteLogoIcon className="h-8 w-8" />
|
|
1043
|
-
<span className="text-xl font-bold
|
|
1079
|
+
<span className="text-fm-icon-active text-xl font-bold">
|
|
1080
|
+
Aural UI
|
|
1081
|
+
</span>
|
|
1044
1082
|
</div>
|
|
1045
1083
|
<nav className="flex items-center gap-6">
|
|
1046
|
-
<a
|
|
1084
|
+
<a
|
|
1085
|
+
href="#"
|
|
1086
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
1087
|
+
>
|
|
1047
1088
|
Docs
|
|
1048
1089
|
</a>
|
|
1049
|
-
<a
|
|
1090
|
+
<a
|
|
1091
|
+
href="#"
|
|
1092
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
1093
|
+
>
|
|
1050
1094
|
Components
|
|
1051
1095
|
</a>
|
|
1052
|
-
<a
|
|
1096
|
+
<a
|
|
1097
|
+
href="#"
|
|
1098
|
+
className="text-fm-secondary hover:text-fm-icon-active"
|
|
1099
|
+
>
|
|
1053
1100
|
Examples
|
|
1054
1101
|
</a>
|
|
1055
1102
|
</nav>
|
|
@@ -1059,25 +1106,33 @@ export const NavigationUsage: Story = {
|
|
|
1059
1106
|
|
|
1060
1107
|
{/* Mobile Header */}
|
|
1061
1108
|
<div className="!space-y-2">
|
|
1062
|
-
<h3 className="text-sm font-medium
|
|
1063
|
-
|
|
1109
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1110
|
+
Mobile Header
|
|
1111
|
+
</h3>
|
|
1112
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
1064
1113
|
<div className="flex items-center justify-between">
|
|
1065
1114
|
<div className="flex items-center gap-2">
|
|
1066
1115
|
<SiteLogoIcon className="h-6 w-6" />
|
|
1067
|
-
<span className="text-lg font-bold
|
|
1116
|
+
<span className="text-fm-icon-active text-lg font-bold">
|
|
1117
|
+
Aural UI
|
|
1118
|
+
</span>
|
|
1068
1119
|
</div>
|
|
1069
|
-
<button className="text-
|
|
1120
|
+
<button className="text-fm-icon-active">☰</button>
|
|
1070
1121
|
</div>
|
|
1071
1122
|
</div>
|
|
1072
1123
|
</div>
|
|
1073
1124
|
|
|
1074
1125
|
{/* Footer */}
|
|
1075
1126
|
<div className="!space-y-2">
|
|
1076
|
-
<h3 className="text-sm font-medium
|
|
1077
|
-
|
|
1127
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1128
|
+
Footer Branding
|
|
1129
|
+
</h3>
|
|
1130
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6 text-center">
|
|
1078
1131
|
<SiteLogoIcon className="!mx-auto h-12 w-12" />
|
|
1079
|
-
<h3 className="mt-4 text-lg font-bold
|
|
1080
|
-
|
|
1132
|
+
<h3 className="text-fm-icon-active mt-4 text-lg font-bold">
|
|
1133
|
+
Aural UI
|
|
1134
|
+
</h3>
|
|
1135
|
+
<p className="text-fm-tertiary mt-2 text-sm">
|
|
1081
1136
|
Beautiful, accessible components for modern web applications.
|
|
1082
1137
|
</p>
|
|
1083
1138
|
</div>
|
|
@@ -1096,53 +1151,57 @@ export const BrandApplications: Story = {
|
|
|
1096
1151
|
},
|
|
1097
1152
|
},
|
|
1098
1153
|
render: () => (
|
|
1099
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1154
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1100
1155
|
{/* App Icons */}
|
|
1101
1156
|
<div className="!space-y-4">
|
|
1102
|
-
<h3 className="text-sm font-medium
|
|
1157
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1158
|
+
App Icon Variations
|
|
1159
|
+
</h3>
|
|
1103
1160
|
<div className="grid grid-cols-4 gap-4">
|
|
1104
1161
|
<div className="!space-y-2 text-center">
|
|
1105
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-lg
|
|
1162
|
+
<div className="bg-fm-surface-contrast flex h-16 w-16 items-center justify-center rounded-lg shadow-lg">
|
|
1106
1163
|
<SiteLogoIcon className="h-12 w-12" />
|
|
1107
1164
|
</div>
|
|
1108
|
-
<span className="text-
|
|
1165
|
+
<span className="text-fm-tertiary text-xs">Standard</span>
|
|
1109
1166
|
</div>
|
|
1110
1167
|
<div className="!space-y-2 text-center">
|
|
1111
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-full
|
|
1168
|
+
<div className="bg-fm-surface-contrast flex h-16 w-16 items-center justify-center rounded-full shadow-lg">
|
|
1112
1169
|
<SiteLogoIcon className="h-12 w-12" />
|
|
1113
1170
|
</div>
|
|
1114
|
-
<span className="text-
|
|
1171
|
+
<span className="text-fm-tertiary text-xs">Round</span>
|
|
1115
1172
|
</div>
|
|
1116
1173
|
<div className="!space-y-2 text-center">
|
|
1117
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-xl bg-
|
|
1174
|
+
<div className="from-fm-icon-negative to-fm-secondary-500 flex h-16 w-16 items-center justify-center rounded-xl bg-linear-to-br shadow-lg">
|
|
1118
1175
|
<SiteLogoIcon className="h-12 w-12" />
|
|
1119
1176
|
</div>
|
|
1120
|
-
<span className="text-
|
|
1177
|
+
<span className="text-fm-tertiary text-xs">Branded</span>
|
|
1121
1178
|
</div>
|
|
1122
1179
|
<div className="!space-y-2 text-center">
|
|
1123
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-xl border-2
|
|
1180
|
+
<div className="border-fm-icon-negative/20 bg-fm-icon-negative/10 flex h-16 w-16 items-center justify-center rounded-xl border-2">
|
|
1124
1181
|
<SiteLogoIcon className="h-12 w-12" />
|
|
1125
1182
|
</div>
|
|
1126
|
-
<span className="text-
|
|
1183
|
+
<span className="text-fm-tertiary text-xs">Outlined</span>
|
|
1127
1184
|
</div>
|
|
1128
1185
|
</div>
|
|
1129
1186
|
</div>
|
|
1130
1187
|
|
|
1131
1188
|
{/* Loading States */}
|
|
1132
1189
|
<div className="!space-y-4">
|
|
1133
|
-
<h3 className="text-sm font-medium
|
|
1190
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1191
|
+
Loading & Animation
|
|
1192
|
+
</h3>
|
|
1134
1193
|
<div className="grid grid-cols-3 gap-6">
|
|
1135
1194
|
<div className="text-center">
|
|
1136
1195
|
<SiteLogoIcon className="!mx-auto h-12 w-12 animate-pulse" />
|
|
1137
|
-
<span className="mt-2 text-xs
|
|
1196
|
+
<span className="text-fm-tertiary mt-2 text-xs">Pulse</span>
|
|
1138
1197
|
</div>
|
|
1139
1198
|
<div className="text-center">
|
|
1140
1199
|
<SiteLogoIcon className="animate-logo-pulse !mx-auto h-12 w-12" />
|
|
1141
|
-
<span className="mt-2 text-xs
|
|
1200
|
+
<span className="text-fm-tertiary mt-2 text-xs">Custom Pulse</span>
|
|
1142
1201
|
</div>
|
|
1143
1202
|
<div className="text-center">
|
|
1144
1203
|
<SiteLogoIcon className="animate-logo-glow !mx-auto h-12 w-12" />
|
|
1145
|
-
<span className="mt-2 text-xs
|
|
1204
|
+
<span className="text-fm-tertiary mt-2 text-xs">Glow Effect</span>
|
|
1146
1205
|
</div>
|
|
1147
1206
|
</div>
|
|
1148
1207
|
</div>
|
|
@@ -1166,8 +1225,8 @@ export const Playground: Story = {
|
|
|
1166
1225
|
className: "",
|
|
1167
1226
|
},
|
|
1168
1227
|
render: (args) => (
|
|
1169
|
-
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1170
|
-
<div className="rounded-lg border
|
|
1228
|
+
<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">
|
|
1229
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
1171
1230
|
<SiteLogoIcon {...args} />
|
|
1172
1231
|
</div>
|
|
1173
1232
|
</div>
|