docs: visual foundation design and OpenSpec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
92a90d5f48
commit
2a78ef0a79
7 files changed
+203
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Tasks
|
||||
|
||||
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.
|
||||
- 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.
|
||||
- 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.
|
||||
- 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`
|
||||
- Verify: as 1.1
|
||||
|
||||
## 3. Form dropdowns
|
||||
|
||||
- [ ] 3.1 Replace the native selects in the event form, user form, company status, and the new and edit event-lead pages with the styled select; values save as before.
|
||||
- Depends on: 2.1
|
||||
- Tests first: each dropdown opens a menu, choosing an option sends that value on save; keyboard opens and chooses.
|
||||
- Scope: `solvway-admin-portal/app/components/events/**`, `solvway-admin-portal/app/components/users/**`, `solvway-admin-portal/app/companies/**`, `solvway-admin-portal/app/event-leads/**`, `solvway-admin-portal/app/companyScope.forms.test.tsx`
|
||||
- Verify: as 1.1
|
||||
|
||||
## 4. Check and record
|
||||
|
||||
- [ ] 4.1 Playwright at 1280 and 360 px, light and dark: dashboard, events list, event edit, event leads, a user form, companies; screenshots in the PR. Then the impeccable finish review and DESIGN.md from the built result.
|
||||
- Depends on: 3.1
|
||||
- Scope: `solvway-admin-portal/DESIGN.md`, `openspec/changes/add-visual-foundation/tasks.md`
|
||||
- Verify: as 1.1
|
||||
Reference in new issue
Block a user