references/redesign.md
about 610 tokens- greenline
# Redesign
Read this page when a change replaces how a working interface looks while keeping what it does. Refinement keeps; a redesign replaces, and what it must not lose is written down before the first edit.
## Before any edit
1. **Name the depth**: a polish keeps the system and fixes its details, a restyle replaces the material and keeps the structure, a full redesign replaces both. An audit alone writes findings and changes nothing.
2. **Capture the before** at 1440, 768 and 390, and record what each page says and does.
3. **Write the kept list**, page by page: every link, every field (hidden ones and the count of unnamed ones included), every form action and submit control, every handler, every test hook, and the ids and classes a script queries. Headings, figures and images are kept or their loss is recorded. A loss on the kept list fails the kept check at verify; a dropped heading or figure warns, as does the page's words falling below 60 percent of a before that held more than 80.
4. **State the constraint**: what must not change, in one paragraph the owner confirms, such as the routes, the data shown, the brand's colours or the stack.
5. **Audit first**: count the colours, the type sizes and the families; check the measure, the body's leading, the ground, the section spacing, and where colour stands in for hierarchy. Reconstruct the system the page governs itself by, and prove each finding before acting on it.
## The work
- **Keep the stack.** Work in the project's own idiom; reuse its tokens, owners and primitives, and add a primitive only once its need is shown.
- **Fixed order.** Type first, then colour, then the frame, then the states, then the components, each pass leaving the page working.
- **Systems before components.** Shortlist two to five changes that move the system; a behaviour the product never had is a question for the owner, not a repair.
- **Every drop is recorded.** A link, a field, a heading or a sentence that goes is either restored or recorded with its reason.
## Proving it
Re-run the before's inventory on the same pages and widths at verify, and compare the kept counts and the check's findings by tier, before and after, side by side. Separate a loss the conversion caused, which you fix, from a change the new version means, which you ask the owner about. A redesign hands on at careful: its plan is self-contained, one plan per selected change, with stop conditions.