Add clear button to Assist debug page (#23774)

* Add clear button to Assist debug page

* Move destructive to ha-button
This commit is contained in:
Jan-Philipp Benecke
2025-01-18 08:27:30 +01:00
committed by GitHub
parent 8efaf2b031
commit d67c463b98
2 changed files with 12 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ export class HaButton extends Button {
.slot-container {
overflow: var(--button-slot-container-overflow, visible);
}
:host([destructive]) {
--mdc-theme-primary: var(--error-color);
}
`,
];
}