@the-portland-company/shell 0.76.7 → 0.76.9

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/chrome.css CHANGED
@@ -56,7 +56,7 @@
56
56
  names (--font-sans, --font-mono, --font-plex-mono), none of which this
57
57
  stylesheet emitted, so every one of those surfaces silently fell back to
58
58
  a hardcoded stack instead of a token the shell actually controls. */
59
- --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
59
+ --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
60
60
  --type-h1-size: 2.25rem;
61
61
  --type-h1-weight: 700;
62
62
  --type-h1-line-height: 1.25;
@@ -312,9 +312,18 @@
312
312
  border leaking out of the rail's palette. Content borders are the
313
313
  neutral Brand G3 ramp step instead. */
314
314
  --color-border: var(--color-g3);
315
- --color-text: var(--foreground);
316
- --color-text-muted: var(--muted);
317
- --color-muted: var(--muted);
315
+ /* --color-text / --color-text-muted used to alias --foreground / --muted —
316
+ the topbar-scoped pair tuned for contrast on the topbar surface
317
+ (--muted is #5C6B80, picked for WCAG AA on the light rail, see above).
318
+ Page CONTENT (table cells, buttons, body copy) wants the Brand neutral
319
+ ramp instead: graphite for text, G4 for muted text/borders — a
320
+ style_diff against design (Surveys, 2026-10-09) measured live muted
321
+ text/borders at #5C6B80 (rgb(88,101,122)) against a design value of
322
+ #929599 (--color-g4, rgb(146,149,153)), the same mis-aliasing this
323
+ comment block already fixed once for --color-border/--color-panel. */
324
+ --color-text: var(--color-graphite);
325
+ --color-text-muted: var(--color-g4);
326
+ --color-muted: var(--color-g4);
318
327
  /* The chrome's SEMANTIC accent. Chrome furniture resolves this (or the
319
328
  per-Mode override layered over it — see --mode-accent below), never
320
329
  --color-race-red directly: that is the PARTY identity colour the
@@ -1,6 +1,7 @@
1
1
  import { warnDeprecated, SpeculationRulesScript } from './chunk-MY6G3LMN.js';
2
2
  import { readThemeCookie, THEME_STORAGE_KEY, isThemePreference, applyThemePreference, readPendingThemeChoice, writeThemeCookie, clearPendingThemeChoice, markThemeChoicePending } from './chunk-BHRVZPZ7.js';
3
3
  import { readRailPreference, writeRailPreference } from './chunk-7YVJ7HQG.js';
4
+ import { orgIdTail } from './chunk-BWV52AT6.js';
4
5
  import { createContext, useRef, useState, useEffect, useContext, useCallback, useMemo, Fragment as Fragment$1, useSyncExternalStore } from 'react';
5
6
  import clsx from 'clsx';
6
7
  import { FiUser, FiSettings, FiMessageSquare, FiMail, FiInfo, FiSun, FiMoon, FiHelpCircle, FiLifeBuoy, FiAlertCircle, FiAlertTriangle, FiBell, FiGrid, FiZap, FiBatteryCharging, FiBattery } from 'react-icons/fi';
@@ -2209,6 +2210,11 @@ function useRailCollapse() {
2209
2210
  const collapsible = useContext(RailCollapsibleContext);
2210
2211
  return (cls) => collapsible ? cls : "";
2211
2212
  }
2213
+ function orgPillLabel(org) {
2214
+ if (org.name) return org.name;
2215
+ if (org.id) return orgIdTail(org.id) ?? "Organization";
2216
+ return "No organizations";
2217
+ }
2212
2218
  function OrgIconMark({ org, logoSrc }) {
2213
2219
  const rc = useRailCollapse();
2214
2220
  const src = resolveOrgLogoUrl(org.iconUrl) ?? logoSrc;
@@ -2450,7 +2456,7 @@ function NavSidebar({
2450
2456
  {
2451
2457
  title: org.name ?? void 0,
2452
2458
  className: "truncate text-[12px] font-semibold leading-[1.2]",
2453
- children: org.name ?? "No organizations"
2459
+ children: orgPillLabel(org)
2454
2460
  }
2455
2461
  ),
2456
2462
  org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
@@ -2552,7 +2558,7 @@ function NavSidebar({
2552
2558
  {
2553
2559
  title: org.name ?? void 0,
2554
2560
  className: "truncate text-[12px] font-semibold leading-[1.2]",
2555
- children: org.name ?? "No organizations"
2561
+ children: orgPillLabel(org)
2556
2562
  }
2557
2563
  ),
2558
2564
  org.id && !org.loading ? /* @__PURE__ */ jsx(OrgIdCopyButton, { id: org.id }) : null
@@ -3706,5 +3712,5 @@ function NavAppShell({
3706
3712
  }
3707
3713
 
3708
3714
  export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference };
3709
- //# sourceMappingURL=chunk-LIBRFEDD.js.map
3710
- //# sourceMappingURL=chunk-LIBRFEDD.js.map
3715
+ //# sourceMappingURL=chunk-RBJGWQJX.js.map
3716
+ //# sourceMappingURL=chunk-RBJGWQJX.js.map