Skip to content

chore(tokens): drop dead sidebar brand tokens, sync DESIGN.md active state - #13

Merged
qqqqqf-q merged 2 commits into
mainfrom
chore/drop-brand-purple-residue
Jul 31, 2026
Merged

chore(tokens): drop dead sidebar brand tokens, sync DESIGN.md active state#13
qqqqqf-q merged 2 commits into
mainfrom
chore/drop-brand-purple-residue

Conversation

@qqqqqf-q

Copy link
Copy Markdown
Member

Closes #5.

Verified on current origin/main:

Issue item Status This PR
DESIGN.md:75 documents the deleted 2px primary indicator still stale rewritten to the actual behavior (sidebar-accent bg + font-medium, matching sidebarMenuButtonVariants)
dead --sidebar-primary / --sidebar-ring tokens still present, zero component refs deleted — light + dark + the --color-sidebar-* Tailwind bindings (13 lines)
Switch active tint on --brand already resolved — checked state runs on --accent-blue-fill no change needed

Host-side fallout: Memoh's dev-wall token-catalog.ts lists sidebar-primary / sidebar-ring; those two catalog lines need to go when the shell repo bumps its gitlink to this.

Verification

  • pnpm run type-checkpnpm run build-only
  • grep: no sidebar-primary / sidebar-ring references remain in src/

…state

The purple sidebar indicator/ring was removed in f73cd15 but its tokens
(--sidebar-primary/-primary-foreground/-ring, plus their --color-*
Tailwind bindings, light + dark) stayed behind with zero component
references. DESIGN.md still documented the deleted 2px indicator as the
active-state spec — it now describes what the component actually does
(sidebar-accent background + font-medium).

The Switch half of #5 is already resolved elsewhere (checked state runs
on --accent-blue-fill).

Closes #5.
@qqqqqf-q
qqqqqf-q requested a review from a team as a code owner July 31, 2026 08:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a46dc0d3b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/style.css
Comment on lines 1107 to 1108
--sidebar-foreground: oklch(0.21 0.004 95);
--sidebar-primary: oklch(0.55 0.22 290);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: var(--overlay-hover);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the deleted token from the local color catalog

After this removal, opening the showcase’s Foundations → Colors page still renders the Brand entry declared at showcase/lib/color-catalog.ts:109 for --sidebar-primary. Because the variable is now undefined, its bar has no background, its tooltip resolves to , and clicking it copies a nonexistent token; the repository contract also still identifies this as a reserved token. Update the local catalog and contract in the same change, or retain the token.

AGENTS.md reference: AGENTS.md:L330-L335

Useful? React with 👍 / 👎.

Missed consumer: the showcase rendered a swatch for the deleted token.
@qqqqqf-q
qqqqqf-q merged commit f95e998 into main Jul 31, 2026
1 check passed
@qqqqqf-q
qqqqqf-q deleted the chore/drop-brand-purple-residue branch July 31, 2026 08:34
sheepbox8646 pushed a commit to felinics/Memoh that referenced this pull request Jul 31, 2026
…ev-wall catalog (#906)

Follow-up to felinics/ui#13 (merged as `f95e998`), which deleted the dead `--sidebar-primary` / `--sidebar-ring` tokens and synced DESIGN.md.

- `packages/ui` gitlink: `ad14119` → `f95e998`
- dev-wall `token-catalog.ts`: removes the three deleted tokens from the Sidebar family listing (the only host-side reference)

No component in the host referenced these tokens — verified by grep across `apps/web`, `apps/desktop`, and `packages/*`.

## Test plan

- [x] `vue-tsc` green
- [ ] CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] 清理 brand 紫残留:stale 文档、死 token、Switch active tint

1 participant