diff --git a/docs/architecture.md b/docs/architecture.md index 2aa99e3..3a18589 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -317,6 +317,11 @@ headers `--toolbar-3` (`color-mix` steps declared once in `:root`, so every theme follows) — then `--background` (file lists, editor text, forms; `--row-alt` stripes odd file rows, skipped on the cursor/selected row so two `bg-*` utilities never fight) and `--card` (popovers, dialogs, toasts). The +right-click menu is the exception: the darkest surface (`bg-chrome`) behind a +faint `border-border/60`, and its highlighted item takes Oxide's selected style — +`--primary-surface` fill (Oxide surface-accent: green-200 dark, green-1200 +light) with `text-primary`; mouse and keyboard share that one highlight +(`activeIndex`). The ACTIVE panel is marked by a 0.125rem `--primary` line along its top edge (an inset box-shadow on the session strip, so switching panels never shifts layout). Dark: frame 0.162 < list 0.195 < header 0.275 → 0.248 → 0.221 < card diff --git a/ui/src/app/skins/shadlike/context-menu.ts b/ui/src/app/skins/shadlike/context-menu.ts index a9276bf..32d9857 100644 --- a/ui/src/app/skins/shadlike/context-menu.ts +++ b/ui/src/app/skins/shadlike/context-menu.ts @@ -43,11 +43,11 @@ const EDGE_GAP = 6; // px on purpose: a viewport-edge margin, not a UI size (keydown)="onKeydown($event)" [style.left.px]="position().x" [style.top.px]="position().y" - class="fixed z-50 w-56 border border-border bg-card py-1 text-card-foreground shadow-xl outline-none" + class="fixed z-50 w-56 border border-border/60 bg-chrome py-1 text-foreground shadow-xl outline-none" > @for (item of req.items; track $index) { @if (item.type === 'separator') { -
+ } @else {