aural-ui 3.0.7 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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 ThreadsIcon> = {
|
|
|
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,59 +40,59 @@ const meta: Meta<typeof ThreadsIcon> = {
|
|
|
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
|
`}
|
|
81
81
|
</style>
|
|
82
82
|
|
|
83
|
-
<div className="
|
|
83
|
+
<div className="from-fm-surface-primary via-fm-surface-primary/20 to-fm-surface-primary min-h-screen bg-linear-to-br">
|
|
84
84
|
{/* Header */}
|
|
85
|
-
<div className="relative overflow-hidden border-b
|
|
86
|
-
<div className="absolute inset-0 bg-
|
|
85
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
|
|
86
|
+
<div className="from-fm-surface-secondary/10 to-fm-surface-tertiary/10 absolute inset-0 bg-linear-to-r via-transparent" />
|
|
87
87
|
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
88
88
|
<div className="!space-y-6 text-center">
|
|
89
|
-
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border
|
|
90
|
-
<ThreadsIcon className="h-12 w-12
|
|
89
|
+
<div className="border-fm-divider-primary from-fm-surface-secondary/20 to-fm-surface-tertiary/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
|
|
90
|
+
<ThreadsIcon className="text-fm-icon-active h-12 w-12" />
|
|
91
91
|
</div>
|
|
92
|
-
<h1 className="text-5xl font-bold
|
|
92
|
+
<h1 className="text-fm-icon-active! text-5xl font-bold">
|
|
93
93
|
ThreadsIcon
|
|
94
94
|
</h1>
|
|
95
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed
|
|
95
|
+
<p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
|
|
96
96
|
The official Threads brand icon featuring the distinctive
|
|
97
97
|
"@" symbol design. Essential for text-based social
|
|
98
98
|
networking, conversation platforms, community engagement,
|
|
@@ -103,28 +103,28 @@ const meta: Meta<typeof ThreadsIcon> = {
|
|
|
103
103
|
{/* Stats */}
|
|
104
104
|
<div className="flex items-center justify-center gap-8 pt-8">
|
|
105
105
|
<div className="text-center">
|
|
106
|
-
<div className="text-3xl font-bold
|
|
106
|
+
<div className="text-fm-secondary text-3xl font-bold">
|
|
107
107
|
Text Conversations
|
|
108
108
|
</div>
|
|
109
|
-
<div className="text-
|
|
109
|
+
<div className="text-fm-tertiary text-sm">
|
|
110
110
|
Threaded discussions
|
|
111
111
|
</div>
|
|
112
112
|
</div>
|
|
113
|
-
<div className="h-8 w-px
|
|
113
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
114
114
|
<div className="text-center">
|
|
115
|
-
<div className="text-3xl font-bold
|
|
115
|
+
<div className="text-fm-secondary text-3xl font-bold">
|
|
116
116
|
Community Platform
|
|
117
117
|
</div>
|
|
118
|
-
<div className="text-
|
|
118
|
+
<div className="text-fm-tertiary text-sm">
|
|
119
119
|
Social networking
|
|
120
120
|
</div>
|
|
121
121
|
</div>
|
|
122
|
-
<div className="h-8 w-px
|
|
122
|
+
<div className="bg-fm-divider-primary h-8 w-px" />
|
|
123
123
|
<div className="text-center">
|
|
124
|
-
<div className="text-3xl font-bold
|
|
124
|
+
<div className="text-fm-secondary text-3xl font-bold">
|
|
125
125
|
Meta Ecosystem
|
|
126
126
|
</div>
|
|
127
|
-
<div className="text-
|
|
127
|
+
<div className="text-fm-tertiary text-sm">
|
|
128
128
|
Integrated platform
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
@@ -137,16 +137,16 @@ const meta: Meta<typeof ThreadsIcon> = {
|
|
|
137
137
|
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
138
138
|
{/* Quick Usage */}
|
|
139
139
|
<div className="!space-y-8">
|
|
140
|
-
<h2 className="text-center text-3xl font-bold
|
|
140
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
141
141
|
Quick Start
|
|
142
142
|
</h2>
|
|
143
143
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
144
144
|
<div className="!space-y-4">
|
|
145
|
-
<h3 className="text-xl font-semibold
|
|
145
|
+
<h3 className="text-fm-secondary! text-xl font-semibold">
|
|
146
146
|
Basic Usage
|
|
147
147
|
</h3>
|
|
148
|
-
<div className="rounded-lg
|
|
149
|
-
<pre className="overflow-x-auto text-sm
|
|
148
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
149
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
150
150
|
{`import { ThreadsIcon } from "@icons/threads-icon"
|
|
151
151
|
|
|
152
152
|
function SocialShare() {
|
|
@@ -168,13 +168,13 @@ function SocialShare() {
|
|
|
168
168
|
</div>
|
|
169
169
|
|
|
170
170
|
<div className="!space-y-4">
|
|
171
|
-
<h3 className="text-xl font-semibold
|
|
171
|
+
<h3 className="text-fm-secondary! text-xl font-semibold">
|
|
172
172
|
Live Preview
|
|
173
173
|
</h3>
|
|
174
|
-
<div className="flex h-32 items-center justify-center rounded-lg border
|
|
175
|
-
<button className="flex items-center gap-2 rounded-lg border
|
|
176
|
-
<ThreadsIcon className="h-5 w-5
|
|
177
|
-
<span className="font-medium
|
|
174
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
|
|
175
|
+
<button className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
|
|
176
|
+
<ThreadsIcon className="text-fm-icon-active h-5 w-5" />
|
|
177
|
+
<span className="text-fm-icon-active font-medium">
|
|
178
178
|
Share on Threads
|
|
179
179
|
</span>
|
|
180
180
|
</button>
|
|
@@ -185,108 +185,116 @@ function SocialShare() {
|
|
|
185
185
|
|
|
186
186
|
{/* Props Documentation */}
|
|
187
187
|
<div className="!space-y-8">
|
|
188
|
-
<h2 className="text-center text-3xl font-bold
|
|
188
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
189
189
|
Props & Configuration
|
|
190
190
|
</h2>
|
|
191
191
|
|
|
192
|
-
<div className="overflow-hidden rounded-lg border
|
|
193
|
-
<div className="bg-
|
|
194
|
-
<h3 className="text-xl font-semibold
|
|
192
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
193
|
+
<div className="bg-fm-surface-secondary p-4">
|
|
194
|
+
<h3 className="text-fm-icon-active! text-xl font-semibold">
|
|
195
|
+
Props
|
|
196
|
+
</h3>
|
|
195
197
|
</div>
|
|
196
198
|
<table className="!my-0 w-full">
|
|
197
|
-
<thead className="bg-
|
|
198
|
-
<tr className="border-
|
|
199
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
199
|
+
<thead className="bg-fm-surface-secondary">
|
|
200
|
+
<tr className="border-fm-divider-secondary border-b">
|
|
201
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
200
202
|
Prop
|
|
201
203
|
</th>
|
|
202
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
204
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
203
205
|
Type
|
|
204
206
|
</th>
|
|
205
|
-
<th className="px-6 py-4 text-left text-sm font-semibold
|
|
207
|
+
<th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
|
|
206
208
|
Default
|
|
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
|
Description
|
|
210
212
|
</th>
|
|
211
213
|
</tr>
|
|
212
214
|
</thead>
|
|
213
215
|
<tbody>
|
|
214
216
|
{" "}
|
|
215
|
-
<tr className="
|
|
216
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
217
|
+
<tr className="bg-fm-surface-secondary!">
|
|
218
|
+
<td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
|
|
217
219
|
withAccessibility
|
|
218
220
|
</td>
|
|
219
|
-
<td className="px-6 py-4 text-sm
|
|
221
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
220
222
|
boolean
|
|
221
223
|
</td>
|
|
222
|
-
<td className="px-6 py-4 text-sm
|
|
224
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
223
225
|
true
|
|
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
|
Whether to wrap the icon with accessibility feature
|
|
227
229
|
</td>
|
|
228
230
|
</tr>
|
|
229
|
-
<tr className="border-
|
|
230
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
231
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
232
|
+
<td className="text-fm-secondary! px-6 py-4 font-mono text-sm">
|
|
231
233
|
height
|
|
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
|
number | string
|
|
235
237
|
</td>
|
|
236
|
-
<td className="px-6 py-4 text-sm
|
|
238
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
237
239
|
auto
|
|
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
|
Height of the icon (maintains aspect ratio)
|
|
241
243
|
</td>
|
|
242
244
|
</tr>
|
|
243
|
-
<tr className="border-
|
|
244
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
245
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
246
|
+
<td className="text-fm-secondary! px-6 py-4 font-mono text-sm">
|
|
245
247
|
fill
|
|
246
248
|
</td>
|
|
247
|
-
<td className="px-6 py-4 text-sm
|
|
249
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
248
250
|
string
|
|
249
251
|
</td>
|
|
250
|
-
<td className="px-6 py-4 text-sm
|
|
252
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
251
253
|
currentColor
|
|
252
254
|
</td>
|
|
253
|
-
<td className="px-6 py-4 text-sm
|
|
255
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
254
256
|
Fill color of the Threads "@" symbol
|
|
255
257
|
</td>
|
|
256
258
|
</tr>
|
|
257
|
-
<tr className="border-
|
|
258
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
259
|
+
<tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
|
|
260
|
+
<td className="text-fm-secondary! px-6 py-4 font-mono text-sm">
|
|
259
261
|
className
|
|
260
262
|
</td>
|
|
261
|
-
<td className="px-6 py-4 text-sm
|
|
263
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
262
264
|
string
|
|
263
265
|
</td>
|
|
264
|
-
<td className="px-6 py-4 text-sm
|
|
265
|
-
|
|
266
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
267
|
+
-
|
|
268
|
+
</td>
|
|
269
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
266
270
|
CSS classes for styling and sizing
|
|
267
271
|
</td>
|
|
268
272
|
</tr>
|
|
269
|
-
<tr className="border-
|
|
270
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
273
|
+
<tr className="border-fm-divider-tertiary border-b">
|
|
274
|
+
<td className="text-fm-secondary! px-6 py-4 font-mono text-sm">
|
|
271
275
|
onClick
|
|
272
276
|
</td>
|
|
273
|
-
<td className="px-6 py-4 text-sm
|
|
277
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
274
278
|
function
|
|
275
279
|
</td>
|
|
276
|
-
<td className="px-6 py-4 text-sm
|
|
277
|
-
|
|
280
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
281
|
+
-
|
|
282
|
+
</td>
|
|
283
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
278
284
|
Click handler for social interactions
|
|
279
285
|
</td>
|
|
280
286
|
</tr>
|
|
281
|
-
<tr className="
|
|
282
|
-
<td className="px-6 py-4 font-mono text-sm
|
|
287
|
+
<tr className="bg-fm-surface-secondary!">
|
|
288
|
+
<td className="text-fm-secondary! px-6 py-4 font-mono text-sm">
|
|
283
289
|
...svgProps
|
|
284
290
|
</td>
|
|
285
|
-
<td className="px-6 py-4 text-sm
|
|
291
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
286
292
|
SVGProps
|
|
287
293
|
</td>
|
|
288
|
-
<td className="px-6 py-4 text-sm
|
|
289
|
-
|
|
294
|
+
<td className="text-fm-placeholder! px-6 py-4 text-sm">
|
|
295
|
+
-
|
|
296
|
+
</td>
|
|
297
|
+
<td className="text-fm-secondary! px-6 py-4 text-sm">
|
|
290
298
|
All standard SVG element props
|
|
291
299
|
</td>
|
|
292
300
|
</tr>
|
|
@@ -294,8 +302,8 @@ function SocialShare() {
|
|
|
294
302
|
</table>
|
|
295
303
|
</div>
|
|
296
304
|
|
|
297
|
-
<div className="
|
|
298
|
-
<div className="flex items-center gap-2 text-sm
|
|
305
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary/10 rounded-lg border p-4">
|
|
306
|
+
<div className="text-fm-secondary flex items-center gap-2 text-sm">
|
|
299
307
|
<ThreadsIcon className="h-4 w-4" />
|
|
300
308
|
<span>
|
|
301
309
|
<strong>Brand Guidelines:</strong> Threads typically uses
|
|
@@ -308,50 +316,62 @@ function SocialShare() {
|
|
|
308
316
|
|
|
309
317
|
{/* Size Variations */}
|
|
310
318
|
<div className="!space-y-8">
|
|
311
|
-
<h2 className="text-center text-3xl font-bold
|
|
319
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
312
320
|
Size Variations
|
|
313
321
|
</h2>
|
|
314
|
-
<div className="rounded-lg border
|
|
322
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
315
323
|
<div className="!space-y-6">
|
|
316
324
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
317
325
|
<div className="!space-y-4">
|
|
318
|
-
<h3 className="text-lg font-semibold
|
|
326
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
319
327
|
Standard Sizes
|
|
320
328
|
</h3>
|
|
321
|
-
<div className="flex items-end gap-6 rounded-lg
|
|
329
|
+
<div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
|
|
322
330
|
<div className="text-center">
|
|
323
|
-
<ThreadsIcon className="!mx-auto mb-2 h-3 w-3
|
|
324
|
-
<span className="text-
|
|
331
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-3 w-3" />
|
|
332
|
+
<span className="text-fm-tertiary text-xs">
|
|
333
|
+
12px
|
|
334
|
+
</span>
|
|
325
335
|
</div>
|
|
326
336
|
<div className="text-center">
|
|
327
|
-
<ThreadsIcon className="!mx-auto mb-2 h-4 w-4
|
|
328
|
-
<span className="text-
|
|
337
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-4 w-4" />
|
|
338
|
+
<span className="text-fm-tertiary text-xs">
|
|
339
|
+
16px
|
|
340
|
+
</span>
|
|
329
341
|
</div>
|
|
330
342
|
<div className="text-center">
|
|
331
|
-
<ThreadsIcon className="!mx-auto mb-2 h-5 w-5
|
|
332
|
-
<span className="text-
|
|
343
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-5 w-5" />
|
|
344
|
+
<span className="text-fm-tertiary text-xs">
|
|
345
|
+
20px
|
|
346
|
+
</span>
|
|
333
347
|
</div>
|
|
334
348
|
<div className="text-center">
|
|
335
|
-
<ThreadsIcon className="!mx-auto mb-2 h-6 w-6
|
|
336
|
-
<span className="text-
|
|
349
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-6 w-6" />
|
|
350
|
+
<span className="text-fm-tertiary text-xs">
|
|
351
|
+
24px
|
|
352
|
+
</span>
|
|
337
353
|
</div>
|
|
338
354
|
<div className="text-center">
|
|
339
|
-
<ThreadsIcon className="!mx-auto mb-2 h-8 w-8
|
|
340
|
-
<span className="text-
|
|
355
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-8 w-8" />
|
|
356
|
+
<span className="text-fm-tertiary text-xs">
|
|
357
|
+
32px
|
|
358
|
+
</span>
|
|
341
359
|
</div>
|
|
342
360
|
<div className="text-center">
|
|
343
|
-
<ThreadsIcon className="!mx-auto mb-2 h-12 w-12
|
|
344
|
-
<span className="text-
|
|
361
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-12 w-12" />
|
|
362
|
+
<span className="text-fm-tertiary text-xs">
|
|
363
|
+
48px
|
|
364
|
+
</span>
|
|
345
365
|
</div>
|
|
346
366
|
</div>
|
|
347
367
|
</div>
|
|
348
368
|
|
|
349
369
|
<div className="!space-y-4">
|
|
350
|
-
<h3 className="text-lg font-semibold
|
|
370
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
351
371
|
Code Example
|
|
352
372
|
</h3>
|
|
353
|
-
<div className="rounded-lg
|
|
354
|
-
<pre className="overflow-x-auto text-sm
|
|
373
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
374
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
355
375
|
{`// Small (16px) - inline social links
|
|
356
376
|
<ThreadsIcon className="h-4 w-4" />
|
|
357
377
|
|
|
@@ -373,63 +393,63 @@ function SocialShare() {
|
|
|
373
393
|
|
|
374
394
|
{/* Color & Styling */}
|
|
375
395
|
<div className="!space-y-8">
|
|
376
|
-
<h2 className="text-center text-3xl font-bold
|
|
396
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
377
397
|
Color & Styling
|
|
378
398
|
</h2>
|
|
379
399
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
380
400
|
<div className="!space-y-4">
|
|
381
|
-
<h3 className="text-lg font-semibold
|
|
401
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
382
402
|
Brand Colors
|
|
383
403
|
</h3>
|
|
384
|
-
<div className="!space-y-4 rounded-lg border
|
|
404
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
385
405
|
<div className="flex items-center gap-4">
|
|
386
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg
|
|
387
|
-
<ThreadsIcon className="h-6 w-6
|
|
406
|
+
<div className="bg-fm-surface-primary flex h-12 w-12 items-center justify-center rounded-lg">
|
|
407
|
+
<ThreadsIcon className="text-fm-icon-active h-6 w-6" />
|
|
388
408
|
</div>
|
|
389
409
|
<div>
|
|
390
|
-
<div className="text-sm font-medium
|
|
410
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
391
411
|
Official Black
|
|
392
412
|
</div>
|
|
393
|
-
<div className="text-
|
|
413
|
+
<div className="text-fm-tertiary text-xs">
|
|
394
414
|
Primary brand color
|
|
395
415
|
</div>
|
|
396
416
|
</div>
|
|
397
417
|
</div>
|
|
398
418
|
<div className="flex items-center gap-4">
|
|
399
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg border
|
|
400
|
-
<ThreadsIcon className="h-6 w-6
|
|
419
|
+
<div className="border-fm-divider-primary bg-fm-surface-contrast flex h-12 w-12 items-center justify-center rounded-lg border">
|
|
420
|
+
<ThreadsIcon className="text-fm-icon-active h-6 w-6" />
|
|
401
421
|
</div>
|
|
402
422
|
<div>
|
|
403
|
-
<div className="text-sm font-medium
|
|
423
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
404
424
|
Inverted White
|
|
405
425
|
</div>
|
|
406
|
-
<div className="text-
|
|
426
|
+
<div className="text-fm-tertiary text-xs">
|
|
407
427
|
Light backgrounds
|
|
408
428
|
</div>
|
|
409
429
|
</div>
|
|
410
430
|
</div>
|
|
411
431
|
<div className="flex items-center gap-4">
|
|
412
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg
|
|
413
|
-
<ThreadsIcon className="h-6 w-6
|
|
432
|
+
<div className="bg-fm-surface-tertiary flex h-12 w-12 items-center justify-center rounded-lg">
|
|
433
|
+
<ThreadsIcon className="text-fm-icon-active h-6 w-6" />
|
|
414
434
|
</div>
|
|
415
435
|
<div>
|
|
416
|
-
<div className="text-sm font-medium
|
|
436
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
417
437
|
Neutral Gray
|
|
418
438
|
</div>
|
|
419
|
-
<div className="text-
|
|
439
|
+
<div className="text-fm-tertiary text-xs">
|
|
420
440
|
Subtle integration
|
|
421
441
|
</div>
|
|
422
442
|
</div>
|
|
423
443
|
</div>
|
|
424
444
|
<div className="flex items-center gap-4">
|
|
425
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg
|
|
426
|
-
<ThreadsIcon className="h-6 w-6
|
|
445
|
+
<div className="bg-fm-icon-info flex h-12 w-12 items-center justify-center rounded-lg">
|
|
446
|
+
<ThreadsIcon className="text-fm-icon-active h-6 w-6" />
|
|
427
447
|
</div>
|
|
428
448
|
<div>
|
|
429
|
-
<div className="text-sm font-medium
|
|
449
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
430
450
|
Accent Color
|
|
431
451
|
</div>
|
|
432
|
-
<div className="text-
|
|
452
|
+
<div className="text-fm-tertiary text-xs">
|
|
433
453
|
Themed integration
|
|
434
454
|
</div>
|
|
435
455
|
</div>
|
|
@@ -438,11 +458,11 @@ function SocialShare() {
|
|
|
438
458
|
</div>
|
|
439
459
|
|
|
440
460
|
<div className="!space-y-4">
|
|
441
|
-
<h3 className="text-lg font-semibold
|
|
461
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
442
462
|
Usage Examples
|
|
443
463
|
</h3>
|
|
444
|
-
<div className="rounded-lg
|
|
445
|
-
<pre className="overflow-x-auto text-sm
|
|
464
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
465
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
446
466
|
{`// Official black on white
|
|
447
467
|
<ThreadsIcon className="h-6 w-6 text-black" />
|
|
448
468
|
|
|
@@ -475,73 +495,81 @@ function SocialShare() {
|
|
|
475
495
|
|
|
476
496
|
{/* Usage Examples */}
|
|
477
497
|
<div className="!space-y-8">
|
|
478
|
-
<h2 className="text-center text-3xl font-bold
|
|
498
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
479
499
|
Usage Examples
|
|
480
500
|
</h2>
|
|
481
501
|
|
|
482
502
|
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
483
503
|
{/* Social Share Buttons */}
|
|
484
504
|
<div className="!space-y-4">
|
|
485
|
-
<h3 className="text-lg font-semibold
|
|
505
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
486
506
|
Social Share Integration
|
|
487
507
|
</h3>
|
|
488
508
|
<div className="!space-y-4">
|
|
489
|
-
<div className="rounded-lg border
|
|
509
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
490
510
|
<div className="space-y-4">
|
|
491
|
-
<h4 className="mb-3 text-sm font-medium
|
|
511
|
+
<h4 className="text-fm-icon-active mb-3 text-sm font-medium">
|
|
492
512
|
Share this post
|
|
493
513
|
</h4>
|
|
494
514
|
<div className="flex flex-wrap gap-3">
|
|
495
|
-
<button className="flex items-center gap-2 rounded-lg border
|
|
496
|
-
<ThreadsIcon className="h-4 w-4
|
|
497
|
-
<span className="text-
|
|
515
|
+
<button className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
|
|
516
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
517
|
+
<span className="text-fm-icon-active text-sm">
|
|
498
518
|
Share on Threads
|
|
499
519
|
</span>
|
|
500
520
|
</button>
|
|
501
|
-
<button className="flex items-center gap-2 rounded-lg border
|
|
502
|
-
<span className="text-
|
|
503
|
-
|
|
521
|
+
<button className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
|
|
522
|
+
<span className="text-fm-icon-active text-sm">
|
|
523
|
+
𝕏
|
|
524
|
+
</span>
|
|
525
|
+
<span className="text-fm-icon-active text-sm">
|
|
504
526
|
Share on X
|
|
505
527
|
</span>
|
|
506
528
|
</button>
|
|
507
|
-
<button className="flex items-center gap-2 rounded-lg
|
|
508
|
-
<span className="text-
|
|
509
|
-
|
|
529
|
+
<button className="bg-fm-icon-info hover:bg-fm-icon-info flex items-center gap-2 rounded-lg px-4 py-2 transition-colors">
|
|
530
|
+
<span className="text-fm-icon-active text-sm">
|
|
531
|
+
📘
|
|
532
|
+
</span>
|
|
533
|
+
<span className="text-fm-icon-active text-sm">
|
|
510
534
|
Facebook
|
|
511
535
|
</span>
|
|
512
536
|
</button>
|
|
513
537
|
</div>
|
|
514
|
-
<div className="border-
|
|
538
|
+
<div className="border-fm-divider-secondary border-t pt-4">
|
|
515
539
|
<div className="flex items-center gap-3">
|
|
516
|
-
<span className="text-
|
|
540
|
+
<span className="text-fm-tertiary text-sm">
|
|
517
541
|
Follow the conversation:
|
|
518
542
|
</span>
|
|
519
543
|
<div className="flex gap-2">
|
|
520
544
|
<a
|
|
521
545
|
href="#"
|
|
522
|
-
className="
|
|
546
|
+
className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary rounded border p-2 transition-colors"
|
|
523
547
|
>
|
|
524
|
-
<ThreadsIcon className="h-4 w-4
|
|
548
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
525
549
|
</a>
|
|
526
550
|
<a
|
|
527
551
|
href="#"
|
|
528
|
-
className="
|
|
552
|
+
className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary rounded border p-2 transition-colors"
|
|
529
553
|
>
|
|
530
|
-
<span className="text-
|
|
554
|
+
<span className="text-fm-icon-active text-sm">
|
|
555
|
+
𝕏
|
|
556
|
+
</span>
|
|
531
557
|
</a>
|
|
532
558
|
<a
|
|
533
559
|
href="#"
|
|
534
|
-
className="
|
|
560
|
+
className="bg-fm-icon-info hover:bg-fm-icon-info rounded p-2 transition-colors"
|
|
535
561
|
>
|
|
536
|
-
<span className="text-
|
|
562
|
+
<span className="text-fm-icon-active text-sm">
|
|
563
|
+
📘
|
|
564
|
+
</span>
|
|
537
565
|
</a>
|
|
538
566
|
</div>
|
|
539
567
|
</div>
|
|
540
568
|
</div>
|
|
541
569
|
</div>
|
|
542
570
|
</div>
|
|
543
|
-
<div className="rounded-lg
|
|
544
|
-
<pre className="overflow-x-auto text-sm
|
|
571
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
572
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
545
573
|
{`// Social sharing component with Threads
|
|
546
574
|
<div className="share-buttons">
|
|
547
575
|
<h4>Share this post</h4>
|
|
@@ -578,28 +606,28 @@ function SocialShare() {
|
|
|
578
606
|
|
|
579
607
|
{/* Discussion Thread Widget */}
|
|
580
608
|
<div className="!space-y-4">
|
|
581
|
-
<h3 className="text-lg font-semibold
|
|
609
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
582
610
|
Discussion Thread Widget
|
|
583
611
|
</h3>
|
|
584
612
|
<div className="!space-y-4">
|
|
585
|
-
<div className="rounded-lg border
|
|
586
|
-
<div className="overflow-hidden rounded-lg border
|
|
587
|
-
<div className="border-
|
|
613
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
614
|
+
<div className="border-fm-divider-primary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
615
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-b p-4">
|
|
588
616
|
<div className="flex items-center justify-between">
|
|
589
617
|
<div className="flex items-center gap-3">
|
|
590
|
-
<ThreadsIcon className="h-5 w-5
|
|
618
|
+
<ThreadsIcon className="text-fm-icon-active h-5 w-5" />
|
|
591
619
|
<div>
|
|
592
|
-
<h4 className="text-sm font-semibold
|
|
620
|
+
<h4 className="text-fm-icon-active text-sm font-semibold">
|
|
593
621
|
Latest Discussion
|
|
594
622
|
</h4>
|
|
595
|
-
<p className="text-
|
|
623
|
+
<p className="text-fm-tertiary text-xs">
|
|
596
624
|
Join the conversation on Threads
|
|
597
625
|
</p>
|
|
598
626
|
</div>
|
|
599
627
|
</div>
|
|
600
628
|
<a
|
|
601
629
|
href="#"
|
|
602
|
-
className="text-
|
|
630
|
+
className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors"
|
|
603
631
|
>
|
|
604
632
|
View Thread
|
|
605
633
|
</a>
|
|
@@ -607,89 +635,89 @@ function SocialShare() {
|
|
|
607
635
|
</div>
|
|
608
636
|
<div className="space-y-3 p-4">
|
|
609
637
|
<div className="flex gap-3">
|
|
610
|
-
<div className="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full
|
|
638
|
+
<div className="bg-fm-surface-secondary flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full">
|
|
611
639
|
<span className="text-xs">👤</span>
|
|
612
640
|
</div>
|
|
613
641
|
<div className="flex-1">
|
|
614
642
|
<div className="mb-1 flex items-center gap-2">
|
|
615
|
-
<span className="text-sm font-medium
|
|
643
|
+
<span className="text-fm-icon-active text-sm font-medium">
|
|
616
644
|
Alex Chen
|
|
617
645
|
</span>
|
|
618
|
-
<span className="text-
|
|
646
|
+
<span className="text-fm-placeholder text-xs">
|
|
619
647
|
@alexchen
|
|
620
648
|
</span>
|
|
621
|
-
<span className="text-
|
|
649
|
+
<span className="text-fm-placeholder text-xs">
|
|
622
650
|
•
|
|
623
651
|
</span>
|
|
624
|
-
<span className="text-
|
|
652
|
+
<span className="text-fm-placeholder text-xs">
|
|
625
653
|
2h
|
|
626
654
|
</span>
|
|
627
655
|
</div>
|
|
628
|
-
<p className="text-
|
|
656
|
+
<p className="text-fm-icon-active/80 text-sm">
|
|
629
657
|
Really excited about the new design system
|
|
630
658
|
updates. The accessibility improvements are
|
|
631
659
|
game-changing! 🎨
|
|
632
660
|
</p>
|
|
633
661
|
<div className="mt-2 flex items-center gap-4">
|
|
634
|
-
<button className="text-
|
|
662
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
635
663
|
Reply
|
|
636
664
|
</button>
|
|
637
|
-
<button className="text-
|
|
665
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
638
666
|
💬 12
|
|
639
667
|
</button>
|
|
640
|
-
<button className="text-
|
|
668
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
641
669
|
🔄 8
|
|
642
670
|
</button>
|
|
643
|
-
<button className="text-
|
|
671
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
644
672
|
❤️ 24
|
|
645
673
|
</button>
|
|
646
674
|
</div>
|
|
647
675
|
</div>
|
|
648
676
|
</div>
|
|
649
677
|
<div className="flex gap-3">
|
|
650
|
-
<div className="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full
|
|
678
|
+
<div className="bg-fm-surface-secondary flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full">
|
|
651
679
|
<span className="text-xs">👤</span>
|
|
652
680
|
</div>
|
|
653
681
|
<div className="flex-1">
|
|
654
682
|
<div className="mb-1 flex items-center gap-2">
|
|
655
|
-
<span className="text-sm font-medium
|
|
683
|
+
<span className="text-fm-icon-active text-sm font-medium">
|
|
656
684
|
Sarah Kim
|
|
657
685
|
</span>
|
|
658
|
-
<span className="text-
|
|
686
|
+
<span className="text-fm-placeholder text-xs">
|
|
659
687
|
@sarahk
|
|
660
688
|
</span>
|
|
661
|
-
<span className="text-
|
|
689
|
+
<span className="text-fm-placeholder text-xs">
|
|
662
690
|
•
|
|
663
691
|
</span>
|
|
664
|
-
<span className="text-
|
|
692
|
+
<span className="text-fm-placeholder text-xs">
|
|
665
693
|
1h
|
|
666
694
|
</span>
|
|
667
695
|
</div>
|
|
668
|
-
<p className="text-
|
|
696
|
+
<p className="text-fm-icon-active/80 text-sm">
|
|
669
697
|
@alexchen Totally agree! The color contrast
|
|
670
698
|
ratios are so much better now. Perfect for our
|
|
671
699
|
vision-impaired users.
|
|
672
700
|
</p>
|
|
673
701
|
<div className="mt-2 flex items-center gap-4">
|
|
674
|
-
<button className="text-
|
|
702
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
675
703
|
Reply
|
|
676
704
|
</button>
|
|
677
|
-
<button className="text-
|
|
705
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
678
706
|
💬 5
|
|
679
707
|
</button>
|
|
680
|
-
<button className="text-
|
|
708
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
681
709
|
🔄 3
|
|
682
710
|
</button>
|
|
683
|
-
<button className="text-
|
|
711
|
+
<button className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors">
|
|
684
712
|
❤️ 15
|
|
685
713
|
</button>
|
|
686
714
|
</div>
|
|
687
715
|
</div>
|
|
688
716
|
</div>
|
|
689
|
-
<div className="border-
|
|
717
|
+
<div className="border-fm-divider-secondary border-t pt-3">
|
|
690
718
|
<a
|
|
691
719
|
href="#"
|
|
692
|
-
className="flex items-center gap-2 text-sm
|
|
720
|
+
className="text-fm-tertiary hover:text-fm-icon-active flex items-center gap-2 text-sm transition-colors"
|
|
693
721
|
>
|
|
694
722
|
<ThreadsIcon className="h-4 w-4" />
|
|
695
723
|
<span>Continue reading on Threads</span>
|
|
@@ -698,8 +726,8 @@ function SocialShare() {
|
|
|
698
726
|
</div>
|
|
699
727
|
</div>
|
|
700
728
|
</div>
|
|
701
|
-
<div className="rounded-lg
|
|
702
|
-
<pre className="overflow-x-auto text-sm
|
|
729
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
730
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
703
731
|
{`// Discussion thread widget
|
|
704
732
|
<div className="threads-widget">
|
|
705
733
|
<div className="widget-header">
|
|
@@ -745,15 +773,15 @@ function SocialShare() {
|
|
|
745
773
|
|
|
746
774
|
{/* Community Profile */}
|
|
747
775
|
<div className="!space-y-4">
|
|
748
|
-
<h3 className="text-lg font-semibold
|
|
776
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
749
777
|
Community Profile
|
|
750
778
|
</h3>
|
|
751
779
|
<div className="!space-y-4">
|
|
752
|
-
<div className="rounded-lg border
|
|
753
|
-
<div className="overflow-hidden rounded-lg border
|
|
754
|
-
<div className="relative h-32 bg-
|
|
780
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
781
|
+
<div className="border-fm-divider-primary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
782
|
+
<div className="from-fm-surface-secondary to-fm-surface-primary relative h-32 bg-linear-to-r">
|
|
755
783
|
<div className="absolute -bottom-8 left-6">
|
|
756
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-full border-4
|
|
784
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-16 w-16 items-center justify-center rounded-full border-4">
|
|
757
785
|
<span className="text-2xl">💬</span>
|
|
758
786
|
</div>
|
|
759
787
|
</div>
|
|
@@ -761,81 +789,85 @@ function SocialShare() {
|
|
|
761
789
|
<div className="p-6 pt-12">
|
|
762
790
|
<div className="flex items-start justify-between">
|
|
763
791
|
<div>
|
|
764
|
-
<h4 className="text-lg font-semibold
|
|
792
|
+
<h4 className="text-fm-icon-active text-lg font-semibold">
|
|
765
793
|
Design Community
|
|
766
794
|
</h4>
|
|
767
|
-
<p className="text-
|
|
795
|
+
<p className="text-fm-tertiary text-sm">
|
|
768
796
|
@designcommunity
|
|
769
797
|
</p>
|
|
770
|
-
<p className="mt-2 text-sm
|
|
798
|
+
<p className="text-fm-secondary mt-2 text-sm">
|
|
771
799
|
A space for designers to share ideas, get
|
|
772
800
|
feedback, and discuss the latest trends in
|
|
773
801
|
UI/UX 🎨
|
|
774
802
|
</p>
|
|
775
803
|
</div>
|
|
776
|
-
<button className="
|
|
804
|
+
<button className="bg-fm-surface-contrast text-fm-icon-active hover:bg-fm-surface-secondary rounded-lg px-4 py-2 font-medium transition-colors">
|
|
777
805
|
Follow
|
|
778
806
|
</button>
|
|
779
807
|
</div>
|
|
780
808
|
<div className="mt-4 flex items-center gap-6">
|
|
781
809
|
<div className="text-sm">
|
|
782
|
-
<span className="font-medium
|
|
810
|
+
<span className="text-fm-icon-active font-medium">
|
|
783
811
|
2,847
|
|
784
812
|
</span>
|
|
785
|
-
<span className="ml-1
|
|
813
|
+
<span className="text-fm-tertiary ml-1">
|
|
786
814
|
Threads
|
|
787
815
|
</span>
|
|
788
816
|
</div>
|
|
789
817
|
<div className="text-sm">
|
|
790
|
-
<span className="font-medium
|
|
818
|
+
<span className="text-fm-icon-active font-medium">
|
|
791
819
|
15.2k
|
|
792
820
|
</span>
|
|
793
|
-
<span className="ml-1
|
|
821
|
+
<span className="text-fm-tertiary ml-1">
|
|
794
822
|
Followers
|
|
795
823
|
</span>
|
|
796
824
|
</div>
|
|
797
825
|
<div className="text-sm">
|
|
798
|
-
<span className="font-medium
|
|
826
|
+
<span className="text-fm-icon-active font-medium">
|
|
799
827
|
943
|
|
800
828
|
</span>
|
|
801
|
-
<span className="ml-1
|
|
829
|
+
<span className="text-fm-tertiary ml-1">
|
|
802
830
|
Following
|
|
803
831
|
</span>
|
|
804
832
|
</div>
|
|
805
833
|
</div>
|
|
806
|
-
<div className="mt-4 flex items-center gap-4 border-t
|
|
807
|
-
<span className="text-
|
|
834
|
+
<div className="border-fm-divider-secondary mt-4 flex items-center gap-4 border-t pt-4">
|
|
835
|
+
<span className="text-fm-tertiary text-sm">
|
|
808
836
|
Join the conversation:
|
|
809
837
|
</span>
|
|
810
838
|
<div className="flex gap-2">
|
|
811
839
|
<a
|
|
812
840
|
href="#"
|
|
813
|
-
className="
|
|
841
|
+
className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary rounded border p-2 transition-colors"
|
|
814
842
|
aria-label="Follow on Threads"
|
|
815
843
|
>
|
|
816
|
-
<ThreadsIcon className="h-4 w-4
|
|
844
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
817
845
|
</a>
|
|
818
846
|
<a
|
|
819
847
|
href="#"
|
|
820
|
-
className="
|
|
848
|
+
className="bg-fm-icon-info hover:bg-fm-icon-info rounded p-2 transition-colors"
|
|
821
849
|
aria-label="Connect on Discord"
|
|
822
850
|
>
|
|
823
|
-
<span className="text-
|
|
851
|
+
<span className="text-fm-icon-active text-sm">
|
|
852
|
+
🎮
|
|
853
|
+
</span>
|
|
824
854
|
</a>
|
|
825
855
|
<a
|
|
826
856
|
href="#"
|
|
827
|
-
className="
|
|
857
|
+
className="bg-fm-surface-tertiary hover:bg-fm-surface-secondary rounded p-2 transition-colors"
|
|
828
858
|
aria-label="View Website"
|
|
829
859
|
>
|
|
830
|
-
<span className="text-
|
|
860
|
+
<span className="text-fm-icon-active text-sm">
|
|
861
|
+
🌐
|
|
862
|
+
</span>
|
|
831
863
|
</a>
|
|
832
864
|
</div>
|
|
833
865
|
</div>
|
|
834
866
|
</div>
|
|
835
867
|
</div>
|
|
836
868
|
</div>
|
|
837
|
-
<div className="rounded-lg
|
|
838
|
-
<pre className="overflow-x-auto text-sm
|
|
869
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
870
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
839
871
|
{`// Community profile with Threads integration
|
|
840
872
|
<div className="community-profile">
|
|
841
873
|
<div className="profile-header">
|
|
@@ -871,67 +903,67 @@ function SocialShare() {
|
|
|
871
903
|
|
|
872
904
|
{/* Text-Based Content Hub */}
|
|
873
905
|
<div className="!space-y-4">
|
|
874
|
-
<h3 className="text-lg font-semibold
|
|
906
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
875
907
|
Text-Based Content Hub
|
|
876
908
|
</h3>
|
|
877
909
|
<div className="!space-y-4">
|
|
878
|
-
<div className="rounded-lg border
|
|
879
|
-
<div className="overflow-hidden rounded-lg border
|
|
910
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
911
|
+
<div className="border-fm-divider-primary bg-fm-surface-secondary overflow-hidden rounded-lg border">
|
|
880
912
|
<div className="p-6">
|
|
881
913
|
<div className="mb-6 text-center">
|
|
882
|
-
<h4 className="mb-2 text-xl font-semibold
|
|
914
|
+
<h4 className="text-fm-icon-active mb-2 text-xl font-semibold">
|
|
883
915
|
Join the Conversation
|
|
884
916
|
</h4>
|
|
885
|
-
<p className="text-
|
|
917
|
+
<p className="text-fm-secondary text-sm">
|
|
886
918
|
Share your thoughts and connect with like-minded
|
|
887
919
|
people
|
|
888
920
|
</p>
|
|
889
921
|
</div>
|
|
890
922
|
<div className="mb-6 grid grid-cols-2 gap-4">
|
|
891
|
-
<div className="rounded-lg border
|
|
892
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg border
|
|
893
|
-
<ThreadsIcon className="h-6 w-6
|
|
923
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
924
|
+
<div className="border-fm-divider-contrast bg-fm-surface-primary mb-3 flex h-12 w-12 items-center justify-center rounded-lg border">
|
|
925
|
+
<ThreadsIcon className="text-fm-icon-active h-6 w-6" />
|
|
894
926
|
</div>
|
|
895
|
-
<h5 className="mb-2 text-sm font-semibold
|
|
927
|
+
<h5 className="text-fm-icon-active mb-2 text-sm font-semibold">
|
|
896
928
|
Text Discussions
|
|
897
929
|
</h5>
|
|
898
|
-
<p className="text-
|
|
930
|
+
<p className="text-fm-tertiary text-xs">
|
|
899
931
|
Share your thoughts in threaded conversations
|
|
900
932
|
with the community
|
|
901
933
|
</p>
|
|
902
934
|
</div>
|
|
903
|
-
<div className="rounded-lg border
|
|
904
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg
|
|
935
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
936
|
+
<div className="bg-fm-secondary-500/20 mb-3 flex h-12 w-12 items-center justify-center rounded-lg">
|
|
905
937
|
<span className="text-xl">🧵</span>
|
|
906
938
|
</div>
|
|
907
|
-
<h5 className="mb-2 text-sm font-semibold
|
|
939
|
+
<h5 className="text-fm-icon-active mb-2 text-sm font-semibold">
|
|
908
940
|
Follow Threads
|
|
909
941
|
</h5>
|
|
910
|
-
<p className="text-
|
|
942
|
+
<p className="text-fm-tertiary text-xs">
|
|
911
943
|
Stay updated on conversations that matter to
|
|
912
944
|
you
|
|
913
945
|
</p>
|
|
914
946
|
</div>
|
|
915
|
-
<div className="rounded-lg border
|
|
916
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg
|
|
947
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
948
|
+
<div className="bg-fm-icon-info/20 mb-3 flex h-12 w-12 items-center justify-center rounded-lg">
|
|
917
949
|
<span className="text-xl">🔗</span>
|
|
918
950
|
</div>
|
|
919
|
-
<h5 className="mb-2 text-sm font-semibold
|
|
951
|
+
<h5 className="text-fm-icon-active mb-2 text-sm font-semibold">
|
|
920
952
|
Share Ideas
|
|
921
953
|
</h5>
|
|
922
|
-
<p className="text-
|
|
954
|
+
<p className="text-fm-tertiary text-xs">
|
|
923
955
|
Connect your content across different
|
|
924
956
|
platforms
|
|
925
957
|
</p>
|
|
926
958
|
</div>
|
|
927
|
-
<div className="rounded-lg border
|
|
928
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg
|
|
959
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
960
|
+
<div className="bg-fm-icon-positive/20 mb-3 flex h-12 w-12 items-center justify-center rounded-lg">
|
|
929
961
|
<span className="text-xl">👥</span>
|
|
930
962
|
</div>
|
|
931
|
-
<h5 className="mb-2 text-sm font-semibold
|
|
963
|
+
<h5 className="text-fm-icon-active mb-2 text-sm font-semibold">
|
|
932
964
|
Build Community
|
|
933
965
|
</h5>
|
|
934
|
-
<p className="text-
|
|
966
|
+
<p className="text-fm-tertiary text-xs">
|
|
935
967
|
Create meaningful connections through
|
|
936
968
|
authentic conversations
|
|
937
969
|
</p>
|
|
@@ -940,7 +972,7 @@ function SocialShare() {
|
|
|
940
972
|
<div className="text-center">
|
|
941
973
|
<a
|
|
942
974
|
href="#"
|
|
943
|
-
className="inline-flex items-center gap-2 rounded-lg border
|
|
975
|
+
className="border-fm-divider-contrast bg-fm-surface-primary text-fm-icon-active hover:bg-fm-surface-secondary inline-flex items-center gap-2 rounded-lg border px-6 py-3 font-medium transition-colors"
|
|
944
976
|
>
|
|
945
977
|
<ThreadsIcon className="h-5 w-5" />
|
|
946
978
|
<span>Start a Thread</span>
|
|
@@ -949,8 +981,8 @@ function SocialShare() {
|
|
|
949
981
|
</div>
|
|
950
982
|
</div>
|
|
951
983
|
</div>
|
|
952
|
-
<div className="rounded-lg
|
|
953
|
-
<pre className="overflow-x-auto text-sm
|
|
984
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
985
|
+
<pre className="text-fm-icon-positive! overflow-x-auto text-sm">
|
|
954
986
|
{`// Text-based content hub with Threads integration
|
|
955
987
|
<div className="content-hub">
|
|
956
988
|
<div className="hub-header">
|
|
@@ -988,65 +1020,65 @@ function SocialShare() {
|
|
|
988
1020
|
|
|
989
1021
|
{/* Accessibility */}
|
|
990
1022
|
<div className="!space-y-8">
|
|
991
|
-
<h2 className="text-center text-3xl font-bold
|
|
1023
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
992
1024
|
Accessibility Features
|
|
993
1025
|
</h2>
|
|
994
1026
|
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
995
|
-
<div className="!space-y-4 rounded-lg border
|
|
996
|
-
<h3 className="text-lg font-semibold
|
|
1027
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
1028
|
+
<h3 className="text-fm-icon-positive! text-lg font-semibold">
|
|
997
1029
|
✅ Built-in Features
|
|
998
1030
|
</h3>
|
|
999
|
-
<ul className="!space-y-2 text-sm
|
|
1000
|
-
<li className="
|
|
1031
|
+
<ul className="text-fm-secondary! !space-y-2 text-sm">
|
|
1032
|
+
<li className="text-fm-secondary!">
|
|
1001
1033
|
Uses Radix UI AccessibleIcon wrapper
|
|
1002
1034
|
</li>
|
|
1003
|
-
<li className="
|
|
1035
|
+
<li className="text-fm-secondary!">
|
|
1004
1036
|
Provides screen reader label "Threads icon"
|
|
1005
1037
|
</li>
|
|
1006
|
-
<li className="
|
|
1038
|
+
<li className="text-fm-secondary!">
|
|
1007
1039
|
Supports keyboard navigation when interactive
|
|
1008
1040
|
</li>
|
|
1009
|
-
<li className="
|
|
1041
|
+
<li className="text-fm-secondary!">
|
|
1010
1042
|
High contrast design for visibility
|
|
1011
1043
|
</li>
|
|
1012
|
-
<li className="
|
|
1044
|
+
<li className="text-fm-secondary!">
|
|
1013
1045
|
Maintains aspect ratio across all sizes
|
|
1014
1046
|
</li>
|
|
1015
1047
|
</ul>
|
|
1016
1048
|
</div>
|
|
1017
1049
|
|
|
1018
|
-
<div className="!space-y-4 rounded-lg border
|
|
1019
|
-
<h3 className="text-lg font-semibold
|
|
1050
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
|
|
1051
|
+
<h3 className="text-fm-secondary! text-lg font-semibold">
|
|
1020
1052
|
💡 Best Practices
|
|
1021
1053
|
</h3>
|
|
1022
|
-
<ul className="!space-y-2 text-sm
|
|
1023
|
-
<li className="
|
|
1054
|
+
<ul className="text-fm-secondary !space-y-2 text-sm">
|
|
1055
|
+
<li className="text-fm-secondary!">
|
|
1024
1056
|
Always provide descriptive aria-labels for Threads
|
|
1025
1057
|
actions
|
|
1026
1058
|
</li>
|
|
1027
|
-
<li className="
|
|
1059
|
+
<li className="text-fm-secondary!">
|
|
1028
1060
|
Use Threads' text-focused branding consistently
|
|
1029
1061
|
</li>
|
|
1030
|
-
<li className="
|
|
1062
|
+
<li className="text-fm-secondary!">
|
|
1031
1063
|
Ensure sufficient contrast with monochrome design
|
|
1032
1064
|
</li>
|
|
1033
|
-
<li className="
|
|
1065
|
+
<li className="text-fm-secondary!">
|
|
1034
1066
|
Include external link indicators for Threads URLs
|
|
1035
1067
|
</li>
|
|
1036
|
-
<li className="
|
|
1068
|
+
<li className="text-fm-secondary!">
|
|
1037
1069
|
Consider conversation context in related features
|
|
1038
1070
|
</li>
|
|
1039
1071
|
</ul>
|
|
1040
1072
|
</div>
|
|
1041
1073
|
</div>
|
|
1042
1074
|
|
|
1043
|
-
<div className="rounded-lg border
|
|
1044
|
-
<h3 className="mb-4 text-lg font-semibold
|
|
1075
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
|
|
1076
|
+
<h3 className="text-fm-icon-info! mb-4 text-lg font-semibold">
|
|
1045
1077
|
Proper ARIA Implementation
|
|
1046
1078
|
</h3>
|
|
1047
1079
|
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
1048
|
-
<div className="rounded-lg
|
|
1049
|
-
<pre className="overflow-x-auto text-sm
|
|
1080
|
+
<div className="bg-fm-surface-secondary rounded-lg p-4">
|
|
1081
|
+
<pre className="text-fm-icon-info! overflow-x-auto text-sm">
|
|
1050
1082
|
{`// Threads profile link
|
|
1051
1083
|
<a
|
|
1052
1084
|
href="https://threads.net/@username"
|
|
@@ -1132,14 +1164,14 @@ function SocialShare() {
|
|
|
1132
1164
|
</pre>
|
|
1133
1165
|
</div>
|
|
1134
1166
|
<div className="!space-y-4">
|
|
1135
|
-
<p className="text-
|
|
1167
|
+
<p className="text-fm-secondary! text-sm">
|
|
1136
1168
|
When using ThreadsIcon for conversation integration,
|
|
1137
1169
|
always provide clear context about the discussion topic
|
|
1138
1170
|
and ensure users understand the threading nature of the
|
|
1139
1171
|
platform.
|
|
1140
1172
|
</p>
|
|
1141
|
-
<div className="
|
|
1142
|
-
<div className="flex items-center gap-2 text-sm
|
|
1173
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary/10 rounded-lg border p-4">
|
|
1174
|
+
<div className="text-fm-secondary flex items-center gap-2 text-sm">
|
|
1143
1175
|
<ThreadsIcon className="h-4 w-4" />
|
|
1144
1176
|
<span>
|
|
1145
1177
|
Consider conversation flow and threading context for
|
|
@@ -1154,52 +1186,58 @@ function SocialShare() {
|
|
|
1154
1186
|
|
|
1155
1187
|
{/* Related Icons */}
|
|
1156
1188
|
<div className="!space-y-8">
|
|
1157
|
-
<h2 className="text-center text-3xl font-bold
|
|
1189
|
+
<h2 className="text-fm-icon-active! text-center text-3xl font-bold">
|
|
1158
1190
|
Related Icons
|
|
1159
1191
|
</h2>
|
|
1160
1192
|
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
1161
|
-
<div className="!space-y-3 rounded-lg border
|
|
1162
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
1163
|
-
<span className="
|
|
1193
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
1194
|
+
<div className="bg-fm-surface-primary !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
1195
|
+
<span className="text-fm-icon-active! !text-2xl">𝕏</span>
|
|
1164
1196
|
</div>
|
|
1165
1197
|
<div>
|
|
1166
|
-
<div className="font-medium
|
|
1167
|
-
|
|
1198
|
+
<div className="text-fm-icon-active font-medium">
|
|
1199
|
+
TwitterXIcon
|
|
1200
|
+
</div>
|
|
1201
|
+
<div className="text-fm-tertiary text-xs">
|
|
1168
1202
|
Social network
|
|
1169
1203
|
</div>
|
|
1170
1204
|
</div>
|
|
1171
1205
|
</div>
|
|
1172
|
-
<div className="!space-y-3 rounded-lg border
|
|
1173
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-
|
|
1174
|
-
<span className="
|
|
1206
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
1207
|
+
<div className="from-fm-secondary-500 via-fm-secondary-500 to-fm-icon-warning !mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-linear-to-br">
|
|
1208
|
+
<span className="text-fm-icon-active! !text-2xl">📷</span>
|
|
1175
1209
|
</div>
|
|
1176
1210
|
<div>
|
|
1177
|
-
<div className="font-medium
|
|
1211
|
+
<div className="text-fm-icon-active font-medium">
|
|
1178
1212
|
InstagramIcon
|
|
1179
1213
|
</div>
|
|
1180
|
-
<div className="text-
|
|
1214
|
+
<div className="text-fm-tertiary text-xs">
|
|
1181
1215
|
Visual content
|
|
1182
1216
|
</div>
|
|
1183
1217
|
</div>
|
|
1184
1218
|
</div>
|
|
1185
|
-
<div className="!space-y-3 rounded-lg border
|
|
1186
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
1187
|
-
<span className="
|
|
1219
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
1220
|
+
<div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
1221
|
+
<span className="text-fm-icon-active! !text-2xl">📘</span>
|
|
1188
1222
|
</div>
|
|
1189
1223
|
<div>
|
|
1190
|
-
<div className="font-medium
|
|
1191
|
-
|
|
1224
|
+
<div className="text-fm-icon-active font-medium">
|
|
1225
|
+
FacebookIcon
|
|
1226
|
+
</div>
|
|
1227
|
+
<div className="text-fm-tertiary text-xs">
|
|
1192
1228
|
Social platform
|
|
1193
1229
|
</div>
|
|
1194
1230
|
</div>
|
|
1195
1231
|
</div>
|
|
1196
|
-
<div className="!space-y-3 rounded-lg border
|
|
1197
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg
|
|
1198
|
-
<span className="
|
|
1232
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
|
|
1233
|
+
<div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
|
|
1234
|
+
<span className="text-fm-icon-active! !text-2xl">💼</span>
|
|
1199
1235
|
</div>
|
|
1200
1236
|
<div>
|
|
1201
|
-
<div className="font-medium
|
|
1202
|
-
|
|
1237
|
+
<div className="text-fm-icon-active font-medium">
|
|
1238
|
+
LinkedInIcon
|
|
1239
|
+
</div>
|
|
1240
|
+
<div className="text-fm-tertiary text-xs">
|
|
1203
1241
|
Professional network
|
|
1204
1242
|
</div>
|
|
1205
1243
|
</div>
|
|
@@ -1209,15 +1247,15 @@ function SocialShare() {
|
|
|
1209
1247
|
</div>
|
|
1210
1248
|
|
|
1211
1249
|
{/* Footer */}
|
|
1212
|
-
<div className="border-
|
|
1250
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
|
|
1213
1251
|
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
1214
1252
|
<div className="!space-y-4 text-center">
|
|
1215
|
-
<p className="
|
|
1253
|
+
<p className="text-fm-tertiary!">
|
|
1216
1254
|
ThreadsIcon is part of the Aural UI icon library, built with
|
|
1217
1255
|
accessibility and conversation platform integration best
|
|
1218
1256
|
practices in mind.
|
|
1219
1257
|
</p>
|
|
1220
|
-
<p className="text-
|
|
1258
|
+
<p className="text-fm-placeholder! text-sm">
|
|
1221
1259
|
All icons use Radix UI's AccessibleIcon for screen reader
|
|
1222
1260
|
compatibility and follow WCAG guidelines for social platform
|
|
1223
1261
|
recognition and conversation accessibility.
|
|
@@ -1267,20 +1305,20 @@ const storyParameters = {
|
|
|
1267
1305
|
backgrounds: {
|
|
1268
1306
|
default: "dark",
|
|
1269
1307
|
values: [
|
|
1270
|
-
{ name: "dark", value: "
|
|
1271
|
-
{ name: "darker", value: "
|
|
1308
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
1309
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
1272
1310
|
],
|
|
1273
1311
|
},
|
|
1274
1312
|
}
|
|
1275
1313
|
|
|
1276
1314
|
export const Default: Story = {
|
|
1277
1315
|
args: {
|
|
1278
|
-
className: "h-8 w-8 text-
|
|
1316
|
+
className: "h-8 w-8 text-fm-icon-active",
|
|
1279
1317
|
withAccessibility: true,
|
|
1280
1318
|
},
|
|
1281
1319
|
parameters: storyParameters,
|
|
1282
1320
|
render: (args) => (
|
|
1283
|
-
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1321
|
+
<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">
|
|
1284
1322
|
<ThreadsIcon {...args} />
|
|
1285
1323
|
</div>
|
|
1286
1324
|
),
|
|
@@ -1297,30 +1335,30 @@ export const SizeVariations: Story = {
|
|
|
1297
1335
|
},
|
|
1298
1336
|
},
|
|
1299
1337
|
render: () => (
|
|
1300
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-
|
|
1338
|
+
<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">
|
|
1301
1339
|
<div className="text-center">
|
|
1302
|
-
<ThreadsIcon className="!mx-auto mb-2 h-3 w-3
|
|
1303
|
-
<span className="text-
|
|
1340
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-3 w-3" />
|
|
1341
|
+
<span className="text-fm-tertiary text-xs">12px</span>
|
|
1304
1342
|
</div>
|
|
1305
1343
|
<div className="text-center">
|
|
1306
|
-
<ThreadsIcon className="!mx-auto mb-2 h-4 w-4
|
|
1307
|
-
<span className="text-
|
|
1344
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-4 w-4" />
|
|
1345
|
+
<span className="text-fm-tertiary text-xs">16px</span>
|
|
1308
1346
|
</div>
|
|
1309
1347
|
<div className="text-center">
|
|
1310
|
-
<ThreadsIcon className="!mx-auto mb-2 h-5 w-5
|
|
1311
|
-
<span className="text-
|
|
1348
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-5 w-5" />
|
|
1349
|
+
<span className="text-fm-tertiary text-xs">20px</span>
|
|
1312
1350
|
</div>
|
|
1313
1351
|
<div className="text-center">
|
|
1314
|
-
<ThreadsIcon className="!mx-auto mb-2 h-6 w-6
|
|
1315
|
-
<span className="text-
|
|
1352
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-6 w-6" />
|
|
1353
|
+
<span className="text-fm-tertiary text-xs">24px</span>
|
|
1316
1354
|
</div>
|
|
1317
1355
|
<div className="text-center">
|
|
1318
|
-
<ThreadsIcon className="!mx-auto mb-2 h-8 w-8
|
|
1319
|
-
<span className="text-
|
|
1356
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-8 w-8" />
|
|
1357
|
+
<span className="text-fm-tertiary text-xs">32px</span>
|
|
1320
1358
|
</div>
|
|
1321
1359
|
<div className="text-center">
|
|
1322
|
-
<ThreadsIcon className="!mx-auto mb-2 h-12 w-12
|
|
1323
|
-
<span className="text-
|
|
1360
|
+
<ThreadsIcon className="text-fm-icon-active !mx-auto mb-2 h-12 w-12" />
|
|
1361
|
+
<span className="text-fm-tertiary text-xs">48px</span>
|
|
1324
1362
|
</div>
|
|
1325
1363
|
</div>
|
|
1326
1364
|
),
|
|
@@ -1337,34 +1375,42 @@ export const BrandColors: Story = {
|
|
|
1337
1375
|
},
|
|
1338
1376
|
},
|
|
1339
1377
|
render: () => (
|
|
1340
|
-
<div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-
|
|
1378
|
+
<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">
|
|
1341
1379
|
<div className="text-center">
|
|
1342
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg
|
|
1343
|
-
<ThreadsIcon className="h-8 w-8
|
|
1380
|
+
<div className="bg-fm-surface-primary !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg">
|
|
1381
|
+
<ThreadsIcon className="text-fm-icon-active h-8 w-8" />
|
|
1344
1382
|
</div>
|
|
1345
|
-
<div className="text-sm font-medium
|
|
1346
|
-
|
|
1383
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1384
|
+
Official Black
|
|
1385
|
+
</div>
|
|
1386
|
+
<div className="text-fm-tertiary text-xs">Primary brand</div>
|
|
1347
1387
|
</div>
|
|
1348
1388
|
<div className="text-center">
|
|
1349
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border
|
|
1350
|
-
<ThreadsIcon className="h-8 w-8
|
|
1389
|
+
<div className="border-fm-divider-primary bg-fm-surface-contrast !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
|
|
1390
|
+
<ThreadsIcon className="text-fm-icon-active h-8 w-8" />
|
|
1391
|
+
</div>
|
|
1392
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1393
|
+
Inverted White
|
|
1351
1394
|
</div>
|
|
1352
|
-
<div className="text-
|
|
1353
|
-
<div className="text-xs text-white/60">Light backgrounds</div>
|
|
1395
|
+
<div className="text-fm-tertiary text-xs">Light backgrounds</div>
|
|
1354
1396
|
</div>
|
|
1355
1397
|
<div className="text-center">
|
|
1356
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg
|
|
1357
|
-
<ThreadsIcon className="h-8 w-8
|
|
1398
|
+
<div className="bg-fm-surface-tertiary !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg">
|
|
1399
|
+
<ThreadsIcon className="text-fm-icon-active h-8 w-8" />
|
|
1358
1400
|
</div>
|
|
1359
|
-
<div className="text-sm font-medium
|
|
1360
|
-
|
|
1401
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1402
|
+
Neutral Gray
|
|
1403
|
+
</div>
|
|
1404
|
+
<div className="text-fm-tertiary text-xs">Subtle integration</div>
|
|
1361
1405
|
</div>
|
|
1362
1406
|
<div className="text-center">
|
|
1363
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg
|
|
1364
|
-
<ThreadsIcon className="h-8 w-8
|
|
1407
|
+
<div className="bg-fm-icon-info !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg">
|
|
1408
|
+
<ThreadsIcon className="text-fm-icon-active h-8 w-8" />
|
|
1409
|
+
</div>
|
|
1410
|
+
<div className="text-fm-icon-active text-sm font-medium">
|
|
1411
|
+
Accent Color
|
|
1365
1412
|
</div>
|
|
1366
|
-
<div className="text-
|
|
1367
|
-
<div className="text-xs text-white/60">Themed integration</div>
|
|
1413
|
+
<div className="text-fm-tertiary text-xs">Themed integration</div>
|
|
1368
1414
|
</div>
|
|
1369
1415
|
</div>
|
|
1370
1416
|
),
|
|
@@ -1381,19 +1427,23 @@ export const UsageExamples: Story = {
|
|
|
1381
1427
|
},
|
|
1382
1428
|
},
|
|
1383
1429
|
render: () => (
|
|
1384
|
-
<div className="min-h-dvh !space-y-8 rounded-lg bg-
|
|
1430
|
+
<div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
|
|
1385
1431
|
{/* Share Button */}
|
|
1386
1432
|
<div className="!space-y-2">
|
|
1387
|
-
<h3 className="text-sm font-medium
|
|
1388
|
-
|
|
1433
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1434
|
+
Social Share Button
|
|
1435
|
+
</h3>
|
|
1436
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
1389
1437
|
<div className="flex gap-3">
|
|
1390
|
-
<button className="flex items-center gap-2 rounded-lg border
|
|
1391
|
-
<ThreadsIcon className="h-4 w-4
|
|
1392
|
-
<span className="text-
|
|
1438
|
+
<button className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
|
|
1439
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
1440
|
+
<span className="text-fm-icon-active text-sm">
|
|
1441
|
+
Share on Threads
|
|
1442
|
+
</span>
|
|
1393
1443
|
</button>
|
|
1394
|
-
<button className="flex items-center gap-2 rounded-lg border
|
|
1395
|
-
<span className="text-
|
|
1396
|
-
<span className="text-
|
|
1444
|
+
<button className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary flex items-center gap-2 rounded-lg border px-4 py-2 transition-colors">
|
|
1445
|
+
<span className="text-fm-icon-active text-sm">𝕏</span>
|
|
1446
|
+
<span className="text-fm-icon-active text-sm">Share on X</span>
|
|
1397
1447
|
</button>
|
|
1398
1448
|
</div>
|
|
1399
1449
|
</div>
|
|
@@ -1401,32 +1451,32 @@ export const UsageExamples: Story = {
|
|
|
1401
1451
|
|
|
1402
1452
|
{/* Discussion Widget */}
|
|
1403
1453
|
<div className="!space-y-2">
|
|
1404
|
-
<h3 className="text-sm font-medium
|
|
1454
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1405
1455
|
Discussion Thread Widget
|
|
1406
1456
|
</h3>
|
|
1407
|
-
<div className="rounded-lg border
|
|
1457
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
1408
1458
|
<div className="mb-3 flex items-center justify-between">
|
|
1409
1459
|
<div className="flex items-center gap-2">
|
|
1410
|
-
<ThreadsIcon className="h-4 w-4
|
|
1411
|
-
<span className="text-sm font-medium
|
|
1460
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
1461
|
+
<span className="text-fm-icon-active text-sm font-medium">
|
|
1412
1462
|
Latest Discussion
|
|
1413
1463
|
</span>
|
|
1414
1464
|
</div>
|
|
1415
1465
|
<a
|
|
1416
1466
|
href="#"
|
|
1417
|
-
className="text-
|
|
1467
|
+
className="text-fm-tertiary hover:text-fm-icon-active text-xs transition-colors"
|
|
1418
1468
|
>
|
|
1419
1469
|
View Thread
|
|
1420
1470
|
</a>
|
|
1421
1471
|
</div>
|
|
1422
1472
|
<div className="space-y-2">
|
|
1423
1473
|
<div className="flex gap-2">
|
|
1424
|
-
<div className="flex h-6 w-6 items-center justify-center rounded-full
|
|
1474
|
+
<div className="bg-fm-surface-secondary flex h-6 w-6 items-center justify-center rounded-full">
|
|
1425
1475
|
<span className="text-xs">👤</span>
|
|
1426
1476
|
</div>
|
|
1427
1477
|
<div className="flex-1">
|
|
1428
|
-
<div className="text-
|
|
1429
|
-
<div className="text-
|
|
1478
|
+
<div className="text-fm-tertiary text-xs">Alex Chen • 2h</div>
|
|
1479
|
+
<div className="text-fm-icon-active/80 text-sm">
|
|
1430
1480
|
Really excited about the new updates! 🎨
|
|
1431
1481
|
</div>
|
|
1432
1482
|
</div>
|
|
@@ -1437,30 +1487,32 @@ export const UsageExamples: Story = {
|
|
|
1437
1487
|
|
|
1438
1488
|
{/* Social Links */}
|
|
1439
1489
|
<div className="!space-y-2">
|
|
1440
|
-
<h3 className="text-sm font-medium
|
|
1441
|
-
|
|
1490
|
+
<h3 className="text-fm-icon-active text-sm font-medium">
|
|
1491
|
+
Social Media Links
|
|
1492
|
+
</h3>
|
|
1493
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
|
|
1442
1494
|
<div className="flex items-center gap-3">
|
|
1443
|
-
<span className="text-
|
|
1495
|
+
<span className="text-fm-tertiary text-sm">
|
|
1444
1496
|
Follow the conversation:
|
|
1445
1497
|
</span>
|
|
1446
1498
|
<div className="flex gap-2">
|
|
1447
1499
|
<a
|
|
1448
1500
|
href="#"
|
|
1449
|
-
className="
|
|
1501
|
+
className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary rounded border p-2 transition-colors"
|
|
1450
1502
|
>
|
|
1451
|
-
<ThreadsIcon className="h-4 w-4
|
|
1503
|
+
<ThreadsIcon className="text-fm-icon-active h-4 w-4" />
|
|
1452
1504
|
</a>
|
|
1453
1505
|
<a
|
|
1454
1506
|
href="#"
|
|
1455
|
-
className="
|
|
1507
|
+
className="border-fm-divider-contrast bg-fm-surface-primary hover:bg-fm-surface-secondary rounded border p-2 transition-colors"
|
|
1456
1508
|
>
|
|
1457
|
-
<span className="text-
|
|
1509
|
+
<span className="text-fm-icon-active text-sm">𝕏</span>
|
|
1458
1510
|
</a>
|
|
1459
1511
|
<a
|
|
1460
1512
|
href="#"
|
|
1461
|
-
className="
|
|
1513
|
+
className="bg-fm-icon-info hover:bg-fm-icon-info rounded p-2 transition-colors"
|
|
1462
1514
|
>
|
|
1463
|
-
<span className="text-
|
|
1515
|
+
<span className="text-fm-icon-active text-sm">📘</span>
|
|
1464
1516
|
</a>
|
|
1465
1517
|
</div>
|
|
1466
1518
|
</div>
|
|
@@ -1483,11 +1535,11 @@ export const Playground: Story = {
|
|
|
1483
1535
|
args: {
|
|
1484
1536
|
width: 24,
|
|
1485
1537
|
height: 24,
|
|
1486
|
-
className: "text-
|
|
1538
|
+
className: "text-fm-icon-active",
|
|
1487
1539
|
},
|
|
1488
1540
|
render: (args) => (
|
|
1489
|
-
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-
|
|
1490
|
-
<div className="rounded-lg border
|
|
1541
|
+
<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">
|
|
1542
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
|
|
1491
1543
|
<ThreadsIcon {...args} />
|
|
1492
1544
|
</div>
|
|
1493
1545
|
</div>
|