Standardize modal buttons and delete confirmations
This commit is contained in:
@@ -29,7 +29,17 @@
|
||||
{
|
||||
"id": "matte-glass",
|
||||
"severity": "error",
|
||||
"text": "Popup, dropdown, modal, sidebar, and settings surfaces use dark matte glass with blur, not plain transparency or light foreign backgrounds."
|
||||
"text": "Popup, dropdown, modal, sidebar, and settings surfaces use dark matte glass with blur, not plain transparency, monocolor fills, or light foreign backgrounds."
|
||||
},
|
||||
{
|
||||
"id": "accent-contrast",
|
||||
"severity": "error",
|
||||
"text": "Filled accent controls must use computed on-accent text from the accent-contrast utility."
|
||||
},
|
||||
{
|
||||
"id": "buttons-shared-module",
|
||||
"severity": "error",
|
||||
"text": "Text actions use the shared Button primitive with variant and surface props. Modal footer buttons must use surface='modal'."
|
||||
},
|
||||
{
|
||||
"id": "status-pills",
|
||||
@@ -41,6 +51,16 @@
|
||||
"severity": "warning",
|
||||
"text": "Admin data screens use AdminTable anatomy: table-shell, toolbar, editable cells, circular actions, and shared status/date controls."
|
||||
},
|
||||
{
|
||||
"id": "delete-confirmation",
|
||||
"severity": "error",
|
||||
"text": "Every destructive delete/removal action must open NodeDcDeleteModal before mutating data."
|
||||
},
|
||||
{
|
||||
"id": "inline-delete-buttons",
|
||||
"severity": "error",
|
||||
"text": "Inline delete buttons inside editors and tables stay transparent by default and receive only neutral glass hover; red filled delete buttons are forbidden outside the confirmation modal."
|
||||
},
|
||||
{
|
||||
"id": "taskmanager-calendar",
|
||||
"severity": "warning",
|
||||
|
||||
Reference in New Issue
Block a user