feat: visual foundation for the admin portal (add-visual-foundation) #35

Merged
ngqile merged 10 commits from add-visual-foundation into main 2026-12-01 12:16:35 +00:00
Showing only changes of commit 899b25f45d - Show all commits
@@ -4,18 +4,18 @@ Serial. One implementer at a time, Opus review gate per task.
## 1. Theme
- [ ] 1.1 Token values (light and dark), radius 0.5rem, one soft card shadow, Inter only (drop DM Sans), remove the gradient wordmark class.
- [ ] 1.1 Token values (light and dark), radius 0.5rem, a card shadow token, Inter only (drop DM Sans).
- Depends on: none
- Tests first: `<html>` carries only the Inter font variable; `globals.css` has no DM Sans and no `brand-gradient-text`; `--primary` is the blue accent in light and dark.
- Tests first: `<html>` carries only the Inter font variable; `globals.css` has no DM Sans; `--primary` is the blue accent in light and dark.
- Scope: `solvway-admin-portal/app/globals.css`, `solvway-admin-portal/app/layout.tsx`, `solvway-admin-portal/app/layout.test.tsx`, `solvway-admin-portal/app/globals.test.ts`, `solvway-admin-portal/app/fonts/**`, `solvway-admin-portal/tailwind.config.ts`
- Verify: `cd solvway-admin-portal && npm run lint; echo L=$?; npx tsc --noEmit; echo T=$?; npx vitest run; echo V=$?`
## 2. Shell
- [ ] 2.1 Sidebar wordmark (mark plus solid "Co-Lite"), active item in the accent, header and page header spacing to the reference sketch; company picker becomes the styled select.
- [ ] 2.1 Sidebar wordmark (mark plus solid "Co-Lite"; remove `brand-gradient-text` from `globals.css`), cards use the shadow token, active item in the accent, header and page header spacing to the reference sketch; company picker becomes the styled select.
- Depends on: 1.1
- Tests first: sidebar shows "Co-Lite" with no gradient class; only the current nav item is marked active; the company picker opens a menu with "All companies" and each code, and choosing one sets the scope.
- Scope: `solvway-admin-portal/app/components/app/**`, `solvway-admin-portal/app/components/ui/**`, `solvway-admin-portal/app/lib/CompanyScope*.tsx`
- Scope: `solvway-admin-portal/app/components/app/**`, `solvway-admin-portal/app/components/ui/**`, `solvway-admin-portal/app/lib/CompanyScope*.tsx`, `solvway-admin-portal/app/globals.css`
- Verify: as 1.1
## 3. Form dropdowns