From c6f063dc6a08d3233cada4fcd04f106ed34ca6b5 Mon Sep 17 00:00:00 2001 From: dev Date: Sat, 23 May 2026 13:26:14 +0200 Subject: [PATCH] refactor(alert-dialog): Action/Cancel render + {/if} + {/snippet} diff --git a/src/uix/eidos/components/alert-dialog/alert-dialog-cancel.svelte b/src/uix/eidos/components/alert-dialog/alert-dialog-cancel.svelte index 78f8a830c..19f3240c3 100644 --- a/src/uix/eidos/components/alert-dialog/alert-dialog-cancel.svelte +++ b/src/uix/eidos/components/alert-dialog/alert-dialog-cancel.svelte @@ -6,16 +6,50 @@ * confirmations). Render `Cancel` BEFORE `Action` in DOM order so * the focus scope lands here first. * - * Pass-through over soma's ``. Visual treatment: - * outline button, always neutral palette so it visually contrasts - * with the (potentially destructive) Action. + * Renders an eidos ` + {/if} + {/snippet} diff --git a/src/uix/eidos/components/alert-dialog/alert-dialog.css b/src/uix/eidos/components/alert-dialog/alert-dialog.css index cd8805648..96d9ede64 100644 --- a/src/uix/eidos/components/alert-dialog/alert-dialog.css +++ b/src/uix/eidos/components/alert-dialog/alert-dialog.css @@ -1,134 +1,21 @@ /* - * AlertDialog recipe — Action + Cancel buttons only. + * AlertDialog recipe — Action + Cancel buttons. * * The dialog chrome (overlay, content panel, header, title, etc.) is * painted by `dialog.css`. Soma's AlertDialog re-uses the Dialog runtime * (variant='alertdialog', modal=true), so the same `data-dialog-*` * markers reach the DOM and the same recipe applies. * - * What's alert-dialog-specific: + * Action + Cancel now render as eidos `