diff --git a/CLAUDE.md b/CLAUDE.md index 6c68b1da..2d300b89 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,6 +42,11 @@ When adding new pages/components: use "ResolutionFlow" branding, ice-cyan gradient accent theme, `.glass-card` / `.glass-card-static` containers, `text-foreground`/`text-muted-foreground` hierarchy. Primary actions use `bg-gradient-brand`. Pages render inside the app shell (CSS Grid: topbar + sidebar + main). Use "Flows" not "Trees" in all user-facing text; use "Projects" not "Procedures" for procedural flows. Reference [UI-DESIGN-SYSTEM.md](UI-DESIGN-SYSTEM.md) for layout patterns, navigation, and component specs. +## Implementation Principles + +- Prefer correct architecture over minimal diff +- If two approaches exist, implement the one that scales, not the one that's faster to write +- Flag any "simpler approach" tradeoffs for product owner review before proceeding --- ## Current State diff --git a/frontend/src/components/account/AccountLayout.tsx b/frontend/src/components/account/AccountLayout.tsx index ec3c18f9..1659e3be 100644 --- a/frontend/src/components/account/AccountLayout.tsx +++ b/frontend/src/components/account/AccountLayout.tsx @@ -2,7 +2,7 @@ import { Outlet } from 'react-router-dom' export function AccountLayout() { return ( -
+
) diff --git a/frontend/src/components/account/DeleteAccountModal.tsx b/frontend/src/components/account/DeleteAccountModal.tsx index 97e93774..53f5b275 100644 --- a/frontend/src/components/account/DeleteAccountModal.tsx +++ b/frontend/src/components/account/DeleteAccountModal.tsx @@ -69,7 +69,7 @@ export function DeleteAccountModal({ onClose }: Props) { onClick={onClose} className={cn( 'rounded-[10px] px-4 py-2 text-sm font-medium', - 'bg-[rgba(255,255,255,0.04)] border border-brand-border text-foreground' + 'bg-white/[0.04] border border-brand-border text-foreground' )} > Cancel diff --git a/frontend/src/components/account/LeaveAccountModal.tsx b/frontend/src/components/account/LeaveAccountModal.tsx index d993b477..b8a8e22a 100644 --- a/frontend/src/components/account/LeaveAccountModal.tsx +++ b/frontend/src/components/account/LeaveAccountModal.tsx @@ -45,7 +45,7 @@ export function LeaveAccountModal({ accountName, onClose }: Props) { onClick={onClose} className={cn( 'rounded-[10px] px-4 py-2 text-sm font-medium', - 'bg-[rgba(255,255,255,0.04)] border border-brand-border text-foreground' + 'bg-white/[0.04] border border-brand-border text-foreground' )} > Cancel diff --git a/frontend/src/components/account/TransferOwnershipModal.tsx b/frontend/src/components/account/TransferOwnershipModal.tsx index a7626c90..ff2120df 100644 --- a/frontend/src/components/account/TransferOwnershipModal.tsx +++ b/frontend/src/components/account/TransferOwnershipModal.tsx @@ -90,7 +90,7 @@ export function TransferOwnershipModal({ members, onClose, onTransferred }: Prop onClick={onClose} className={cn( 'rounded-[10px] px-4 py-2 text-sm font-medium', - 'bg-[rgba(255,255,255,0.04)] border border-brand-border text-foreground' + 'bg-white/[0.04] border border-brand-border text-foreground' )} > Cancel diff --git a/frontend/src/components/admin/CreateCategoryModal.tsx b/frontend/src/components/admin/CreateCategoryModal.tsx index 752d0ce5..a42daf0d 100644 --- a/frontend/src/components/admin/CreateCategoryModal.tsx +++ b/frontend/src/components/admin/CreateCategoryModal.tsx @@ -1,7 +1,8 @@ import { useState } from 'react' -import { cn } from '@/lib/utils' import { Modal } from '@/components/common/Modal' import { Button } from '@/components/ui/Button' +import { Input } from '@/components/ui/Input' +import { Textarea } from '@/components/ui/Textarea' interface CreateCategoryModalProps { isOpen: boolean @@ -93,7 +94,7 @@ export function CreateCategoryModal({ -

{name.length}/100 characters @@ -118,19 +113,13 @@ export function CreateCategoryModal({ -