Standardize modal buttons and delete confirmations

This commit is contained in:
DCCONSTRUCTIONS
2026-05-02 12:57:54 +03:00
parent adad0bd344
commit 17e007f49d
21 changed files with 869 additions and 73 deletions
+3 -1
View File
@@ -39,9 +39,11 @@
},
"rules": [
"Delete is left of Save inside the right footer action group.",
"Footer buttons use the shared Button primitive with surface='modal'.",
"Inline delete buttons inside edit modals use Button variant='danger' surface='modal', stay transparent until hover, and do not use red danger fills.",
"Save uses Button variant='accent' surface='modal' with local white launcher accent and computed on-accent text.",
"Cancel stays on the left.",
"Close action is circular and transparent until hover.",
"Fields/selects/textareas share the same glass family."
]
}