fix: update design with references

This commit is contained in:
2026-08-28 13:35:09 +05:00
parent 65f12c931b
commit 5093b50f5c
7 changed files with 97 additions and 20 deletions
+14 -1
View File
@@ -6,10 +6,11 @@
icon: Component<{ size?: number; class?: string }>;
label: string;
onclick?: () => void;
variant?: "ghost" | "solid" | "accent";
variant?: "ghost" | "solid" | "accent" | "bare";
size?: number;
disabled?: boolean;
}
let {
icon,
label,
@@ -57,6 +58,18 @@
color: #042;
border-color: var(--cyan);
}
.icon-btn--bare {
width: auto;
height: auto;
padding: 6px;
border: 0;
border-radius: 0;
color: var(--muted);
}
.icon-btn--bare:hover:not(:disabled) {
color: var(--foreground);
border-color: transparent;
}
.icon-btn:disabled {
opacity: 0.5;
cursor: not-allowed;