feat(web): tidy the channel sidebar and let owners delete groups

This commit is contained in:
justme committed 2026-10-16 18:30:58 +08:00
1 parent 6310f93469
commit 6d6490055e
12 files changed
+66 -13

No files matched your search

+6
View File
@@ -34,6 +34,12 @@
font-weight: 600;
}
.danger {
background: var(--danger);
color: var(--on-accent);
font-weight: 600;
}
.quiet {
border-color: var(--line-strong);
background: var(--surface);
+1 -1
View File
@@ -3,7 +3,7 @@ import { Icon, type IconName } from './Icon';
import styles from './Button.module.css';
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
variant?: 'primary' | 'quiet' | 'ghost';
variant?: 'primary' | 'quiet' | 'ghost' | 'danger';
icon?: IconName;
/** 仅图标时必填,作为无障碍名称 */
label?: string;