Add styles for danger zone section

This commit is contained in:
Alexander Zaytsev
2026-03-05 17:31:48 +01:00
parent 74dc92fd39
commit 615ac948c8
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -62,6 +62,16 @@
}
}
.settings__section--negative {
h2 {
color: var(--color-negative);
}
.divider {
--divider-color: oklch(var(--lch-red-light));
}
}
.settings__section:has(.settings__scrollable-list) {
@media (min-width: 640px) {
display: flex;
@@ -1,7 +1,7 @@
<% if Current.account.cancellable? && Current.user.owner? %>
<section class="settings__section">
<section class="settings__section settings__section--negative">
<header>
<h2 class="divider txt-negative">Danger zone</h2>
<h2 class="divider">Danger zone</h2>
<div>Permanently delete your account and all its data, including users, boards, and cards.</div>
</header>