Skip to content
Source
Sign inSign up
fuko/trytanstackdb.com

Match the macOS Notes light colors and menus #100005 (GitHub #55)

Mergedfukomerged 1 commit intov2 fromfix-mac-light-colors-and-menusmerged by fuko View on GitHub

fukocommented

Makes the macOS Notes clone match the reference screenshots of Apple Notes more closely.

Light colors

  • Sidebar #ededed, selected folder #d7d7d7, controls #fafafa, sampled from the reference.
  • Selected note rows are yellow (#ffe491), like in Notes. Dark mode uses amber (#9a7f26) for them.

Menus

  • Context menus and dropdowns (note list, sidebar folders, editor toolbar, note actions, iOS list) share notesMenuClassName from src/components/notes/menu-style.ts: frosted glass, 12px corners, soft shadow, neutral hover, inset separators, 13px items.
  • It only swaps theme tokens, so the shadcn components are unchanged.
  • The blur is on a ::before layer, not on the menu. A backdrop-filter on the menu makes it the containing block of its fixed descendants, and Radix renders submenus inside their parent menu, so "Move to" and other submenus got trapped and clipped inside the parent.

Verified

  • vp check and vp test (193 tests) pass.
  • screw-bugs walkthrough in light and dark desktop mode (lists, context menus, overflow menu with the "Move to" submenu): 6/6 pass, screenshots checked by hand.

Not done

  • The list's "View options" (•••) button still has no menu, unlike the reference.

🤖 Generated with Claude Code

    1. Important

      Review skipped

      Auto reviews are disabled on base/target branches other than the default branch.

      Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: dd62ddcb-6da1-4c87-9f40-5ae5e5ab6021

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • Trigger review
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share

    2. tanstack-sourceBotcommented Only here. This is not on GitHub.

      Ready to merge: every factory step passed on dc10f84.

      • audit: clean
      • classify: recorded

      TanStack Source bot

    3. fuko merged thisb18029b

    4. fuko merged thisb18029b

    5. fuko closed this

Sign in to join this conversation.