@designa8/vibedesign-v6 2.2.5 → 2.2.6

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @plasma/vibedesign-v6
2
2
 
3
- Complete design system generated by Atoms Design, version **2.2.5**.
3
+ Complete design system generated by Atoms Design, version **2.2.6**.
4
4
  Tokens, atoms, molecules, organisms, and templates — import from the package root;
5
5
  never hardcode visual values in consumer code.
6
6
 
package/dist/index.cjs CHANGED
@@ -10711,11 +10711,12 @@ var DEFAULT_LINKS = [
10711
10711
  var DEFAULT_SECONDARY = { label: "Log in" };
10712
10712
  var DEFAULT_PRIMARY = { label: "Start free" };
10713
10713
  var linkFocus = "cursor-pointer transition duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue";
10714
- var itemClass = `flex w-full items-center gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`;
10714
+ var itemClass = `flex w-full items-center justify-start gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:bg-surface-strong ${linkFocus}`;
10715
10715
  var MarketingNavbar = import_react35.default.forwardRef(
10716
10716
  ({
10717
10717
  brandName = "Atoms Design",
10718
10718
  logoSrc,
10719
+ showLogo = true,
10719
10720
  brandHref = "/",
10720
10721
  links = DEFAULT_LINKS,
10721
10722
  secondaryAction: secondaryAction2 = DEFAULT_SECONDARY,
@@ -10792,13 +10793,13 @@ var MarketingNavbar = import_react35.default.forwardRef(
10792
10793
  window.location.assign(a.href);
10793
10794
  }
10794
10795
  };
10795
- const renderAction = (a, variant2, full = false) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10796
+ const renderAction = (a, actionVariant, full = false) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10796
10797
  Button,
10797
10798
  {
10798
- variant: variant2,
10799
+ variant: actionVariant,
10799
10800
  size: "md",
10800
10801
  onClick: () => runAction(a),
10801
- className: `shrink-0 whitespace-nowrap !rounded-full ${full ? "w-full" : ""} ${floating && variant2 === "ghost" ? "!text-ink" : ""}`,
10802
+ className: `shrink-0 whitespace-nowrap !rounded-full ${full ? "w-full" : ""} ${floating && actionVariant === "ghost" ? "!text-ink" : ""}`,
10802
10803
  children: a.label
10803
10804
  }
10804
10805
  );
@@ -10826,26 +10827,32 @@ var MarketingNavbar = import_react35.default.forwardRef(
10826
10827
  };
10827
10828
  const accountRows = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex flex-col gap-xxs", children: [
10828
10829
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10829
- "button",
10830
+ Button,
10830
10831
  {
10831
10832
  type: "button",
10833
+ variant: "bare",
10834
+ size: "auto",
10835
+ pushEffect: false,
10832
10836
  onClick: () => pickAccountAction(account?.onSettings),
10833
10837
  className: itemClass,
10834
10838
  children: [
10835
10839
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "settings-gear", className: "size-4 shrink-0 text-muted" }),
10836
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex-1 truncate", children: settingsLabel })
10840
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex-1 truncate font-weight-body-sm", children: settingsLabel })
10837
10841
  ]
10838
10842
  }
10839
10843
  ),
10840
10844
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10841
- "button",
10845
+ Button,
10842
10846
  {
10843
10847
  type: "button",
10848
+ variant: "bare",
10849
+ size: "auto",
10850
+ pushEffect: false,
10844
10851
  onClick: () => pickAccountAction(account?.onLogout),
10845
10852
  className: itemClass,
10846
10853
  children: [
10847
10854
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "logout-sign-out", className: "size-4 shrink-0 text-muted" }),
10848
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex-1 truncate", children: logoutLabel })
10855
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex-1 truncate font-weight-body-sm", children: logoutLabel })
10849
10856
  ]
10850
10857
  }
10851
10858
  )
