fix(web): enforce single primary button per visible context #74
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref:
docs/STYLE.md§ Components / ButtonsSeveral forms show multiple mauve-styled buttons simultaneously:
web/src/components/items/CreateItemPane.tsx— Create + Cancel both styled prominentlyweb/src/pages/ProjectsPage.tsx— Create Project / Save Changes alongside Cancelweb/src/pages/SchemasPage.tsx— Save + Cancel in inline table editsFix: Keep only the primary action (Create/Save) as
.btn-primary(mauve). Cancel buttons should use secondary style (background: var(--ctp-surface0),border: var(--ctp-surface1),color: var(--ctp-text)).