Open-source SEO, GEO, and marketing skills for AI agents.
feat(notfair-cmo): Codex-style theme with light/dark mode switching
Yuting Zhong11d8447737c7
diff --git a/notfair-cmo/DESIGN.md b/notfair-cmo/DESIGN.mdindex b51fde75..0a9f040c 100644--- a/notfair-cmo/DESIGN.md+++ b/notfair-cmo/DESIGN.md@@ -1,204 +1,188 @@# notfair-cmo Design System-**Direction.** Apple-flavored product UI anchored on the Notfair brand green. Cool neutrals, generous whitespace, layered hairlines, restrained shadows. No warm cream, no editorial flourishes, no paper grain. The accent green from the Notfair logo (`#4CAF6E`) carries the brand; everything else stays out of its way.+**Direction.** Codex-flavored product UI: monochrome chrome, dark-first with a full light mode, depth from **elevation** (surface steps + soft shadows) instead of border lines, monospace for machine-flavored metadata. Color is reserved for **semantics** — green means live/connected, amber means attention, red means error. Primary actions are inverted monochrome (white-on-dark / black-on-light), the OpenAI/Codex signature.-If a design choice would feel at home in macOS System Settings, iOS Settings, or apple.com — it belongs. If it would feel at home in a magazine, a brutalist landing page, a hacker terminal, or a warm letterpress site — it doesn't.+If a design choice would feel at home in the OpenAI Codex app or ChatGPT's product chrome — it belongs. If it would feel at home in a magazine, a brutalist landing page, or macOS System Settings — it doesn't.---## Brand-The mark lives at `notfair-cmo/public/notfair-mark-light.svg` (mirrored from the marketing site). It is the only acceptable brand artifact in product chrome — no monogram alternates, no "C" mark for "CMO," no lockup variations.+The mark lives at `notfair-cmo/public/notfair-mark.svg` (green "!" + ink "F") with a dark-mode variant at `public/notfair-mark-dark.svg` (the F flips to light ink). Swap them with `dark:hidden` / `hidden dark:block` — never render the light mark on a dark surface.-The green `#4CAF6E` lifted from the mark is `--accent`. Use it sparingly but distinctly: the brand mark itself, the primary CTA fill, the active progress step, "connected" status, sub-action text links, footnote anchors. **Never** use it for body text, generic info, or anything that competes with content.+The green `#4CAF6E` lifted from the mark is `--notfair-accent`. It is **status-only**: connected dots, live indicators, "ok" run outcomes, completed wizard pips, the recommended chip. It is never a CTA fill, never a link color, never chrome.---## Color-### Surfaces+All tokens live in `src/app/globals.css` as HSL triples on `:root` (light) and `.dark`. Never hardcode hex/Tailwind palette colors in components — reach for `--notfair-*` or the mapped shadcn tokens.-| Token | Hex | HSL | Use |-|---|---|---|---|-| `--bg` | `#F5F5F7` | `240 8% 96%` | Page background |-| `--surface` | `#FFFFFF` | `0 0% 100%` | Cards, list groups |-| `--surface-2` | `#EFEFF1` | `240 6% 94%` | Inset surfaces, hover states, app-icon glyph backgrounds |+### Dark (native mode)-### Ink--| Token | Hex | HSL | Use |-|---|---|---|---|-| `--ink` | `#1D1D1F` | `240 3% 12%` | Headings, primary text |-| `--ink-2` | `#2C2C2E` | `240 2% 18%` | Strong body emphasis (`<b>`, lead paragraph) |-| `--ink-3` | `#424245` | `240 2% 26%` | Body text |-| `--ink-4` | `#6E6E73` | `240 2% 44%` | Labels, status, secondary metadata |+| Token | Approx | Use |+|---|---|---|+| `--background` | `#161618` | Content background |+| `--notfair-sidebar` | `#0F0F10` | Sidebar rail (darker than content — the step *is* the separator) |+| `--card` | `#202024` | Raised surfaces — one step lighter than content so elevation reads without borders |+| `--notfair-surface-2` | `#26262A` | Inset fills: secondary buttons, chips, glyph wells, active pills |+| `--notfair-ink` | `#ECECEE` | Headings, primary text |+| `--notfair-ink-2/3/4` | `#D6D6DA` / `#A6A6AD` / `#77777E` | Strong body / body / labels+metadata |+| `--notfair-cta` / `--notfair-cta-text` | `#ECECEC` / `#101012` | Inverted primary button |-Contrast targets: body text against `--bg` is ~11:1 (well past WCAG AAA). The intentional "soft" tier (`--ink-4`) lands at ~5.5:1 — still readable, but reserved for support text.+### Light-### Borders+| Token | Approx | Use |+|---|---|---|+| `--background` | `#F7F7F8` | Content background |+| `--notfair-sidebar` | `#EFEFF0` | Sidebar rail |+| `--card` | `#FFFFFF` | Raised surfaces |+| `--notfair-surface-2` | `#F0F0F1` | Inset fills |+| `--notfair-ink` …`-4` | `#131316` → `#85858C` | Ink scale |+| `--notfair-cta` / `--notfair-cta-text` | `#131316` / `#FFFFFF` | Inverted primary button |-| Token | Hex | HSL | Use |-|---|---|---|---|-| `--border` | `#D2D2D7` | `240 6% 83%` | Hairlines, card edges, dividers (`.5px` where retina-supported, `1px` fallback) |-| `--border-strong` | `#B8B8BE` | `240 5% 73%` | Focus rings, button outlines, separators that need to stand up |+### Semantic-### Accent (Notfair green)+| Token | Use |+|---|---|+| `--notfair-accent` | Green — live/connected/ok only |+| `--notfair-accent-soft` | Green-tinted well (light wash in light mode, dark green well in dark) |+| `--notfair-warn` / `--notfair-warn-soft` | Amber text / amber wash (token expired, approval pending) |+| `--destructive` | Errors, danger zone |-| Token | Hex | HSL | Use |-|---|---|---|---|-| `--accent` | `#4CAF6E` | `138 39% 49%` | Brand mark, primary CTA, active state, "connected" indicator, links |-| `--accent-soft` | `#EDF7F0` | `138 31% 95%` | Glyph background on connected items, ghost-button hover fill |-| `--accent-border` | `#A5D7B6` | `137 35% 75%` | Accent rings, focus halos |+Per-agent hues (`src/lib/agent-colors.ts`) survive only as small **dots and labels** — chip fills are neutral inset for every agent.### What we don't have-No warm cream. No paper-grain texture. No gradient backgrounds. No drop-shadow brand colors. No purple/violet "tech" accent. No status-state palette yet — when we need success/warning/error colors, we'll add them as a separate scale; the brand green stays brand-only.+No border-line chrome (see Elevation). No colored CTA fills. No purple/blue "tech" accents. No colored block chips — hue lives in dots.----## Typography--**Stack.** System SF Pro via `-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display'` with `'Inter'` as the cross-platform fallback. We do not load a web font for body text — SF Pro on Apple devices renders perfectly; Inter on the rest is close enough that the design holds.--**Scale.** All sizes have negative letter-spacing (Apple convention — display sans wants `-0.02em` to `-0.04em` depending on size).+## Theme switching-| Token | Size | Weight | Letter-spacing | Use |-|---|---|---|---|---|-| Display | 56px | 600 | -0.04em | Page hero (`h1` on a wizard step) |-| Title | 32px | 600 | -0.03em | Section pages (Settings, Workspace home) |-| Subtitle | 21px | 400 | -0.015em | Lead paragraph under a Display |-| Section heading | 19px | 600 | -0.022em | "Recommended", "Other" group headers in a list |-| Body | 15px | 400 | -0.01em | Default text size, list-row titles |-| Body small | 13px | 400 | -0.005em | List-row descriptions, sub-actions, link labels |-| Caption | 12.5px | 500 | -0.005em | Footnotes, palette swatches, micro-meta |--**Rules.** Use weight to express hierarchy, never to fake contrast. If text looks weak, change the color (`--ink-3` → `--ink-2`), don't bump the weight. Italics are reserved for true citations; we do not use italic emphasis as a design element.+`next-themes` with `attribute="class"`, default **dark**, system honored. The `.dark` class on `<html>` flips every token; the toggle lives in the sidebar footer (`src/components/theme-toggle.tsx`). Components must work in both modes by construction — if you write a color that isn't a token (or a Tailwind token-mapped class), you've broken one of the modes.----## Spacing--8px grid. Common gaps: `8px`, `12px`, `16px`, `24px`, `32px`, `48px`, `64px`. The wizard container is `max-width: 780px` with `64px` top padding and `144px` bottom padding — Apple-grade breathing room.--Internal card padding is `18px × 22px` (vertical × horizontal). Gap between glyph and content in a list row is `16px`.+## Typography----+**Stack.** System sans (`-apple-system, …, Inter`) for UI. **Monospace** (`ui-monospace, SF Mono, JetBrains Mono, Menlo`) is a first-class citizen: hosts, counts, IDs, slugs, usage meters, tool-call verbs, timestamps, version strings. The mono metadata is what makes the chrome read "Codex". Use `.ns-mono` or `font-mono`.-## Radii+**Tracking.** Near-neutral: body `-0.006em` (not Apple-tight). Titles land around `-0.02em`.-| Token | Value | Use |+| Role | Size | Weight ||---|---|---|-| Pill | `980px` | Buttons, status pills |-| Card | `18px` | List group containers |-| App-icon glyph | `9px` | The 38px square next to a list-row title (echoes iOS app icons) |-| Toggle / small chip | `6px` | Avoid larger UI — small chips are toggle-sized |+| Hero (wizard h1) | 30px | 600 |+| Page title | 28px | 600 |+| Section heading (`.ns-h2`) | 13px | 600 |+| Body / row title | 13.5–14.5px | 400–500 |+| Row description | 12–12.5px | 400 |+| Metadata (mono) | 10.5–11px | 400–500 |++Use color for hierarchy before weight. Sidebar group labels are small uppercase mono-ish (`10.5px / 500 / +0.07em`).----## Shadows+## Elevation (replaces borders)-Three crisp levels. No inner highlights, no warm tints — Apple shadows are diffuse cool drops.+**No border lines in chrome.** Cards separate from the page by being a lighter surface (dark) or by shadow (light); lists separate rows with **gaps between elevated cards**, not dividers; the sidebar separates from content by surface step alone.```css---shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 0 0 .5px rgba(0,0,0,.04);---shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -8px rgba(0,0,0,.10);---shadow-lg: 0 2px 4px rgba(0,0,0,.06), 0 20px 50px -12px rgba(0,0,0,.18);+--notfair-shadow-sm /* resting chips, kanban cards, tool-call cards */+--notfair-shadow /* primary cards, list rows, day-well "today" */+--notfair-shadow-lg /* floating panels: dropdowns, dialogs */```-Use `--shadow` for primary cards (a list group, a primary surface). `--shadow-sm` for resting buttons, pills, palette swatches. `--shadow-lg` for floating panels (dropdown menus, dialogs).+Dark-mode shadows are stronger (soft black) and the lighter card surface does half the work. Borders are still fine *inside content*: markdown tables, blockquote rules, focus rings.++---++## Spacing & radii++8px grid. Grouped lists use `9px` gaps between row-cards. Card padding `14–18px`.++| Radius | Use |+|---|---|+| `8px` | Buttons |+| `7px` | Tab pills, small chips, cron event chips |+| `9px` | Glyph wells (38px) |+| `10–12px` | Cards, list rows, kanban cards |+| `14px` | Large containers (kanban columns, KPI cards) |+| `999px` | Status pills, role badges only |---## Components-### Frosted topbar+### Buttons (`.ns-btn`)-Sticky, translucent, backdrop-blurred. The Notfair SVG mark sits at `22px` tall with a `.5px` vertical separator at `--border-strong` between mark and the per-page label. Nav links are `13px` `--ink-3` with `--ink` hover.+- **Primary** — inverted fill: `--notfair-cta` bg, `--notfair-cta-text` text. Hover dims opacity.+- **Secondary / "outline"** — borderless inset fill (`--notfair-surface-2`). There is no true outlined button; `.ns-btn-outline` is an alias kept for call sites.+- **Ghost** — transparent, ink text, inset hover.+- Radius 8px, `13.5px / 500`.-```css-.topbar {- background: rgba(245,245,247,.72);- backdrop-filter: saturate(180%) blur(20px);- border-bottom: .5px solid rgba(0,0,0,.08);- position: sticky; top: 0;-}-```+### Grouped list (`.ns-list` / `.ns-group`)-### Hero+Separated elevated cards with 9px gaps — each direct child (usually `<li>`) gets `bg-card + radius 12px + --notfair-shadow`. No dividers. Rows keep the 38px glyph + title/desc + right status/action shape.-`56px / 600 / -0.04em` headline. `21px / 400 / -0.015em` sub. `48px` between topbar and headline, `18px` between headline and sub. The hero is left-aligned on app screens, centered only on marketing surfaces (none in v1).+### Tabs (`.ns-tabs`)-### Grouped list (iOS Settings pattern)+Pill pattern: no underline, no bottom border. Active tab = inset filled pill (`--notfair-surface-2`) with ink text.-One shared rounded container, hairline (`.5px`) dividers between rows, no per-row shadow. Each row is `18px × 22px` padding, gets a `38px` app-icon glyph on the left, title + description in the middle, status on the right.+### Status-```html-<ol class="list">- <li class="tile">- <div class="glyph">G</div>- <div class="body">- <p class="name">Google Ads</p>- <p class="desc">Campaigns, bids, keywords, search terms.</p>- </div>- <div class="status"><span class="pill">Connected</span></div>- </li>-</ol>-```+- **Connected** — 6–7px green dot + lowercase word in `--notfair-accent`.+- **Attention** — `ns-tag-amber` (warn tokens). **Error** — `ns-tag-red`.+- Neutral machine states ("scheduled", "past") — `ns-tag-mono` inset chips.-### Buttons+### Chat surface-Pill-shaped (`980px` radius), no shadow, solid fill. Two variants:+User messages: inset bubbles (`bg-muted`, `rounded-2xl` with a tucked corner). Tool calls: elevated cards with mono verb + target + step counts and a green status dot. Composer: elevated borderless field with inverted send button. Agent tab bar: pill tabs over a translucent background wash.-- **Primary.** Filled `--accent`, white text, `11px × 22px` padding, `15px / 500 / -0.012em`.-- **Ghost.** Transparent, `--accent` text, no border. Hover gives `--accent-soft` fill.+### Cron calendar-No outlined buttons, no shadowed buttons, no gradient buttons. If we need a destructive button, it gets a separate red token added; we do not improvise.+Seven borderless day wells (`--notfair-ink` at 3.5% alpha); **today** is an elevated card. Events are neutral inset mono chips with a small agent-colored dot before the time.-### Sub-action (text link with chevron)+### Kanban (tasks)-`13px / 500` `--accent` text + `›` chevron (Unicode U+203A). No pill chrome, no border. iOS Settings-row "Tap to choose" convention.+Columns are tinted wells (no ring, no header divider); task cards are elevated (`shadow-sm`), mono task IDs and dates, neutral assignee pill. Status dots on column headers: amber working / red blocked / green done.-### Connected indicator+### Forms-A `7px` filled circle in `--accent` followed by the word "Connected" in `--accent` color. No pill background, no border. Inline next to the row's name or in the status column.+Inputs and textareas are borderless inset fields (`--notfair-surface-2` fill, transparent border, focus ring only). Form cards are elevated. Disabled buttons drop to 45% opacity.### Progress pips-`22px` circular dots in a horizontal row with `32px / .5px` hairline connectors. Done = filled `--ink`. Active = filled `--accent`. Pending = `--surface` with hairline border. The numeric label sits inside the dot at `11px / 500`.+Inset dots; **done** = green-soft well with accent glyph, **active** = inverted CTA fill, pending = inset neutral. Connectors are 1px inset-colored (not border-strong).---## Motion-Defaults to `0.15s ease` for color/opacity/background. `0.18s cubic-bezier(.2,.7,.3,1)` for elevation / position transforms (lifts, translates). Avoid bounce, springs, and over-the-top entrance animations — Apple's product surfaces are nearly motionless; movement is reserved for navigation transitions.+`0.15s ease` for color/background/opacity. `0.18s cubic-bezier(.2,.7,.3,1)` for elevation/position. No bounce, no springs. The WorkingIndicator's aurora/heartbeat animations are the one deliberately alive surface.---## DO / DON'T**DO**-- Trust whitespace. Apple ships pages with what feels like too much space — it isn't.-- Use color to express state (`--accent` = active/connected; `--ink-3` vs `--ink-4` = primary vs support).-- Make components "settings-row shaped" by default — grouped list, hairline divider, glyph + title + status.-- Use `.5px` hairlines on retina, `1px` fallback.+- Separate with **surface steps and shadows**, never hairlines.+- Put machine-flavored text (hosts, IDs, counts, times) in **mono**.+- Keep green sacred: if it isn't live/connected/ok, it isn't green.+- Check every change in **both** modes — dark is native, light is first-class.**DON'T**-- Don't add font weights to fake contrast. Change color instead.-- Don't bring back italics, eyebrows, mono micro-labels, all-caps section headers, dashed rules, or paper-grain textures.-- Don't introduce new accent colors. The brand green is the only chromatic moment. Greys do the rest.-- Don't use shadcn defaults verbatim — most arrive cooler-than-Apple by mistake (purple-tinted neutrals, gray borders too dark). Verify against `--ink` / `--border` tokens.-- Don't reach for emoji as glyphs — use a 1–2 letter app-icon letterform or an SVG icon.+- Don't add border lines to chrome (cards, lists, sidebars, headers, buttons).+- Don't fill chips/badges with hue — agent identity lives in dots.+- Don't use colored CTA fills — primary is inverted monochrome.+- Don't hardcode Tailwind palette colors (`emerald-500`, `amber-600`, `zinc-*`) — use tokens; palette classes break one of the two modes.+- Don't reach for emoji as glyphs — use letterform glyph wells or SVG icons.----## Open questions (parked, not blocking v1)--- **Dark mode.** Out of scope for v1. When we add it, we mirror Apple: a deep ink (`#0F0F11` or so), surfaces a single notch lighter, and the same `--accent` green — Apple keeps brand color identical across themes.-- **Status colors.** No success/warning/error tokens yet. Add when first needed; do not preempt.-- **Data display.** When dense tables or charts arrive, refine table-specific tokens (zebra rows, sticky headers). Don't extrapolate from settings-row conventions.-----+## Open questions (parked)-## Prototype reference+- **Density mode.** A compact table density for large accounts — revisit when a customer hits it.+- **Charts.** When data viz arrives, derive a mono-axis, semantic-color chart spec; don't extrapolate from chips.-The Apple-flavored prototype that locked this system in lives at `/tmp/notfair-design-explore/06-notfair.html` for the duration of this design session. After application, treat this `DESIGN.md` as the source of truth — the prototype is disposable.+Treat this `DESIGN.md` as the source of truth for the Codex-theme system; the approved mockups from the 2026-07-07 session are disposable.diff --git a/notfair-cmo/public/notfair-mark-dark.svg b/notfair-cmo/public/notfair-mark-dark.svgnew file mode 100644index 00000000..fa507ccd--- /dev/null+++ b/notfair-cmo/public/notfair-mark-dark.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 -155.6 178.036 168.6" width="178.036" height="168.6">+ <path d="M52.200-143.600L43-46.800L17.200-46.800L8.200-143.600L52.200-143.600ZM46.300-35.200Q52.600-29.200 52.600-20Q52.600-10.800 46.200-4.900Q39.800 1 30.200 1Q20.600 1 14.300-4.900Q8-10.800 8-20Q8-29.200 14.200-35.200Q20.400-41.200 30.200-41.200Q40-41.200 46.300-35.200Z" fill="#4CAF6E" transform="translate(-8 0)"></path>+ <path d="M51.800-51.400L51.800 0L14 0L14-143.600L111.800-143.600L111.800-110.800L51.800-110.800L51.800-84.200L102-84.200L102-51.400L51.800-51.400Z" fill="#ECECEE" transform="translate(42.236363636363635 0)"></path>+</svg>\ No newline at end of filediff --git a/notfair-cmo/src/app/(app)/[project]/approvals/page.tsx b/notfair-cmo/src/app/(app)/[project]/approvals/page.tsxindex bad5ae91..fccb4505 100644--- a/notfair-cmo/src/app/(app)/[project]/approvals/page.tsx+++ b/notfair-cmo/src/app/(app)/[project]/approvals/page.tsx@@ -160,7 +160,7 @@ function TabLink({<spanclassName={`ml-1 inline-flex h-[16px] min-w-[16px] items-center justify-center rounded-full px-1 text-[10px] font-semibold tabular-nums leading-none ${isActive- ? "bg-[hsl(var(--notfair-ink))] text-white"+ ? "bg-card text-foreground shadow-sm": "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))]"}`}>diff --git a/notfair-cmo/src/app/globals.css b/notfair-cmo/src/app/globals.cssindex de38ceee..9abe124a 100644--- a/notfair-cmo/src/app/globals.css+++ b/notfair-cmo/src/app/globals.css@@ -5,86 +5,120 @@@layer base {:root {/* ── notfair-cmo design system (see DESIGN.md) ───────────────────- Apple-flavored cool neutrals anchored on the Notfair brand- green #4CAF6E. Surfaces are pure white / Apple off-white; ink- is Apple's neutral scale; the accent does all chromatic work.+ Codex-flavored monochrome chrome, dark-first with a light mode.+ Depth comes from elevation (surface steps + soft shadows), not+ border lines. Color is reserved for semantics: green = live/+ connected, amber = attention, red = error. Primary actions are+ inverted (black-on-light / white-on-dark).shadcn primitives are mapped onto these tokens so existingCard/Button/etc. components inherit the system automatically. *//* surfaces */- --background: 240 8% 96%; /* #F5F5F7 */- --foreground: 240 3% 12%; /* #1D1D1F */+ --background: 240 7% 97%; /* #F7F7F8 */+ --foreground: 240 7% 8%; /* #131316 */--card: 0 0% 100%;- --card-foreground: 240 3% 12%;+ --card-foreground: 240 7% 8%;--popover: 0 0% 100%;- --popover-foreground: 240 3% 12%;+ --popover-foreground: 240 7% 8%;- /* primary CTA — brand green */- --primary: 138 39% 49%; /* #4CAF6E */+ /* primary CTA — inverted monochrome (Codex signature) */+ --primary: 240 7% 8%; /* #131316 */--primary-foreground: 0 0% 100%;/* secondary surface (used by Button variant=secondary, etc.) */- --secondary: 240 6% 94%; /* #EFEFF1 */- --secondary-foreground: 240 3% 12%;+ --secondary: 240 4% 94%; /* #F0F0F1 */+ --secondary-foreground: 240 7% 8%;/* muted text + surfaces */- --muted: 240 6% 94%;- --muted-foreground: 240 2% 44%; /* #6E6E73 */+ --muted: 240 4% 94%;+ --muted-foreground: 240 3% 54%; /* #85858C *//* shadcn "accent" surface (hover bg on dropdowns, etc.) — NOT thebrand accent. Keep neutral so brand green stays uncrowded. */- --accent: 240 6% 94%;- --accent-foreground: 240 3% 12%;+ --accent: 240 4% 94%;+ --accent-foreground: 240 7% 8%;--destructive: 0 72% 51%;--destructive-foreground: 0 0% 100%;- --border: 240 6% 83%; /* #D2D2D7 */- --input: 240 6% 83%;- --ring: 138 39% 49%; /* focus ring uses brand green */+ --border: 240 5% 90%;+ --input: 240 4% 94%;+ --ring: 240 3% 54%; /* neutral focus ring */--radius: 0.625rem; /* 10px — between sm and md per DESIGN.md *//* ── DESIGN.md tokens (non-shadcn) ───────────────────────────────Use these directly in custom components when the shadcn mappingabove isn't expressive enough. Comment names match DESIGN.md. */- --notfair-ink: 240 3% 12%; /* #1D1D1F — primary text */- --notfair-ink-2: 240 2% 18%; /* #2C2C2E — strong body */- --notfair-ink-3: 240 2% 26%; /* #424245 — body text */- --notfair-ink-4: 240 2% 44%; /* #6E6E73 — labels, support */- --notfair-surface-2: 240 6% 94%; /* #EFEFF1 — inset / glyph bg */- --notfair-border-strong: 240 5% 73%; /* #B8B8BE */- --notfair-accent: 138 39% 49%; /* #4CAF6E brand green */- --notfair-accent-soft: 138 31% 95%;/* #EDF7F0 */- --notfair-accent-border: 137 35% 75%; /* #A5D7B6 */-- /* Apple-style diffuse shadows. No warm tints, no inner highlights. */- --notfair-shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 0 0 .5px rgba(0,0,0,.04);- --notfair-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -8px rgba(0,0,0,.10);- --notfair-shadow-lg: 0 2px 4px rgba(0,0,0,.06), 0 20px 50px -12px rgba(0,0,0,.18);+ --notfair-ink: 240 7% 8%; /* #131316 — primary text */+ --notfair-ink-2: 240 4% 18%; /* #2C2C30 — strong body */+ --notfair-ink-3: 240 3% 35%; /* #55555B — body text */+ --notfair-ink-4: 240 3% 54%; /* #85858C — labels, support */+ --notfair-surface-2: 240 4% 94%; /* #F0F0F1 — inset / glyph bg */+ --notfair-sidebar: 240 3% 94%; /* #EFEFF0 — sidebar rail */+ --notfair-hover: 240 4% 96%; /* row hover wash */+ --notfair-border-strong: 240 4% 82%;+ /* Inverted primary action (Codex CTA) */+ --notfair-cta: 240 7% 8%; /* #131316 */+ --notfair-cta-text: 0 0% 100%;+ /* NotFair green — semantic "live/connected" only, never chrome */+ --notfair-accent: 138 43% 43%; /* #3F9E60 (darker for light bg) */+ --notfair-accent-soft: 138 31% 94%;+ --notfair-accent-border: 137 35% 75%;+ --notfair-warn: 39 76% 38%; /* amber text */+ --notfair-warn-soft: 39 70% 94%; /* amber wash */++ /* Elevation — layered soft shadows, no rings. */+ --notfair-shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.04);+ --notfair-shadow: 0 1px 2px rgba(0,0,0,.05), 0 3px 10px rgba(0,0,0,.06);+ --notfair-shadow-lg: 0 2px 4px rgba(0,0,0,.06), 0 20px 50px -12px rgba(0,0,0,.16);}.dark {- --background: 240 10% 3.9%;- --foreground: 0 0% 98%;- --card: 240 10% 3.9%;- --card-foreground: 0 0% 98%;- --popover: 240 10% 3.9%;- --popover-foreground: 0 0% 98%;- --primary: 0 0% 98%;- --primary-foreground: 240 5.9% 10%;- --secondary: 240 3.7% 15.9%;- --secondary-foreground: 0 0% 98%;- --muted: 240 3.7% 15.9%;- --muted-foreground: 240 5% 64.9%;- --accent: 240 3.7% 15.9%;- --accent-foreground: 0 0% 98%;- --destructive: 0 62.8% 30.6%;+ /* Codex dark: content #161618, sidebar darker, cards a step+ lighter than content so elevation reads without borders. */+ --background: 240 4% 9%; /* #161618 */+ --foreground: 240 6% 93%; /* #ECECEE */+ --card: 240 6% 13%; /* #202024 */+ --card-foreground: 240 6% 93%;+ --popover: 240 6% 13%;+ --popover-foreground: 240 6% 93%;+ --primary: 0 0% 93%; /* inverted: white CTA */+ --primary-foreground: 240 6% 7%;+ --secondary: 240 5% 16%; /* #26262A */+ --secondary-foreground: 240 6% 93%;+ --muted: 240 5% 16%;+ --muted-foreground: 240 3% 48%; /* #77777E */+ --accent: 240 5% 16%;+ --accent-foreground: 240 6% 93%;+ --destructive: 0 62% 52%;--destructive-foreground: 0 0% 98%;- --border: 240 3.7% 15.9%;- --input: 240 3.7% 15.9%;- --ring: 240 4.9% 83.9%;+ --border: 240 5% 18%;+ --input: 240 5% 16%;+ --ring: 240 4% 60%;++ --notfair-ink: 240 6% 93%; /* #ECECEE */+ --notfair-ink-2: 240 4% 85%; /* #D6D6DA */+ --notfair-ink-3: 240 4% 67%; /* #A6A6AD */+ --notfair-ink-4: 240 3% 48%; /* #77777E */+ --notfair-surface-2: 240 5% 16%; /* #26262A */+ --notfair-sidebar: 240 3% 6%; /* #0F0F10 */+ --notfair-hover: 240 5% 15%;+ --notfair-border-strong: 240 4% 30%;+ --notfair-cta: 0 0% 93%; /* #ECECEC */+ --notfair-cta-text: 240 6% 7%; /* #101012 */+ --notfair-accent: 138 39% 49%; /* #4CAF6E */+ --notfair-accent-soft: 138 24% 14%; /* dark green-tinted well */+ --notfair-accent-border: 138 30% 32%;+ --notfair-warn: 39 65% 55%; /* #D9A13F */+ --notfair-warn-soft: 39 45% 14%;++ /* Dark elevation: stronger shadows; the lighter card surface does+ half the work. */+ --notfair-shadow-sm: 0 1px 2px rgba(0,0,0,.40), 0 2px 6px rgba(0,0,0,.24);+ --notfair-shadow: 0 1px 2px rgba(0,0,0,.45), 0 3px 10px rgba(0,0,0,.30);+ --notfair-shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 20px 50px -12px rgba(0,0,0,.55);}}@@ -133,7 +167,8 @@-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;- letter-spacing: -0.01em;+ /* Codex: near-neutral tracking (Apple-tight was -0.01em) */+ letter-spacing: -0.006em;}}@@ -188,25 +223,14 @@}:root {- --sidebar: hsl(0 0% 98%);- --sidebar-foreground: hsl(240 5.3% 26.1%);- --sidebar-primary: hsl(240 5.9% 10%);- --sidebar-primary-foreground: hsl(0 0% 98%);- --sidebar-accent: hsl(240 4.8% 95.9%);- --sidebar-accent-foreground: hsl(240 5.9% 10%);- --sidebar-border: hsl(220 13% 91%);- --sidebar-ring: hsl(217.2 91.2% 59.8%);-}--.dark {- --sidebar: hsl(240 5.9% 10%);- --sidebar-foreground: hsl(240 4.8% 95.9%);- --sidebar-primary: hsl(224.3 76.3% 48%);- --sidebar-primary-foreground: hsl(0 0% 100%);- --sidebar-accent: hsl(240 3.7% 15.9%);- --sidebar-accent-foreground: hsl(240 4.8% 95.9%);- --sidebar-border: hsl(240 3.7% 15.9%);- --sidebar-ring: hsl(217.2 91.2% 59.8%);+ --sidebar: hsl(var(--notfair-sidebar));+ --sidebar-foreground: hsl(var(--notfair-ink-3));+ --sidebar-primary: hsl(var(--notfair-cta));+ --sidebar-primary-foreground: hsl(var(--notfair-cta-text));+ --sidebar-accent: hsl(var(--notfair-surface-2));+ --sidebar-accent-foreground: hsl(var(--notfair-ink));+ --sidebar-border: transparent;+ --sidebar-ring: hsl(var(--ring));}/* ────────────────────────────────────────────────────────────────────@@ -228,7 +252,7 @@footer all fit in one viewport. Still confident, just less luxurious. */.ns-hero-title {@apply text-foreground;- font-size: 34px; line-height: 1.1; letter-spacing: -0.028em;+ font-size: 30px; line-height: 1.1; letter-spacing: -0.022em;font-weight: 600; margin: 0 0 8px;}.ns-hero-sub {@@ -252,24 +276,27 @@font-size: 12px; font-weight: 500; letter-spacing: -0.005em;}- /* Grouped list — single rounded container, hairline dividers.- Dividers live on the container's direct children, not on the tile- itself, so wrappers like `<li>` don't break the :last-child rule. */+ /* Grouped list — separated elevated cards, no divider lines.+ Each direct child (usually an `<li>`) becomes its own raised+ surface; depth does the separating work borders used to do. */.ns-list {- @apply flex flex-col bg-card rounded-[14px] overflow-hidden;+ @apply flex flex-col;+ gap: 9px;margin-top: 20px;- box-shadow: var(--notfair-shadow);}- .ns-list > * + * {- border-top: 1px solid hsl(var(--border));+ .ns-list > * {+ @apply bg-card overflow-hidden;+ border-radius: 12px;+ box-shadow: var(--notfair-shadow);}.ns-tile {- @apply flex items-center gap-3 bg-card border-0 cursor-pointer transition-colors;+ @apply flex items-center gap-3 border-0 cursor-pointer transition-colors;+ background: transparent;padding: 12px 16px;text-align: left;width: 100%;}- .ns-tile:hover { background: #FAFAFC; }+ .ns-tile:hover { background: hsl(var(--notfair-hover)); }.ns-tile:disabled { cursor: not-allowed; opacity: 0.6; }.ns-tile-glyph {@apply grid place-items-center flex-shrink-0 font-semibold uppercase;@@ -290,14 +317,15 @@font-weight: 500; font-size: 14.5px; letter-spacing: -0.012em;line-height: 1.3;}- /* "Required for X agent" badge — quiet accent chip that makes the- MCP↔agent dependency visible at a glance. */+ /* "Required for X agent" badge — quiet inset chip that makes the+ MCP↔agent dependency visible at a glance. Monochrome; green is+ reserved for live/connected status. */.ns-tile-badge {display: inline-flex; align-items: center;font-size: 10.5px; font-weight: 500; letter-spacing: 0;- line-height: 1; padding: 3px 8px; border-radius: 999px;- background: hsl(var(--notfair-accent-soft));- color: hsl(var(--notfair-accent));+ line-height: 1; padding: 3.5px 9px; border-radius: 999px;+ background: hsl(var(--notfair-surface-2));+ color: hsl(var(--notfair-ink-4));white-space: nowrap;}.ns-tile-desc {@@ -324,16 +352,17 @@border-radius: 50%; background: hsl(var(--notfair-accent));}- /* Connected tile — accent-tinted glyph. */+ /* Connected tile — green-tinted glyph well (semantic accent). */.ns-tile.is-connected .ns-tile-glyph {background: hsl(var(--notfair-accent-soft));color: hsl(var(--notfair-accent));}- /* Sub-action — Apple text link with chevron. */+ /* Sub-action — quiet text link with chevron. Ink, not green:+ green is status-only in the Codex system. */.ns-subaction {@apply inline-flex items-center;- color: hsl(var(--notfair-accent));+ color: hsl(var(--notfair-ink-2));font-weight: 500; font-size: 12.5px; letter-spacing: -0.005em;margin-top: 4px; gap: 4px;background: transparent; border: 0; cursor: pointer; padding: 0;@@ -355,26 +384,29 @@font-size: 12px; line-height: 1.45; letter-spacing: -0.005em;max-width: 440px; margin: 0;}- .ns-footnote a { color: hsl(var(--notfair-accent)); text-decoration: none; }- .ns-footnote a:hover { text-decoration: underline; }+ .ns-footnote a { color: hsl(var(--notfair-ink-2)); text-decoration: underline; }+ .ns-footnote a:hover { color: hsl(var(--notfair-ink)); }- /* Pill buttons — Apple shape, solid fill / ghost. Compact for compact- wizard steps. */+ /* Buttons — Codex shape: soft 8px radius, inverted primary fill,+ borderless filled secondary. */.ns-btn {@apply inline-flex items-center gap-2 cursor-pointer;- font: inherit; font-size: 14px; font-weight: 500;- letter-spacing: -0.012em;- padding: 9px 18px; border-radius: 980px; border: 0;+ font: inherit; font-size: 13.5px; font-weight: 500;+ letter-spacing: -0.006em;+ padding: 8px 15px; border-radius: 8px; border: 0;transition: 0.15s ease;}- .ns-btn-primary { background: hsl(var(--notfair-accent)); color: #fff; }- .ns-btn-primary:hover { filter: brightness(0.94); }- .ns-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }+ .ns-btn-primary {+ background: hsl(var(--notfair-cta));+ color: hsl(var(--notfair-cta-text));+ }+ .ns-btn-primary:hover { opacity: 0.9; }+ .ns-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }.ns-btn-ghost {- background: transparent; color: hsl(var(--notfair-accent));- padding: 9px 14px;+ background: transparent; color: hsl(var(--notfair-ink-3));+ padding: 8px 12px;}- .ns-btn-ghost:hover { background: hsl(var(--notfair-accent-soft)); }+ .ns-btn-ghost:hover { background: hsl(var(--notfair-surface-2)); }/* Compact pill used inside grouped-list rows as the right-side action.Not a button element — the whole row is the clickable target. */.ns-btn-sm {@@ -392,23 +424,23 @@.ns-pip-dot {@apply grid place-items-center;width: 18px; height: 18px; border-radius: 50%;- background: hsl(var(--card));- border: 0.5px solid hsl(var(--border));+ background: hsl(var(--notfair-surface-2));color: hsl(var(--notfair-ink-4));font-size: 10px; font-weight: 500;}.ns-pip.is-done .ns-pip-dot {- background: hsl(var(--notfair-ink));- color: #fff; border-color: hsl(var(--notfair-ink));+ background: hsl(var(--notfair-accent-soft));+ color: hsl(var(--notfair-accent));}.ns-pip.is-active .ns-pip-dot {- background: hsl(var(--notfair-accent));- color: #fff; border-color: hsl(var(--notfair-accent));+ background: hsl(var(--notfair-cta));+ color: hsl(var(--notfair-cta-text));+ font-weight: 600;}.ns-pip.is-active { color: hsl(var(--notfair-ink)); }.ns-pip-line {- display: inline-block; width: 20px; height: 0.5px;- background: hsl(var(--notfair-border-strong)); opacity: 0.6;+ display: inline-block; width: 20px; height: 1px;+ background: hsl(var(--notfair-surface-2));}/* Top brand bar — Notfair mark + per-page label, no nav. */@@ -421,8 +453,6 @@.ns-topbar-label {color: hsl(var(--notfair-ink-4));font-size: 12px; letter-spacing: -0.005em; font-weight: 400;- padding-left: 12px;- border-left: 0.5px solid hsl(var(--notfair-border-strong));}/* ── App-shell tokens (every authenticated page) ─────────────────@@ -482,23 +512,22 @@font-size: 12px; font-weight: 400; letter-spacing: -0.005em;}- /* Apple-grouped list (app-scope variant of .ns-list — same shape,- no auto top-margin so it can sit directly under a section head).- Dividers are drawn between direct children rather than as a- row-level :last-child rule — `<article class="ns-row">` is often- wrapped in `<li>`, so :last-child on the article matches every- row and would suppress the divider on all of them. The- `> * + *` border-top is structural and works regardless of the- wrapping element. */+ /* Grouped list (app-scope variant of .ns-list — same separated-+ cards shape, no auto top-margin so it can sit directly under a+ section head). Each direct child — `<article class="ns-row">` is+ often wrapped in `<li>` — becomes its own elevated card; no+ divider lines anywhere. */.ns-group {- @apply flex flex-col bg-card rounded-[14px] overflow-hidden;- box-shadow: var(--notfair-shadow);+ @apply flex flex-col;+ gap: 9px;}- .ns-group > * + * {- border-top: 1px solid hsl(var(--border));+ .ns-group > * {+ @apply bg-card overflow-hidden;+ border-radius: 12px;+ box-shadow: var(--notfair-shadow);}.ns-row {- @apply flex items-center gap-3 bg-card;+ @apply flex items-center gap-3;padding: 14px 18px;text-align: left;}@@ -509,7 +538,7 @@border: 0;background: transparent;}- .ns-row-button:hover { background: #FAFAFC; }+ .ns-row-button:hover { background: hsl(var(--notfair-hover)); }.ns-row-button:disabled { cursor: not-allowed; opacity: 0.55; }/* Glyph tile next to a row's title — 38px iOS-app-icon shape. */@@ -581,13 +610,17 @@color: hsl(var(--notfair-accent));}.ns-tag-amber {- background: hsl(38 92% 95%);- color: hsl(28 76% 38%);+ background: hsl(var(--notfair-warn-soft));+ color: hsl(var(--notfair-warn));}.ns-tag-red {background: hsl(0 92% 96%);color: hsl(0 72% 42%);}+ .dark .ns-tag-red {+ background: hsl(0 45% 15%);+ color: hsl(0 70% 65%);+ }/* Status dot — small filled circle in semantic color. Pair with ashort label for inline status lines. */@@ -613,36 +646,26 @@100% { box-shadow: 0 0 0 0 hsl(var(--notfair-accent) / 0); }}- /* Tabs — Apple "underline only" pattern. Quiet, lightweight; the- active tab gets a thin accent rule and ink-1 text. */+ /* Tabs — Codex pill pattern: no underline rule, no border line;+ the active tab is an inset filled pill. */.ns-tabs {@apply flex items-center gap-1;- border-bottom: 0.5px solid hsl(var(--border));}.ns-tab {@apply relative inline-flex items-center gap-1.5 cursor-pointer;- padding: 9px 14px;+ padding: 6px 12px; border-radius: 7px;color: hsl(var(--notfair-ink-4));font-size: 13px; font-weight: 500; letter-spacing: -0.006em;background: transparent; border: 0;- transition: color 0.15s ease;+ transition: color 0.15s ease, background-color 0.15s ease;}.ns-tab:hover { color: hsl(var(--notfair-ink-2)); }.ns-tab[data-active="true"],.ns-tab[aria-selected="true"] {color: hsl(var(--notfair-ink));+ background: hsl(var(--notfair-surface-2));}- .ns-tab[data-active="true"]::after,- .ns-tab[aria-selected="true"]::after {- content: ""; position: absolute; left: 10px; right: 10px;- bottom: -0.5px; height: 1.5px; border-radius: 1px;- background: hsl(var(--notfair-ink));- }- /* Accent variant for the in-task surface: chat/transcript/etc. */- .ns-tab.is-accent[data-active="true"]::after,- .ns-tab.is-accent[aria-selected="true"]::after {- background: hsl(var(--notfair-accent));- }+ /* Accent variant kept as an alias — pill style is identical. *//* KPI card — small surface with quiet label + large metric. */.ns-kpi {@@ -650,7 +673,7 @@padding: 16px 18px;box-shadow: var(--notfair-shadow-sm);}- a.ns-kpi:hover, button.ns-kpi:hover { background: #FAFAFC; }+ a.ns-kpi:hover, button.ns-kpi:hover { background: hsl(var(--notfair-hover)); }.ns-kpi-label {color: hsl(var(--notfair-ink-4));font-size: 12px; font-weight: 500; letter-spacing: -0.005em;@@ -692,28 +715,30 @@}.ns-card-body { padding: 18px 22px; }- /* Inline action link — accent color, no chrome. Common in row metas. */+ /* Inline action link — ink with underline, no chrome. Green stays+ status-only. */.ns-link {- color: hsl(var(--notfair-accent));+ color: hsl(var(--notfair-ink-2));font-weight: 500;text-decoration: none;}.ns-link:hover { text-decoration: underline; }- /* Secondary pill button — neutral surface, used alongside primary CTA. */+ /* Secondary button — borderless inset fill (Codex gray button). */.ns-btn-secondary {background: hsl(var(--notfair-surface-2));color: hsl(var(--notfair-ink-2));}- .ns-btn-secondary:hover { background: hsl(240 6% 90%); }+ .ns-btn-secondary:hover { filter: brightness(0.96); }+ .dark .ns-btn-secondary:hover { filter: brightness(1.2); }- /* Outline pill — for low-emphasis actions next to a primary CTA. */+ /* "Outline" kept as a name only — same borderless inset fill. */.ns-btn-outline {- background: hsl(var(--card));+ background: hsl(var(--notfair-surface-2));color: hsl(var(--notfair-ink-2));- box-shadow: inset 0 0 0 0.5px hsl(var(--border));}- .ns-btn-outline:hover { background: hsl(var(--notfair-surface-2)); }+ .ns-btn-outline:hover { filter: brightness(0.96); }+ .dark .ns-btn-outline:hover { filter: brightness(1.2); }/* Destructive pill — used in danger-zone buttons. */.ns-btn-danger {@@ -722,28 +747,33 @@.ns-btn-danger:hover { filter: brightness(0.94); }.ns-btn-danger:disabled { opacity: 0.55; cursor: not-allowed; }- /* ── Sidebar (Apple-flavored override of shadcn sidebar) ─────────- The sidebar primitive's defaults are too dense and lean cool-grey.- These overrides give it Apple Settings rail feel: roomy padding,- softer ink, accent-tinted active row, fine hairlines. */+ /* ── Sidebar (Codex override of shadcn sidebar) ──────────────────+ Darker-than-content rail, no border line against the content —+ the surface step does the separation. Active row is a monochrome+ inset pill; green stays reserved for live status. */[data-sidebar="sidebar"] {- background: hsl(0 0% 99%);- border-color: hsl(var(--border));+ background: hsl(var(--notfair-sidebar));+ border-color: transparent;+ /* Edge elevation instead of a border-r line: a soft rightward+ shadow lifts the content plane off the rail. */+ box-shadow: 4px 0 16px -6px rgba(0, 0, 0, 0.10);+ }+ .dark [data-sidebar="sidebar"] {+ box-shadow: 4px 0 16px -6px rgba(0, 0, 0, 0.45);}[data-sidebar="header"] {padding: 10px 8px;- border-bottom: 0.5px solid hsl(var(--border));}[data-sidebar="group-label"] {- font-size: 11px; font-weight: 600; letter-spacing: 0.02em;+ font-size: 10.5px; font-weight: 500; letter-spacing: 0.07em;color: hsl(var(--notfair-ink-4));- text-transform: none;+ text-transform: uppercase;padding-inline: 12px;margin-top: 4px;}[data-sidebar="menu-button"] {color: hsl(var(--notfair-ink-3));- font-weight: 500; font-size: 13px; letter-spacing: -0.008em;+ font-weight: 500; font-size: 13px; letter-spacing: -0.006em;border-radius: 8px; height: 32px;transition: background-color 0.12s ease, color 0.12s ease;}@@ -752,24 +782,24 @@color: hsl(var(--notfair-ink));}[data-sidebar="menu-button"][data-active="true"] {- background: hsl(var(--notfair-accent-soft));- color: hsl(var(--notfair-accent));+ background: hsl(var(--notfair-surface-2));+ color: hsl(var(--notfair-ink));}[data-sidebar="menu-button"][data-active="true"] svg {- color: hsl(var(--notfair-accent));+ color: hsl(var(--notfair-ink));}[data-sidebar="menu-button"] svg {color: hsl(var(--notfair-ink-4));}- /* App topbar — for in-app surfaces (separate from the wizard topbar). */+ /* App topbar — for in-app surfaces (separate from the wizard topbar).+ Translucent wash of the page background; no border line. */.ns-app-topbar {@apply sticky top-0 z-30 flex items-center;height: 44px;- background: rgba(245,245,247,0.78);+ background: hsl(var(--background) / 0.82);backdrop-filter: saturate(180%) blur(20px);-webkit-backdrop-filter: saturate(180%) blur(20px);- border-bottom: 0.5px solid hsl(var(--border));padding: 0 16px;gap: 8px;}@@ -782,8 +812,15 @@font-size: 12px; letter-spacing: -0.005em;}.ns-app-topbar-divider {- width: 0.5px; height: 18px;- background: hsl(var(--notfair-border-strong));+ width: 1px; height: 18px;+ background: hsl(var(--notfair-surface-2));margin: 0 4px;}++ /* Mono metadata — hosts, counts, ids, usage meters. The terminal-+ adjacent detail that anchors the Codex feel. */+ .ns-mono {+ font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;+ letter-spacing: 0;+ }}diff --git a/notfair-cmo/src/app/layout.tsx b/notfair-cmo/src/app/layout.tsxindex cb8b6c24..d688c9fa 100644--- a/notfair-cmo/src/app/layout.tsx+++ b/notfair-cmo/src/app/layout.tsx@@ -1,6 +1,7 @@import type { Metadata } from "next";import { TooltipProvider } from "@/components/ui/tooltip";import { Toaster } from "@/components/ui/sonner";+import { ThemeProvider } from "@/components/theme-provider";import "./globals.css";export const metadata: Metadata = {@@ -16,8 +17,10 @@ export default function RootLayout({return (<html lang="en" suppressHydrationWarning><body className="min-h-screen bg-background text-foreground antialiased">- <TooltipProvider delayDuration={200}>{children}</TooltipProvider>- <Toaster position="top-right" richColors />+ <ThemeProvider>+ <TooltipProvider delayDuration={200}>{children}</TooltipProvider>+ <Toaster position="top-right" richColors />+ </ThemeProvider></body></html>);diff --git a/notfair-cmo/src/components/agent-danger-zone.tsx b/notfair-cmo/src/components/agent-danger-zone.tsxindex aa7612ad..e048ab74 100644--- a/notfair-cmo/src/components/agent-danger-zone.tsx+++ b/notfair-cmo/src/components/agent-danger-zone.tsx@@ -167,7 +167,7 @@ export function AgentDangerZone({ agentId, agentDisplayName }: Props) {{!summary.exists_in_openclaw && (<><dt className="text-muted-foreground">Workspace</dt>- <dd className="text-amber-600 dark:text-amber-400">+ <dd className="text-[hsl(var(--notfair-warn))]">already removed</dd></>diff --git a/notfair-cmo/src/components/agent-tabs.test.tsx b/notfair-cmo/src/components/agent-tabs.test.tsxindex f1cd640c..9d105b0b 100644--- a/notfair-cmo/src/components/agent-tabs.test.tsx+++ b/notfair-cmo/src/components/agent-tabs.test.tsx@@ -52,11 +52,19 @@ describe("AgentTabs", () => {expect(tasks.className).toContain("text-foreground");});- it("renders the underline indicator span only for the active tab", () => {+ it("renders the inset pill fill only on the active tab", () => {pathnameRef.current = "/proj/agents/cmo/skills";- const { container } = render(<AgentTabs projectSlug="proj" agentSlug="cmo" />);- const indicators = container.querySelectorAll('span[aria-hidden="true"]');- expect(indicators.length).toBe(1);+ render(<AgentTabs projectSlug="proj" agentSlug="cmo" />);+ const skills = screen.getByRole("link", { name: /skills/i });+ expect(skills.className).toContain("bg-[hsl(var(--notfair-surface-2))]");+ const others = ["chat", "tasks", "files", "cron", "settings"].map((t) =>+ screen.getByRole("link", { name: new RegExp(t, "i") }),+ );+ for (const link of others) {+ expect(link.className).not.toContain(+ "bg-[hsl(var(--notfair-surface-2))]",+ );+ }});it("treats no-match pathname as no active tab", () => {diff --git a/notfair-cmo/src/components/agent-tabs.tsx b/notfair-cmo/src/components/agent-tabs.tsxindex e0abd8ea..e344837b 100644--- a/notfair-cmo/src/components/agent-tabs.tsx+++ b/notfair-cmo/src/components/agent-tabs.tsx@@ -42,7 +42,7 @@ export function AgentTabs({return (<nav- className="sticky top-0 z-20 flex items-center gap-1 border-b border-border/60 bg-[rgba(245,245,247,0.78)] px-4 backdrop-blur-md"+ className="sticky top-0 z-20 flex items-center gap-1 bg-[hsl(var(--background)/0.82)] px-4 py-1.5 backdrop-blur-md"aria-label="Agent sections"style={{backdropFilter: "saturate(180%) blur(20px)",@@ -58,20 +58,14 @@ export function AgentTabs({key={key}href={href}className={cn(- "relative flex items-center gap-1.5 px-3 py-2 text-[13px] font-medium tracking-tight transition-colors",+ "relative flex items-center gap-1.5 rounded-[7px] px-3 py-1.5 text-[13px] font-medium tracking-tight transition-colors",isActive- ? "text-foreground"+ ? "bg-[hsl(var(--notfair-surface-2))] text-foreground": "text-muted-foreground hover:text-foreground",)}><Icon className="size-3.5" />{label}- {isActive && (- <span- aria-hidden- className="absolute inset-x-2.5 -bottom-px h-[1.5px] rounded-full bg-[hsl(var(--notfair-accent))]"- />- )}</Link>);})}diff --git a/notfair-cmo/src/components/agent-task-workspace.tsx b/notfair-cmo/src/components/agent-task-workspace.tsxindex 77ef7aa7..6e9fd48e 100644--- a/notfair-cmo/src/components/agent-task-workspace.tsx+++ b/notfair-cmo/src/components/agent-task-workspace.tsx@@ -155,8 +155,8 @@ export function AgentTaskWorkspace({workspace. The per-thread LiveTranscript polling still handlesthe open transcript. */}{/* ── Left pane: task list ─────────────────────────────────────── */}- <aside className="flex w-80 shrink-0 flex-col border-r bg-muted/20">- <div className="border-b px-4 py-3">+ <aside className="flex w-80 shrink-0 flex-col bg-[hsl(var(--notfair-sidebar))]">+ <div className="px-4 py-3"><p className="text-[11px] text-muted-foreground">{inFlightCount > 0 ? (<span className="inline-flex items-center gap-1.5">@@ -227,7 +227,7 @@ export function AgentTaskWorkspace({<section className="flex min-w-0 flex-1 flex-col">{selected ? (<>- <header className="border-b bg-background/60 backdrop-blur">+ <header className="bg-background/60 backdrop-blur"><div className="mx-auto w-full max-w-3xl px-6 py-3"><div className="flex items-start justify-between gap-3"><div className="min-w-0 flex-1">@@ -567,7 +567,7 @@ function TaskRow({function StatusGlyph({ status }: { status: TaskStatus }) {switch (status) {case "done":- return <CheckCircle2 className="size-3.5 text-emerald-600" />;+ return <CheckCircle2 className="size-3.5 text-[hsl(var(--notfair-accent))]" />;case "failed":return <XCircle className="size-3.5 text-destructive" />;case "cancelled":@@ -577,7 +577,7 @@ function StatusGlyph({ status }: { status: TaskStatus }) {case "working":return <Loader2 className="size-3.5 animate-spin text-sky-600" />;case "blocked":- return <CircleDot className="size-3.5 text-amber-600" />;+ return <CircleDot className="size-3.5 text-[hsl(var(--notfair-warn))]" />;case "proposed":default:return <Circle className="size-3.5 text-muted-foreground" />;@@ -694,15 +694,15 @@ function AbandonedTaskCard({ taskDisplayId }: { taskDisplayId: string }) {const anyPending = resumePending || donePending || cancelPending;return (- <div className="rounded-lg border border-amber-500/30 bg-amber-50/60 p-4 dark:border-amber-500/30 dark:bg-amber-950/30">+ <div className="rounded-lg bg-[hsl(var(--notfair-warn-soft))] p-4"><div className="flex items-start gap-3">- <StopCircle className="mt-0.5 size-4 shrink-0 text-amber-600 dark:text-amber-400" />+ <StopCircle className="mt-0.5 size-4 shrink-0 text-[hsl(var(--notfair-warn))]" /><div className="min-w-0 flex-1 space-y-2"><div>- <p className="text-sm font-medium text-amber-900 dark:text-amber-100">+ <p className="text-sm font-medium text-foreground">Agent stopped without closing this task</p>- <p className="mt-0.5 text-xs text-amber-800/80 dark:text-amber-200/80">+ <p className="mt-0.5 text-xs text-[hsl(var(--notfair-ink-3))]">The last turn finished cleanly but the agent didn’t call<code className="mx-1 rounded bg-amber-500/15 px-1 py-0.5 font-mono text-[11px]">submit_task_statusdiff --git a/notfair-cmo/src/components/app-sidebar.tsx b/notfair-cmo/src/components/app-sidebar.tsxindex 42c6465c..8db6206b 100644--- a/notfair-cmo/src/components/app-sidebar.tsx+++ b/notfair-cmo/src/components/app-sidebar.tsx@@ -34,6 +34,7 @@ import { AgentNav } from "./agent-nav";import { ApprovalsLiveBadge } from "./live-badge";import { HarnessFooter } from "./harness-footer";import { SidebarVersion } from "./sidebar-version";+import { ThemeToggle } from "./theme-toggle";type NavItem = {href: string;@@ -131,14 +132,19 @@ export async function AppSidebar() {)}</SidebarContent>- <SidebarFooter className="border-t border-border/60 px-3 py-2 group-data-[collapsible=icon]:hidden">+ <SidebarFooter className="px-3 py-2 group-data-[collapsible=icon]:hidden">{active && harnessUsage && (<HarnessFooteradapter={active.harness_adapter}usage={harnessUsage}/>)}- <SidebarVersion />+ <div className="flex items-center justify-between gap-2">+ <div className="min-w-0 flex-1">+ <SidebarVersion />+ </div>+ <ThemeToggle />+ </div></SidebarFooter></Sidebar>);diff --git a/notfair-cmo/src/components/approval-card.tsx b/notfair-cmo/src/components/approval-card.tsxindex 7c49af8b..aa2cfad9 100644--- a/notfair-cmo/src/components/approval-card.tsx+++ b/notfair-cmo/src/components/approval-card.tsx@@ -153,7 +153,7 @@ export function ApprovalCard({ approval }: ApprovalCardProps) {)}{approval.decision_note && !actionable && (- <div className="rounded-lg border border-dashed border-border bg-[hsl(var(--notfair-surface-2))]/60 p-3 text-[12px]">+ <div className="rounded-lg bg-[hsl(var(--notfair-surface-2))]/60 p-3 text-[12px]"><div className="text-[10px] font-semibold uppercase tracking-wide text-[hsl(var(--notfair-ink-4))]">Decision note</div>@@ -194,7 +194,7 @@ export function ApprovalCard({ approval }: ApprovalCardProps) {</div>{showPolicyForm && (- <div className="space-y-2 rounded-lg border border-border bg-[hsl(var(--notfair-surface-2))]/60 p-3 text-[12px]">+ <div className="space-y-2 rounded-lg bg-[hsl(var(--notfair-surface-2))]/60 p-3 text-[12px]"><p className="m-0 font-semibold text-[hsl(var(--notfair-ink))]">Create auto-approval policy</p>@@ -277,7 +277,7 @@ export function ApprovalCard({ approval }: ApprovalCardProps) {onChange={(e) => setDenyNote(e.target.value)}placeholder="e.g. Wait until next week so we can review the landing page first."rows={4}- className="w-full resize-y rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"+ className="w-full resize-y rounded-md border border-transparent bg-[hsl(var(--notfair-surface-2))] px-3 py-2 text-sm outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"disabled={pending}autoFocus/>diff --git a/notfair-cmo/src/components/cron-calendar.tsx b/notfair-cmo/src/components/cron-calendar.tsxindex 34aa8244..e3718275 100644--- a/notfair-cmo/src/components/cron-calendar.tsx+++ b/notfair-cmo/src/components/cron-calendar.tsx@@ -194,10 +194,11 @@ export function CronCalendar({</div></div>- {/* Day grid */}- <div className="overflow-hidden rounded-lg border bg-card">+ {/* Day grid — borderless day wells separated by gaps; today is+ an elevated card (Codex elevation instead of grid lines). */}+ <div><div- className="grid divide-x"+ className="grid gap-1.5"style={{ gridTemplateColumns: `repeat(${visibleDays}, minmax(0, 1fr))` }}>{Array.from({ length: visibleDays }).map((_, i) => {@@ -242,7 +243,7 @@ function FilterChips({];return (<div- className="inline-flex items-center gap-0.5 rounded-md border bg-muted/40 p-0.5"+ className="inline-flex items-center gap-0.5 rounded-md bg-[hsl(var(--notfair-surface-2))] p-0.5"role="tablist"aria-label="Filter crons">@@ -258,7 +259,7 @@ function FilterChips({className={cn("rounded px-2 py-0.5 text-[11px] font-medium transition-colors",isActive- ? "bg-background text-foreground shadow-sm"+ ? "bg-card text-foreground shadow-sm": "text-muted-foreground hover:text-foreground",)}>@@ -289,13 +290,15 @@ function DayColumn({const dateLabel = date.toLocaleDateString(undefined, { month: "numeric", day: "numeric" });return (- <div className="flex min-h-[280px] flex-col">- <div- className={cn(- "border-b px-2 py-1.5 text-center",- isToday && "bg-accent/30",- )}- >+ <div+ className={cn(+ "flex min-h-[280px] flex-col rounded-[10px]",+ isToday+ ? "bg-card shadow-[var(--notfair-shadow)]"+ : "bg-[hsl(var(--notfair-ink)/0.035)]",+ )}+ >+ <div className="px-2 py-1.5 text-center"><divclassName={cn("text-[10px] uppercase tracking-wide text-muted-foreground",@@ -349,16 +352,25 @@ function OccurrenceChip({type="button"onClick={onClick}className={cn(- "block w-full rounded-md border px-2 py-1 text-left text-[11px] leading-tight transition-colors hover:brightness-95",- color.chip,- occurrence.cron_disabled && "opacity-50 border-dashed",+ "block w-full rounded-[7px] px-2 py-1 text-left text-[11px] leading-tight transition-colors",+ "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] hover:bg-[hsl(var(--notfair-hover))]",+ occurrence.cron_disabled && "opacity-50",)}title={`${occurrence.cron_name} · ${occurrence.schedule_text}${occurrence.cron_disabled ? " · disabled" : ""}${occurrence.run_status ? ` · ${occurrence.run_status}` : ""}`}>- <div className="flex items-center justify-between gap-1 tabular-nums font-medium">- <span className={cn(occurrence.cron_disabled && "line-through")}>+ <div className="flex items-center justify-between gap-1 font-mono tabular-nums font-medium">+ <span+ className={cn(+ "flex items-center gap-1.5",+ occurrence.cron_disabled && "line-through",+ )}+ >+ <span+ aria-hidden+ className={cn("inline-block size-1.5 shrink-0 rounded-full", color.dot)}+ />{time}</span>{occurrence.cron_disabled ? (@@ -367,7 +379,7 @@ function OccurrenceChip({<RunStatusGlyph status={occurrence.run_status} />)}</div>- <div className="truncate opacity-80">{occurrence.short_name}</div>+ <div className="truncate font-mono opacity-80">{occurrence.short_name}</div></button>);}@@ -378,7 +390,7 @@ function RunStatusGlyph({ status }: { status: string | undefined }) {if (lower === "ok") {return (<span- className="inline-flex size-3.5 shrink-0 items-center justify-center rounded-full bg-emerald-500 text-white"+ className="inline-flex size-3.5 shrink-0 items-center justify-center rounded-full bg-[hsl(var(--notfair-accent))] text-white"aria-label="success"><Check className="size-2.5" strokeWidth={3} />@@ -399,7 +411,7 @@ function RunStatusGlyph({ status }: { status: string | undefined }) {// neither ok nor error". Keeps the chip honest without picking a color.return (<span- className="inline-flex size-2 shrink-0 rounded-full bg-zinc-400"+ className="inline-flex size-2 shrink-0 rounded-full bg-[hsl(var(--notfair-ink-4))]"aria-label={status}/>);@@ -768,11 +780,13 @@ function computeOccurrenceStatus(}function OccurrenceStatusBadge({ status }: { status: OccurrenceStatus }) {+ // Monochrome chrome: only run outcomes carry color (green ok / red+ // error). "scheduled" and "past" are neutral inset pills.if (status.kind === "scheduled") {- return <Pill cls="bg-blue-500/10 text-blue-700 dark:text-blue-300 border-blue-500/30">scheduled</Pill>;+ return <Pill cls="ns-tag-mono">scheduled</Pill>;}if (status.kind === "past") {- return <Pill cls="bg-zinc-500/10 text-zinc-700 dark:text-zinc-300 border-zinc-500/30">past</Pill>;+ return <Pill cls="ns-tag-mono opacity-70">past</Pill>;}// Past run with a known status — show OpenClaw's raw string, color by it.return <Pill cls={colorForRawStatus(status.raw)}>{status.raw}</Pill>;@@ -781,19 +795,19 @@ function OccurrenceStatusBadge({ status }: { status: OccurrenceStatus }) {function colorForRawStatus(raw: string): string {const lower = raw.toLowerCase();if (lower === "ok") {- return "bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 border-emerald-500/30";+ return "ns-tag-accent font-mono";}if (lower === "error") {- return "bg-destructive/10 text-destructive border-destructive/40";+ return "ns-tag-red font-mono";}- return "bg-zinc-500/10 text-zinc-700 dark:text-zinc-300 border-zinc-500/30";+ return "ns-tag-mono";}function Pill({ cls, children }: { cls: string; children: React.ReactNode }) {return (<spanclassName={cn(- "inline-flex w-fit items-center gap-1 rounded-md border px-2 py-0.5 font-mono text-[11px] font-medium",+ "inline-flex w-fit items-center gap-1 rounded-md px-2 py-0.5 font-mono text-[11px] font-medium",cls,)}>diff --git a/notfair-cmo/src/components/google-ads-mcp-banner.tsx b/notfair-cmo/src/components/google-ads-mcp-banner.tsxindex baf2aa6d..229f4a31 100644--- a/notfair-cmo/src/components/google-ads-mcp-banner.tsx+++ b/notfair-cmo/src/components/google-ads-mcp-banner.tsx@@ -54,7 +54,7 @@ export function GoogleAdsMcpBanner({ status, projectSlug }: Props) {return (<div- className="border-b border-border/60 bg-[hsl(38_92%_97%)] px-6 py-3"+ className="bg-[hsl(var(--notfair-warn-soft))] px-6 py-3"role="status"><div className="mx-auto flex w-full max-w-3xl items-start gap-3">diff --git a/notfair-cmo/src/components/live-transcript.tsx b/notfair-cmo/src/components/live-transcript.tsxindex 666fcabe..c2aa8050 100644--- a/notfair-cmo/src/components/live-transcript.tsx+++ b/notfair-cmo/src/components/live-transcript.tsx@@ -677,7 +677,7 @@ export function LiveTranscript({</div></div>- <div className="border-t bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80">+ <div className="bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80"><div className="relative mx-auto w-full max-w-3xl px-6 py-3">{slashOpen && (<SlashCommandPopover@@ -744,7 +744,7 @@ export function LiveTranscript({: `Message ${agentDisplayName}… (type / for commands)`}rows={1}- className="flex min-h-[40px] flex-1 resize-none rounded-xl border bg-background px-3.5 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"+ className="flex min-h-[40px] flex-1 resize-none rounded-xl bg-card px-3.5 py-2 text-sm shadow-[var(--notfair-shadow)] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"/>{sendingChat ? (<Button@@ -1034,7 +1034,7 @@ function RenderItem({function UserBubble({ body }: { body: string }) {return (<div className="flex justify-end">- <div className="max-w-[85%] rounded-2xl bg-muted px-4 py-2 text-sm leading-relaxed whitespace-pre-wrap break-words">+ <div className="max-w-[85%] rounded-2xl rounded-br-[6px] bg-muted px-4 py-2 text-sm leading-relaxed whitespace-pre-wrap break-words">{body}</div></div>@@ -1084,18 +1084,18 @@ function ToolGroup({? "text-muted-foreground motion-safe:animate-spin": hasError? "text-destructive"- : "text-emerald-600";+ : "text-[hsl(var(--notfair-accent))]";return (<detailskey={isLive ? "live" : "done"}open={isLive}- className="group rounded-md border bg-muted/20"+ className="group rounded-[10px] bg-card shadow-[var(--notfair-shadow-sm)]"><summaryclassName={cn("flex cursor-pointer select-none items-center gap-2 px-3 py-2 text-xs",- "rounded-md hover:bg-muted/40 [&::-webkit-details-marker]:hidden",+ "rounded-[10px] hover:bg-[hsl(var(--notfair-hover))] [&::-webkit-details-marker]:hidden",)}><ChevronRight className="size-3.5 shrink-0 text-muted-foreground transition-transform group-open:rotate-90" />@@ -1108,15 +1108,15 @@ function ToolGroup({) : (<HeadIcon className="size-3.5 shrink-0 text-muted-foreground" />)}- <span className="text-[12px] font-medium text-foreground">+ <span className="font-mono text-[12px] font-medium text-foreground">{intent.verb}</span>{intent.target && (- <span className="min-w-0 flex-1 truncate text-[11px] text-muted-foreground">+ <span className="min-w-0 flex-1 truncate font-mono text-[11px] text-muted-foreground">{intent.target}</span>)}- <span className="ml-auto text-[10px] tabular-nums text-muted-foreground">+ <span className="ml-auto font-mono text-[10px] tabular-nums text-muted-foreground">{isLive ? (<span className="inline-flex items-center gap-1.5"><RunningDot size="sm" aria-label="" />@@ -1131,7 +1131,7 @@ function ToolGroup({)}</span></summary>- <div className="space-y-2 border-t bg-background/40 px-3 py-2">+ <div className="space-y-2 bg-[hsl(var(--notfair-surface-2))/0.45] px-3 py-2">{tools.map((t) => (<ToolRow key={t.toolCallId} entry={t} mcpCatalog={mcpCatalog} />))}@@ -1157,7 +1157,7 @@ function ToolRow({: Loader2;const statusClass = entry.done? entry.ok- ? "text-emerald-600"+ ? "text-[hsl(var(--notfair-accent))]": "text-destructive": "text-muted-foreground motion-safe:animate-spin";// Show the raw command/label only when it actually adds information —@@ -1180,11 +1180,11 @@ function ToolRow({) : (<Icon className="size-3.5 shrink-0 text-muted-foreground" />)}- <span className="text-[12px] font-medium text-foreground">+ <span className="font-mono text-[12px] font-medium text-foreground">{intent.verb}</span>{intent.target && (- <span className="min-w-0 flex-1 truncate text-[11px] text-muted-foreground">+ <span className="min-w-0 flex-1 truncate font-mono text-[11px] text-muted-foreground">{intent.target}</span>)}@@ -1257,7 +1257,7 @@ function ToolBrandFavicon({*/function BlockedStatus({ reason }: { reason: string }) {return (- <div className="flex items-start gap-2.5 rounded-md border border-dashed border-amber-500/40 bg-amber-50/40 px-3 py-2 text-xs dark:bg-amber-950/20">+ <div className="flex items-start gap-2.5 rounded-md bg-[hsl(var(--notfair-warn-soft))] px-3 py-2 text-xs"><spanclassName="mt-1 inline-block size-2 shrink-0 rounded-full bg-amber-500"aria-hidden@@ -1953,7 +1953,7 @@ function ErrorRow({body: string;}) {return (- <div className="flex items-start gap-2 rounded-md border border-destructive/50 bg-destructive/5 p-3 text-sm">+ <div className="flex items-start gap-2 rounded-md bg-destructive/10 p-3 text-sm"><AlertCircle className="mt-0.5 size-4 shrink-0 text-destructive" /><div className="min-w-0 flex-1"><div className="font-medium text-destructive">diff --git a/notfair-cmo/src/components/markdown.tsx b/notfair-cmo/src/components/markdown.tsxindex c1480b49..c28e8aae 100644--- a/notfair-cmo/src/components/markdown.tsx+++ b/notfair-cmo/src/components/markdown.tsx@@ -107,7 +107,7 @@ const COMPONENTS: Components = {pre: ({ className, ...props }) => (<preclassName={cn(- "mb-3 max-w-full overflow-x-auto rounded-md border bg-muted/50 p-3 last:mb-0",+ "mb-3 max-w-full overflow-x-auto rounded-md bg-muted/60 p-3 last:mb-0",className,)}{...props}diff --git a/notfair-cmo/src/components/onboarding-flow.tsx b/notfair-cmo/src/components/onboarding-flow.tsxindex 8dd3bde3..14a1bda4 100644--- a/notfair-cmo/src/components/onboarding-flow.tsx+++ b/notfair-cmo/src/components/onboarding-flow.tsx@@ -81,7 +81,9 @@ function OnboardingFlowInner() {always sees where they are; the pips show how far they've gone. */}<div className="ns-topbar">{/* eslint-disable-next-line @next/next/no-img-element */}- <img src="/notfair-mark.svg" alt="Notfair" />+ <img src="/notfair-mark.svg" alt="Notfair" className="dark:hidden" />+ {/* eslint-disable-next-line @next/next/no-img-element */}+ <img src="/notfair-mark-dark.svg" alt="Notfair" className="hidden dark:block" /><span className="ns-topbar-label">Notfair CMO</span><div className="ml-auto"><div className="ns-progress">@@ -369,7 +371,7 @@ function HarnessPicker({ disabled }: { disabled: boolean }) {<div className="flex w-full items-center justify-between"><span className="text-sm font-medium text-foreground">{opt.label}</span>{opt.recommended && (- <span className="rounded-full bg-emerald-500/10 px-1.5 py-0.5 text-[10px] uppercase tracking-wide text-emerald-700 dark:text-emerald-300">+ <span className="rounded-full bg-[hsl(var(--notfair-accent-soft))] px-1.5 py-0.5 text-[10px] uppercase tracking-wide text-[hsl(var(--notfair-accent))]">Recommended</span>)}@@ -557,7 +559,7 @@ function ConnectStep({ slug }: { slug: string }) {return (<div role="alert" className="ns-list p-6 space-y-3"><div className="flex items-center gap-2">- <AlertCircle className="size-4 text-amber-600" aria-hidden />+ <AlertCircle className="size-4 text-[hsl(var(--notfair-warn))]" aria-hidden /><span className="font-medium text-sm">Couldn’t load connection state.</span>@@ -922,7 +924,7 @@ function SetupStep({ slug }: { slug: string }) {aria-hiddenclassName={s.status === "done"- ? "inline-flex size-4 items-center justify-center font-mono text-emerald-600"+ ? "inline-flex size-4 items-center justify-center font-mono text-[hsl(var(--notfair-accent))]": s.status === "failed"? "inline-flex size-4 items-center justify-center font-mono text-destructive": s.status === "in_progress"@@ -1067,7 +1069,7 @@ function AccountStep({ slug }: { slug: string }) {<Card role="alert"><CardContent className="space-y-3 pt-6 pb-6"><div className="flex items-center gap-2">- <AlertCircle className="size-4 text-amber-600" aria-hidden />+ <AlertCircle className="size-4 text-[hsl(var(--notfair-warn))]" aria-hidden /><span className="font-medium text-sm">Couldn’t load your Google Ads accounts.</span>@@ -1091,7 +1093,7 @@ function AccountStep({ slug }: { slug: string }) {<Card role="alert"><CardContent className="space-y-3 pt-6 pb-6"><div className="flex items-center gap-2">- <AlertCircle className="size-4 text-amber-600" aria-hidden />+ <AlertCircle className="size-4 text-[hsl(var(--notfair-warn))]" aria-hidden /><span className="font-medium text-sm">No Google Ads accounts found on this connection.</span>@@ -1445,7 +1447,7 @@ function AccountPickerScaffold({<Card role="alert"><CardContent className="space-y-3 pt-6 pb-6"><div className="flex items-center gap-2">- <AlertCircle className="size-4 text-amber-600" aria-hidden />+ <AlertCircle className="size-4 text-[hsl(var(--notfair-warn))]" aria-hidden /><span className="font-medium text-sm">Couldn’t load your {mcpDisplayName} accounts.</span>diff --git a/notfair-cmo/src/components/policy-list.tsx b/notfair-cmo/src/components/policy-list.tsxindex edf6276e..5fcb58f6 100644--- a/notfair-cmo/src/components/policy-list.tsx+++ b/notfair-cmo/src/components/policy-list.tsx@@ -93,14 +93,14 @@ export function PolicyList({</div>{showForm && (- <div className="space-y-3 rounded-md border border-border bg-muted/30 p-3">+ <div className="space-y-3 rounded-md bg-muted/40 p-3"><div className="grid gap-3 sm:grid-cols-2"><label className="space-y-1 text-xs"><span className="block font-medium">Action type</span><selectvalue={actionType}onChange={(e) => setActionType(e.target.value as ApprovalType)}- className="h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm shadow-xs outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"+ className="h-9 w-full rounded-md border border-transparent bg-[hsl(var(--notfair-surface-2))] px-3 text-sm outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"disabled={pending}>{ACTION_TYPES.map((t) => (@@ -115,7 +115,7 @@ export function PolicyList({<selectvalue={autoDecision}onChange={(e) => setAutoDecision(e.target.value as "approve" | "reject")}- className="h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm shadow-xs outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"+ className="h-9 w-full rounded-md border border-transparent bg-[hsl(var(--notfair-surface-2))] px-3 text-sm outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50"disabled={pending}><option value="approve">Auto-approve</option>diff --git a/notfair-cmo/src/components/sidebar-brand.tsx b/notfair-cmo/src/components/sidebar-brand.tsxindex b1f37e0f..d26027c1 100644--- a/notfair-cmo/src/components/sidebar-brand.tsx+++ b/notfair-cmo/src/components/sidebar-brand.tsx@@ -35,7 +35,13 @@ export function SidebarBrand({ homeHref }: Props) {<imgsrc="/notfair-mark.svg"alt="Notfair"- className="h-[18px] w-auto transition-opacity group-hover/brand:opacity-0"+ className="h-[18px] w-auto transition-opacity group-hover/brand:opacity-0 dark:hidden"+ />+ {/* eslint-disable-next-line @next/next/no-img-element */}+ <img+ src="/notfair-mark-dark.svg"+ alt="Notfair"+ className="hidden h-[18px] w-auto transition-opacity group-hover/brand:opacity-0 dark:block"/><PanelLeftaria-hidden@@ -52,7 +58,9 @@ export function SidebarBrand({ homeHref }: Props) {className="flex h-8 shrink-0 items-center px-2">{/* eslint-disable-next-line @next/next/no-img-element */}- <img src="/notfair-mark.svg" alt="Notfair" className="h-[18px] w-auto" />+ <img src="/notfair-mark.svg" alt="Notfair" className="h-[18px] w-auto dark:hidden" />+ {/* eslint-disable-next-line @next/next/no-img-element */}+ <img src="/notfair-mark-dark.svg" alt="Notfair" className="hidden h-[18px] w-auto dark:block" /></Link>);}diff --git a/notfair-cmo/src/components/sidebar-version.tsx b/notfair-cmo/src/components/sidebar-version.tsxindex 196c59e4..6cc65981 100644--- a/notfair-cmo/src/components/sidebar-version.tsx+++ b/notfair-cmo/src/components/sidebar-version.tsx@@ -108,7 +108,7 @@ export function SidebarVersion() {)}{upgraded && (- <span className="text-[10.5px] text-emerald-600 dark:text-emerald-400">+ <span className="text-[10.5px] text-[hsl(var(--notfair-accent))]">Restart to apply</span>)}diff --git a/notfair-cmo/src/components/slash-command-popover.tsx b/notfair-cmo/src/components/slash-command-popover.tsxindex 0456ab3e..11538814 100644--- a/notfair-cmo/src/components/slash-command-popover.tsx+++ b/notfair-cmo/src/components/slash-command-popover.tsx@@ -21,12 +21,12 @@ const CATEGORY_LABEL: Record<SlashCommand["category"], string> = {};const CATEGORY_ACCENT: Record<SlashCommand["category"], string> = {- session: "text-blue-600 dark:text-blue-400",- model: "text-emerald-600 dark:text-emerald-400",- status: "text-zinc-500 dark:text-zinc-400",+ session: "text-[hsl(var(--notfair-ink-4))]",+ model: "text-[hsl(var(--notfair-ink-4))]",+ status: "text-[hsl(var(--notfair-ink-4))]",agents: "text-violet-600 dark:text-violet-400",tools: "text-cyan-600 dark:text-cyan-400",- advanced: "text-amber-600 dark:text-amber-400",+ advanced: "text-[hsl(var(--notfair-ink-4))]",};export function SlashCommandPopover({diff --git a/notfair-cmo/src/components/tasks-board.tsx b/notfair-cmo/src/components/tasks-board.tsxindex 625ac659..8e21153b 100644--- a/notfair-cmo/src/components/tasks-board.tsx+++ b/notfair-cmo/src/components/tasks-board.tsx@@ -331,8 +331,7 @@ export function TasksBoard({ projectSlug, tasks, agents }: Props) {</DropdownMenu><div- className="ml-auto inline-flex overflow-hidden rounded-full border border-border bg-card p-0.5"- style={{ boxShadow: "var(--notfair-shadow-sm)" }}+ className="ml-auto inline-flex overflow-hidden rounded-full bg-[hsl(var(--notfair-surface-2))] p-0.5"><buttontype="button"@@ -342,7 +341,7 @@ export function TasksBoard({ projectSlug, tasks, agents }: Props) {className={cn("flex h-7 w-9 items-center justify-center rounded-full transition-colors",prefs.view === "kanban"- ? "bg-[hsl(var(--notfair-ink))] text-white"+ ? "bg-card text-foreground shadow-sm": "text-[hsl(var(--notfair-ink-4))] hover:text-[hsl(var(--notfair-ink))]",)}>@@ -356,7 +355,7 @@ export function TasksBoard({ projectSlug, tasks, agents }: Props) {className={cn("flex h-7 w-9 items-center justify-center rounded-full transition-colors",prefs.view === "list"- ? "bg-[hsl(var(--notfair-ink))] text-white"+ ? "bg-card text-foreground shadow-sm": "text-[hsl(var(--notfair-ink-4))] hover:text-[hsl(var(--notfair-ink))]",)}>@@ -376,7 +375,7 @@ export function TasksBoard({ projectSlug, tasks, agents }: Props) {key={id}type="button"onClick={() => toggleAgent(id)}- className="inline-flex items-center gap-1 rounded-full border bg-muted/40 px-2 py-0.5 text-[11px] hover:bg-muted"+ className="inline-flex items-center gap-1 rounded-full bg-[hsl(var(--notfair-surface-2))] px-2 py-0.5 text-[11px] hover:bg-[hsl(var(--notfair-hover))]">{agentLabel(agentById, id)}<X className="size-2.5 opacity-60" />@@ -456,11 +455,10 @@ function KanbanView({return (<sectionkey={status}- className="flex w-72 shrink-0 flex-col rounded-[14px] bg-[hsl(var(--notfair-surface-2))]/60"- style={{ boxShadow: "inset 0 0 0 0.5px hsl(var(--border))" }}+ className="flex w-72 shrink-0 flex-col rounded-[14px] bg-[hsl(var(--notfair-ink)/0.035)]"aria-label={`${STATUS_LABEL[status]} column`}>- <header className="flex items-center justify-between border-b border-border/60 px-3 py-2.5">+ <header className="flex items-center justify-between px-3 py-2.5"><div className="flex items-center gap-2"><spanaria-hidden@@ -509,7 +507,7 @@ function TaskCard({return (<Linkhref={projectHref(projectSlug, `/tasks/${task.id}`)}- className="block rounded-[10px] bg-card p-3 transition-colors hover:bg-[hsl(0_0%_99%)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--notfair-accent-border))]"+ className="block rounded-[10px] bg-card p-3 shadow-[var(--notfair-shadow-sm)] transition-colors hover:bg-[hsl(var(--notfair-hover))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))]"style={{ boxShadow: "var(--notfair-shadow-sm)" }}><div className="flex items-center justify-between gap-2">@@ -592,7 +590,7 @@ function ListView({<li key={t.id}><Linkhref={projectHref(projectSlug, `/tasks/${t.id}`)}- className="grid grid-cols-[6rem_7rem_minmax(0,1fr)_9rem_6rem] items-center gap-3 px-4 py-2.5 text-[12.5px] transition-colors hover:bg-[hsl(0_0%_99%)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[hsl(var(--notfair-accent-border))]"+ className="grid grid-cols-[6rem_7rem_minmax(0,1fr)_9rem_6rem] items-center gap-3 px-4 py-2.5 text-[12.5px] transition-colors hover:bg-[hsl(var(--notfair-hover))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[hsl(var(--ring))]"><span className="truncate font-mono text-[11px] tabular-nums text-[hsl(var(--notfair-ink-4))]">{t.display_id.toUpperCase()}@@ -654,26 +652,6 @@ function countForAgent(return all.filter((t) => t.agent_id === agentId).length;}-function statusBorderTone(status: TaskStatus): string {- switch (status) {- case "working":- return "border-l-amber-500";- case "blocked":- return "border-l-rose-500";- case "done":- return "border-l-emerald-500";- case "approved":- return "border-l-sky-500";- case "failed":- return "border-l-red-700";- case "cancelled":- return "border-l-zinc-300";- case "proposed":- default:- return "border-l-zinc-400";- }-}-function relativeTime(iso: string): string {const ms = Date.now() - new Date(iso).getTime();if (Number.isNaN(ms)) return "";diff --git a/notfair-cmo/src/components/theme-provider.tsx b/notfair-cmo/src/components/theme-provider.tsxnew file mode 100644index 00000000..3ecfe40c--- /dev/null+++ b/notfair-cmo/src/components/theme-provider.tsx@@ -0,0 +1,23 @@+"use client";++import { ThemeProvider as NextThemesProvider } from "next-themes";++/**+ * next-themes wrapper. `attribute="class"` toggles the `.dark` class+ * that globals.css keys every token off. Dark is the design's native+ * mode (Codex dark-first); "system" is available from the toggle.+ * `disableTransitionOnChange` avoids a flash of mistimed CSS+ * transitions when every token flips at once.+ */+export function ThemeProvider({ children }: { children: React.ReactNode }) {+ return (+ <NextThemesProvider+ attribute="class"+ defaultTheme="dark"+ enableSystem+ disableTransitionOnChange+ >+ {children}+ </NextThemesProvider>+ );+}diff --git a/notfair-cmo/src/components/theme-toggle.tsx b/notfair-cmo/src/components/theme-toggle.tsxnew file mode 100644index 00000000..5394b36a--- /dev/null+++ b/notfair-cmo/src/components/theme-toggle.tsx@@ -0,0 +1,31 @@+"use client";++import { useEffect, useState } from "react";+import { Moon, Sun } from "lucide-react";+import { useTheme } from "next-themes";++/**+ * Light/dark switch for the sidebar footer. Renders after mount only —+ * next-themes resolves the stored/system theme on the client, so a+ * server-rendered icon would flash the wrong glyph.+ */+export function ThemeToggle() {+ const { resolvedTheme, setTheme } = useTheme();+ const [mounted, setMounted] = useState(false);++ useEffect(() => setMounted(true), []);+ if (!mounted) return <span className="size-6" aria-hidden />;++ const isDark = resolvedTheme === "dark";+ return (+ <button+ type="button"+ onClick={() => setTheme(isDark ? "light" : "dark")}+ aria-label={isDark ? "Switch to light mode" : "Switch to dark mode"}+ title={isDark ? "Switch to light mode" : "Switch to dark mode"}+ className="grid size-6 place-items-center rounded-md text-[hsl(var(--notfair-ink-4))] transition-colors hover:bg-[hsl(var(--notfair-surface-2))] hover:text-[hsl(var(--notfair-ink-2))]"+ >+ {isDark ? <Sun className="size-3.5" /> : <Moon className="size-3.5" />}+ </button>+ );+}diff --git a/notfair-cmo/src/components/ui/button.tsx b/notfair-cmo/src/components/ui/button.tsxindex 4d38506c..27b11c46 100644--- a/notfair-cmo/src/components/ui/button.tsx+++ b/notfair-cmo/src/components/ui/button.tsx@@ -13,7 +13,7 @@ const buttonVariants = cva(destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",+ "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-2))] hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:diff --git a/notfair-cmo/src/components/ui/card.tsx b/notfair-cmo/src/components/ui/card.tsxindex acf57dc5..068b939c 100644--- a/notfair-cmo/src/components/ui/card.tsx+++ b/notfair-cmo/src/components/ui/card.tsx@@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="card"className={cn(- "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",+ "flex flex-col gap-6 rounded-xl bg-card py-6 text-card-foreground shadow-[var(--notfair-shadow)]",className)}{...props}diff --git a/notfair-cmo/src/components/ui/input.tsx b/notfair-cmo/src/components/ui/input.tsxindex f1124aea..436e214d 100644--- a/notfair-cmo/src/components/ui/input.tsx+++ b/notfair-cmo/src/components/ui/input.tsx@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {type={type}data-slot="input"className={cn(- "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",+ "h-9 w-full min-w-0 rounded-md border border-transparent bg-[hsl(var(--notfair-surface-2))] px-3 py-1 text-base transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",classNamediff --git a/notfair-cmo/src/components/ui/sidebar.tsx b/notfair-cmo/src/components/ui/sidebar.tsxindex 9b9c0bc0..96af4d44 100644--- a/notfair-cmo/src/components/ui/sidebar.tsx+++ b/notfair-cmo/src/components/ui/sidebar.tsx@@ -236,7 +236,7 @@ function Sidebar({// Adjust the padding for floating and inset variants.variant === "floating" || variant === "inset"? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]"- : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",+ : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)",className)}{...props}diff --git a/notfair-cmo/src/components/workspace-browser-card.tsx b/notfair-cmo/src/components/workspace-browser-card.tsxindex bb878529..76c6103c 100644--- a/notfair-cmo/src/components/workspace-browser-card.tsx+++ b/notfair-cmo/src/components/workspace-browser-card.tsx@@ -133,7 +133,7 @@ export function WorkspaceBrowserCard({ projectSlug }: { projectSlug: string }) {<spanclassName={"h-1.5 w-1.5 rounded-full " +- (status?.running ? "bg-emerald-500" : "bg-[hsl(var(--notfair-ink-5))]")+ (status?.running ? "bg-[hsl(var(--notfair-accent))]" : "bg-[hsl(var(--notfair-ink-5))]")}/>{loadingdiff --git a/notfair-cmo/src/lib/agent-colors.test.ts b/notfair-cmo/src/lib/agent-colors.test.tsindex c3200549..b10a87ff 100644--- a/notfair-cmo/src/lib/agent-colors.test.ts+++ b/notfair-cmo/src/lib/agent-colors.test.ts@@ -5,14 +5,16 @@ describe("colorForAgentSlug", () => {it("returns the reserved blue palette for cmo", () => {const c = colorForAgentSlug("cmo");expect(c.dot).toBe("bg-blue-500");- expect(c.chip).toContain("bg-blue-100");+ // Codex theme: chip fills are neutral inset for every agent — hue+ // survives only in dot/label.+ expect(c.chip).toContain("bg-[hsl(var(--notfair-surface-2))]");expect(c.label).toContain("text-blue-700");});it("returns the amber palette for google-ads (hyphenated slug)", () => {const c = colorForAgentSlug("google-ads");expect(c.dot).toBe("bg-amber-500");- expect(c.chip).toContain("bg-amber-100");+ expect(c.chip).toContain("bg-[hsl(var(--notfair-surface-2))]");expect(c.label).toContain("text-amber-700");});diff --git a/notfair-cmo/src/lib/agent-colors.ts b/notfair-cmo/src/lib/agent-colors.tsindex fd675fb5..b4207845 100644--- a/notfair-cmo/src/lib/agent-colors.ts+++ b/notfair-cmo/src/lib/agent-colors.ts@@ -6,7 +6,10 @@ import type { AgentTemplateKey } from "@/server/agent-templates";* well against the zinc neutral background.*/export type AgentColor = {- /** Tailwind classes: chip background + text color. */+ /** Tailwind classes: chip background + text color. Codex theme:+ * chips are neutral inset fills for every agent — hue lives in the+ * `dot` / `label` fields only, so ownership stays scannable without+ * colored blocks in the chrome. */chip: string;/** Solid dot/legend swatch. */dot: string;@@ -16,22 +19,22 @@ export type AgentColor = {const PALETTE: Record<AgentTemplateKey, AgentColor> = {cmo: {- chip: "bg-blue-100 text-blue-900 dark:bg-blue-950 dark:text-blue-100 border-blue-200/60 dark:border-blue-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-blue-500",label: "text-blue-700 dark:text-blue-300",},google_ads: {- chip: "bg-amber-100 text-amber-900 dark:bg-amber-950 dark:text-amber-100 border-amber-200/60 dark:border-amber-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-amber-500",label: "text-amber-700 dark:text-amber-300",},meta_ads: {- chip: "bg-pink-100 text-pink-900 dark:bg-pink-950 dark:text-pink-100 border-pink-200/60 dark:border-pink-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-pink-500",label: "text-pink-700 dark:text-pink-300",},seo: {- chip: "bg-emerald-100 text-emerald-900 dark:bg-emerald-950 dark:text-emerald-100 border-emerald-200/60 dark:border-emerald-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-emerald-500",label: "text-emerald-700 dark:text-emerald-300",},@@ -45,42 +48,42 @@ const PALETTE: Record<AgentTemplateKey, AgentColor> = {*/const EXTRA_PALETTE: AgentColor[] = [{- chip: "bg-violet-100 text-violet-900 dark:bg-violet-950 dark:text-violet-100 border-violet-200/60 dark:border-violet-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-violet-500",label: "text-violet-700 dark:text-violet-300",},{- chip: "bg-rose-100 text-rose-900 dark:bg-rose-950 dark:text-rose-100 border-rose-200/60 dark:border-rose-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-rose-500",label: "text-rose-700 dark:text-rose-300",},{- chip: "bg-cyan-100 text-cyan-900 dark:bg-cyan-950 dark:text-cyan-100 border-cyan-200/60 dark:border-cyan-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-cyan-500",label: "text-cyan-700 dark:text-cyan-300",},{- chip: "bg-fuchsia-100 text-fuchsia-900 dark:bg-fuchsia-950 dark:text-fuchsia-100 border-fuchsia-200/60 dark:border-fuchsia-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-fuchsia-500",label: "text-fuchsia-700 dark:text-fuchsia-300",},{- chip: "bg-teal-100 text-teal-900 dark:bg-teal-950 dark:text-teal-100 border-teal-200/60 dark:border-teal-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-teal-500",label: "text-teal-700 dark:text-teal-300",},{- chip: "bg-orange-100 text-orange-900 dark:bg-orange-950 dark:text-orange-100 border-orange-200/60 dark:border-orange-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-orange-500",label: "text-orange-700 dark:text-orange-300",},{- chip: "bg-indigo-100 text-indigo-900 dark:bg-indigo-950 dark:text-indigo-100 border-indigo-200/60 dark:border-indigo-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-indigo-500",label: "text-indigo-700 dark:text-indigo-300",},{- chip: "bg-lime-100 text-lime-900 dark:bg-lime-950 dark:text-lime-100 border-lime-200/60 dark:border-lime-900",+ chip: "bg-[hsl(var(--notfair-surface-2))] text-[hsl(var(--notfair-ink-3))] border-transparent",dot: "bg-lime-500",label: "text-lime-700 dark:text-lime-300",},