@@ -10891,7 +10898,14 @@ var MarketingNavbar = import_react35.default.forwardRef(
10891
10898
  href: brandHref,
10892
10899
  className: `flex shrink-0 items-center gap-sm rounded-sm text-ink no-underline active:scale-[0.98] ${linkFocus}`,
10893
10900
  children: [
10894
- logoSrc ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("img", { src: logoSrc, alt: "", className: "h-8 w-8 rounded-sm object-cover" }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "atom", size: 18 }) }),
10901
+ showLogo && (logoSrc ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10902
+ "img",
10903
+ {
10904
+ src: logoSrc,
10905
+ alt: "",
10906
+ className: "h-8 w-8 rounded-sm object-cover"
10907
+ }
10908
+ ) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { name: "atom", size: 18 }) })),
10895
10909
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10896
10910
  "span",
10897
10911
  {
@@ -10923,10 +10937,12 @@ var MarketingNavbar = import_react35.default.forwardRef(
10923
10937
  secondaryAction2 && renderAction(secondaryAction2, "ghost"),
10924
10938
  primaryAction2 && renderAction(primaryAction2, "primary"),
10925
10939
  account && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10926
- "button",
10940
+ Button,
10927
10941
  {
10928
10942
  ref: accountBtnRef,
10929
10943
  type: "button",
10944
+ variant: "bare",
10945
+ size: "auto",
10930
10946
  "aria-expanded": accountOpen,
10931
10947
  "aria-controls": accountPanelId,
10932
10948
  "aria-label": `Account: ${account.email}`,
@@ -10934,10 +10950,10 @@ var MarketingNavbar = import_react35.default.forwardRef(
10934
10950
  setOpen(false);
10935
10951
  setAccountOpen((v) => !v);
10936
10952
  },
10937
- className: `flex items-center gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`,
10953
+ className: `flex items-center justify-start gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`,
10938
10954
  children: [
10939
10955
  avatar(),
10940
- showAccountEmail && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body xl:block", children: account.email }),
10956
+ showAccountEmail && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body font-weight-body-sm xl:block", children: account.email }),
10941
10957
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10942
10958
  Icon,
10943
10959
  {
@@ -10950,9 +10966,11 @@ var MarketingNavbar = import_react35.default.forwardRef(
10950
10966
  )
10951
10967
  ] }),
10952
10968
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10953
- "button",
10969
+ Button,
10954
10970
  {
10955
10971
  type: "button",
10972
+ variant: "bare",
10973
+ size: "auto",
10956
10974
  className: `flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-ink hover:bg-surface-soft active:scale-[0.98] md:hidden ${linkFocus}`,
10957
10975
  "aria-label": open ? "Close menu" : "Open menu",
10958
10976
  "aria-expanded": open,
package/dist/index.js CHANGED
@@ -10617,11 +10617,12 @@ var DEFAULT_LINKS = [
10617
10617
  var DEFAULT_SECONDARY = { label: "Log in" };
10618
10618
  var DEFAULT_PRIMARY = { label: "Start free" };
10619
10619
  var linkFocus = "cursor-pointer transition duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue";
10620
- var itemClass = `flex w-full items-center gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`;
10620
+ var itemClass = `flex w-full items-center justify-start gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:bg-surface-strong ${linkFocus}`;
10621
10621
  var MarketingNavbar = React41.forwardRef(
10622
10622
  ({
10623
10623
  brandName = "Atoms Design",
10624
10624
  logoSrc,
10625
+ showLogo = true,
10625
10626
  brandHref = "/",
10626
10627
  links = DEFAULT_LINKS,
10627
10628
  secondaryAction: secondaryAction2 = DEFAULT_SECONDARY,
@@ -10698,13 +10699,13 @@ var MarketingNavbar = React41.forwardRef(
10698
10699
  window.location.assign(a.href);
10699
10700
  }
10700
10701
  };
10701
- const renderAction = (a, variant2, full = false) => /* @__PURE__ */ jsx41(
10702
+ const renderAction = (a, actionVariant, full = false) => /* @__PURE__ */ jsx41(
10702
10703
  Button,
10703
10704
  {
10704
- variant: variant2,
10705
+ variant: actionVariant,
10705
10706
  size: "md",
10706
10707
  onClick: () => runAction(a),
10707
- className: `shrink-0 whitespace-nowrap !rounded-full ${full ? "w-full" : ""} ${floating && variant2 === "ghost" ? "!text-ink" : ""}`,
10708
+ className: `shrink-0 whitespace-nowrap !rounded-full ${full ? "w-full" : ""} ${floating && actionVariant === "ghost" ? "!text-ink" : ""}`,
10708
10709
  children: a.label
10709
10710
  }
10710
10711
  );
@@ -10732,26 +10733,32 @@ var MarketingNavbar = React41.forwardRef(
10732
10733
  };
10733
10734
  const accountRows = /* @__PURE__ */ jsxs39("div", { className: "flex flex-col gap-xxs", children: [
10734
10735
  /* @__PURE__ */ jsxs39(
10735
- "button",
10736
+ Button,
10736
10737
  {
10737
10738
  type: "button",
10739
+ variant: "bare",
10740
+ size: "auto",
10741
+ pushEffect: false,
10738
10742
  onClick: () => pickAccountAction(account?.onSettings),
10739
10743
  className: itemClass,
10740
10744
  children: [
10741
10745
  /* @__PURE__ */ jsx41(Icon, { name: "settings-gear", className: "size-4 shrink-0 text-muted" }),
10742
- /* @__PURE__ */ jsx41("span", { className: "flex-1 truncate", children: settingsLabel })
10746
+ /* @__PURE__ */ jsx41("span", { className: "flex-1 truncate font-weight-body-sm", children: settingsLabel })
10743
10747
  ]
10744
10748
  }
10745
10749
  ),
10746
10750
  /* @__PURE__ */ jsxs39(
10747
- "button",
10751
+ Button,
10748
10752
  {
10749
10753
  type: "button",
10754
+ variant: "bare",
10755
+ size: "auto",
10756
+ pushEffect: false,
10750
10757
  onClick: () => pickAccountAction(account?.onLogout),
10751
10758
  className: itemClass,
10752
10759
  children: [
10753
10760
  /* @__PURE__ */ jsx41(Icon, { name: "logout-sign-out", className: "size-4 shrink-0 text-muted" }),
10754
- /* @__PURE__ */ jsx41("span", { className: "flex-1 truncate", children: logoutLabel })
10761
+ /* @__PURE__ */ jsx41("span", { className: "flex-1 truncate font-weight-body-sm", children: logoutLabel })
10755
10762
  ]
10756
10763
  }
10757
10764
  )
@@ -10797,7 +10804,14 @@ var MarketingNavbar = React41.forwardRef(
10797
10804
  href: brandHref,
10798
10805
  className: `flex shrink-0 items-center gap-sm rounded-sm text-ink no-underline active:scale-[0.98] ${linkFocus}`,
10799
10806
  children: [
10800
- logoSrc ? /* @__PURE__ */ jsx41("img", { src: logoSrc, alt: "", className: "h-8 w-8 rounded-sm object-cover" }) : /* @__PURE__ */ jsx41("span", { className: "flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary", children: /* @__PURE__ */ jsx41(Icon, { name: "atom", size: 18 }) }),
10807
+ showLogo && (logoSrc ? /* @__PURE__ */ jsx41(
10808
+ "img",
10809
+ {
10810
+ src: logoSrc,
10811
+ alt: "",
10812
+ className: "h-8 w-8 rounded-sm object-cover"
10813
+ }
10814
+ ) : /* @__PURE__ */ jsx41("span", { className: "flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary", children: /* @__PURE__ */ jsx41(Icon, { name: "atom", size: 18 }) })),
10801
10815
  /* @__PURE__ */ jsx41(
10802
10816
  "span",
10803
10817
  {
@@ -10829,10 +10843,12 @@ var MarketingNavbar = React41.forwardRef(
10829
10843
  secondaryAction2 && renderAction(secondaryAction2, "ghost"),
10830
10844
  primaryAction2 && renderAction(primaryAction2, "primary"),
10831
10845
  account && /* @__PURE__ */ jsxs39(
10832
- "button",
10846
+ Button,
10833
10847
  {
10834
10848
  ref: accountBtnRef,
10835
10849
  type: "button",
10850
+ variant: "bare",
10851
+ size: "auto",
10836
10852
  "aria-expanded": accountOpen,
10837
10853
  "aria-controls": accountPanelId,
10838
10854
  "aria-label": `Account: ${account.email}`,
@@ -10840,10 +10856,10 @@ var MarketingNavbar = React41.forwardRef(
10840
10856
  setOpen(false);
10841
10857
  setAccountOpen((v) => !v);
10842
10858
  },
10843
- className: `flex items-center gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`,
10859
+ className: `flex items-center justify-start gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`,
10844
10860
  children: [
10845
10861
  avatar(),
10846
- showAccountEmail && /* @__PURE__ */ jsx41("span", { className: "hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body xl:block", children: account.email }),
10862
+ showAccountEmail && /* @__PURE__ */ jsx41("span", { className: "hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body font-weight-body-sm xl:block", children: account.email }),
10847
10863
  /* @__PURE__ */ jsx41(
10848
10864
  Icon,
10849
10865
  {
@@ -10856,9 +10872,11 @@ var MarketingNavbar = React41.forwardRef(
10856
10872
  )
10857
10873
  ] }),
10858
10874
  /* @__PURE__ */ jsx41(
10859
- "button",
10875
+ Button,
10860
10876
  {
10861
10877
  type: "button",
10878
+ variant: "bare",
10879
+ size: "auto",
10862
10880
  className: `flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-ink hover:bg-surface-soft active:scale-[0.98] md:hidden ${linkFocus}`,
10863
10881
  "aria-label": open ? "Close menu" : "Open menu",
10864
10882
  "aria-expanded": open,
package/dist/styles.css CHANGED
@@ -1,18 +1,4 @@
1
- /* Bundled local fonts */
2
- @font-face {
3
- font-family: "Plus Jakarta Sans";
4
- font-style: italic;
5
- font-weight: 100 900;
6
- font-display: swap;
7
- src: url("./fonts/plusjakartasans/PlusJakartaSans-Italic%5Bwght%5D.ttf") format("truetype");
8
- }
9
- @font-face {
10
- font-family: "Plus Jakarta Sans";
11
- font-style: normal;
12
- font-weight: 100 900;
13
- font-display: swap;
14
- src: url("./fonts/plusjakartasans/PlusJakartaSans%5Bwght%5D.ttf") format("truetype");
15
- }
1
+ @import url("https://fonts.googleapis.com/css2?family=Plus%20Jakarta%20Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
16
2
 
17
3
  /*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
18
4
  @layer properties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-v6",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "Complete design system \"Plasma Design System\" generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -32,6 +32,11 @@ export interface MarketingNavbarProps
32
32
  brandName?: string;
33
33
  /** Optional logo image. When omitted a gradient atom mark is rendered. */
34
34
  logoSrc?: string;
35
+ /**
36
+ * When false the brand mark is omitted entirely — no logo image, no gradient
37
+ * atom mark, and no empty logo box. Only the brand name text is rendered.
38
+ */
39
+ showLogo?: boolean;
35
40
  brandHref?: string;
36
41
  links?: MarketingNavLink[];
37
42
  /** Secondary auth action (e.g. "Log in"). Hidden when null. */
@@ -78,13 +83,14 @@ const DEFAULT_PRIMARY: MarketingNavAction = { label: "Start free" };
78
83
  const linkFocus =
79
84
  "cursor-pointer transition duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue";
80
85
 
81
- const itemClass = `flex w-full items-center gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`;
86
+ const itemClass = `flex w-full items-center justify-start gap-sm rounded-sm px-sm py-sm text-left text-body-sm text-ink transition duration-150 ease-out hover:bg-surface-soft active:bg-surface-strong ${linkFocus}`;
82
87
 
83
88
  export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProps>(
84
89
  (
85
90
  {
86
91
  brandName = "Atoms Design",
87
92
  logoSrc,
93
+ showLogo = true,
88
94
  brandHref = "/",
89
95
  links = DEFAULT_LINKS,
90
96
  secondaryAction = DEFAULT_SECONDARY,
@@ -176,15 +182,15 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
176
182
 
177
183
  const renderAction = (
178
184
  a: MarketingNavAction,
179
- variant: "primary" | "ghost",
185
+ actionVariant: "primary" | "ghost",
180
186
  full = false,
181
187
  ) => (
182
188
  <Button
183
- variant={variant}
189
+ variant={actionVariant}
184
190
  size="md"
185
191
  onClick={() => runAction(a)}
186
192
  className={`shrink-0 whitespace-nowrap !rounded-full ${full ? "w-full" : ""} ${
187
- floating && variant === "ghost" ? "!text-ink" : ""
193
+ floating && actionVariant === "ghost" ? "!text-ink" : ""
188
194
  }`}
189
195
  >
190
196
  {a.label}
@@ -219,22 +225,28 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
219
225
 
220
226
  const accountRows = (
221
227
  <div className="flex flex-col gap-xxs">
222
- <button
228
+ <Button
223
229
  type="button"
230
+ variant="bare"
231
+ size="auto"
232
+ pushEffect={false}
224
233
  onClick={() => pickAccountAction(account?.onSettings)}
225
234
  className={itemClass}
226
235
  >
227
236
  <Icon name="settings-gear" className="size-4 shrink-0 text-muted" />
228
- <span className="flex-1 truncate">{settingsLabel}</span>
229
- </button>
230
- <button
237
+ <span className="flex-1 truncate font-weight-body-sm">{settingsLabel}</span>
238
+ </Button>
239
+ <Button
231
240
  type="button"
241
+ variant="bare"
242
+ size="auto"
243
+ pushEffect={false}
232
244
  onClick={() => pickAccountAction(account?.onLogout)}
233
245
  className={itemClass}
234
246
  >
235
247
  <Icon name="logout-sign-out" className="size-4 shrink-0 text-muted" />
236
- <span className="flex-1 truncate">{logoutLabel}</span>
237
- </button>
248
+ <span className="flex-1 truncate font-weight-body-sm">{logoutLabel}</span>
249
+ </Button>
238
250
  </div>
239
251
  );
240
252
 
@@ -285,13 +297,18 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
285
297
  href={brandHref}
286
298
  className={`flex shrink-0 items-center gap-sm rounded-sm text-ink no-underline active:scale-[0.98] ${linkFocus}`}
287
299
  >
288
- {logoSrc ? (
289
- <img src={logoSrc} alt="" className="h-8 w-8 rounded-sm object-cover" />
290
- ) : (
291
- <span className="flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary">
292
- <Icon name="atom" size={18} />
293
- </span>
294
- )}
300
+ {showLogo &&
301
+ (logoSrc ? (
302
+ <img
303
+ src={logoSrc}
304
+ alt=""
305
+ className="h-8 w-8 rounded-sm object-cover"
306
+ />
307
+ ) : (
308
+ <span className="flex h-8 w-8 items-center justify-center rounded-sm bg-linear-to-br from-logo-violet via-logo-pink to-logo-orange text-on-primary">
309
+ <Icon name="atom" size={18} />
310
+ </span>
311
+ ))}
295
312
  <span
296
313
  className={`whitespace-nowrap text-body-md text-ink ${floating ? "font-weight-body-md" : ""}`}
297
314
  >
@@ -321,9 +338,11 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
321
338
  {secondaryAction && renderAction(secondaryAction, "ghost")}
322
339
  {primaryAction && renderAction(primaryAction, "primary")}
323
340
  {account && (
324
- <button
341
+ <Button
325
342
  ref={accountBtnRef}
326
343
  type="button"
344
+ variant="bare"
345
+ size="auto"
327
346
  aria-expanded={accountOpen}
328
347
  aria-controls={accountPanelId}
329
348
  aria-label={`Account: ${account.email}`}
@@ -331,11 +350,11 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
331
350
  setOpen(false);
332
351
  setAccountOpen((v) => !v);
333
352
  }}
334
- className={`flex items-center gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`}
353
+ className={`flex items-center justify-start gap-xs rounded-full border border-hairline-soft bg-surface/60 py-xxs pl-xxs pr-xs text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] ${linkFocus}`}
335
354
  >
336
355
  {avatar()}
337
356
  {showAccountEmail && (
338
- <span className="hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body xl:block">
357
+ <span className="hidden min-w-0 max-w-56 truncate whitespace-nowrap text-caption text-body font-weight-body-sm xl:block">
339
358
  {account.email}
340
359
  </span>
341
360
  )}
@@ -345,12 +364,14 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
345
364
  accountOpen ? "rotate-180" : "rotate-0"
346
365
  }`}
347
366
  />
348
- </button>
367
+ </Button>
349
368
  )}
350
369
  </div>
351
370
 
352
- <button
371
+ <Button
353
372
  type="button"
373
+ variant="bare"
374
+ size="auto"
354
375
  className={`flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-ink hover:bg-surface-soft active:scale-[0.98] md:hidden ${linkFocus}`}
355
376
  aria-label={open ? "Close menu" : "Open menu"}
356
377
  aria-expanded={open}
@@ -361,7 +382,7 @@ export const MarketingNavbar = React.forwardRef<HTMLElement, MarketingNavbarProp
361
382
  }}
362
383
  >
363
384
  <Icon name={open ? "close" : "hamburger-menu"} size={20} />
364
- </button>
385
+ </Button>
365
386
  </div>
366
387
 
367
388
  <div
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { Button } from "../Button";
2
3
  import { MarketingNavbar } from "./MarketingNavbar";
3
4
 
4
5
  export default function Preview() {
@@ -58,13 +59,15 @@ export default function Preview() {
58
59
  <p className="text-caption text-muted">
59
60
  Signed in — avatar button with the email, plus settings and log out
60
61
  </p>
61
- <button
62
+ <Button
62
63
  type="button"
64
+ variant="bare"
65
+ size="auto"
63
66
  onClick={() => setSignedIn((v) => !v)}
64
- className="cursor-pointer rounded-full border border-hairline px-sm py-xs text-caption text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue"
67
+ className="rounded-full border border-hairline px-sm py-xs text-caption text-ink transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue"
65
68
  >
66
69
  {signedIn ? "Sign out" : "Sign in"}
67
- </button>
70
+ </Button>
68
71
  </div>
69
72
 
70
73
  <div className="rounded-lg border border-hairline">
@@ -93,17 +96,38 @@ export default function Preview() {
93
96
  {account.email}
94
97
  </p>
95
98
  </div>
96
- <button
99
+ <Button
97
100
  type="button"
101
+ variant="bare"
102
+ size="auto"
98
103
  onClick={() => setSettingsOpen(false)}
99
- className="cursor-pointer rounded-full px-sm py-xs text-caption text-muted transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue"
104
+ className="rounded-full px-sm py-xs text-caption text-muted transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue"
100
105
  >
101
106
  Close
102
- </button>
107
+ </Button>
103
108
  </div>
104
109
  </div>
105
110
  )}
106
111
  </section>
112
+
113
+ <section className="space-y-sm">
114
+ <p className="text-caption text-muted">
115
+ Wordmark only — showLogo=false drops the mark entirely, no empty box
116
+ </p>
117
+ <div className="overflow-hidden rounded-lg border border-hairline">
118
+ <MarketingNavbar
119
+ sticky={false}
120
+ showLogo={false}
121
+ account={null}
122
+ links={[
123
+ { label: "Product", href: "#product" },
124
+ { label: "Changelog", href: "#changelog" },
125
+ { label: "Pricing", href: "/pricing" },
126
+ ]}
127
+ onLinkClick={(_, e) => e.preventDefault()}
128
+ />
129
+ </div>
130
+ </section>
107
131
  </div>
108
132
  );
109
133
  }