Implement S and XS Rule Card

This commit is contained in:
adilallo
2026-02-05 14:18:30 -07:00
parent fc5933e6ba
commit 7e2348048a
5 changed files with 132 additions and 51 deletions
+39 -1
View File
@@ -39,7 +39,7 @@ export default {
},
size: {
control: { type: "select" },
options: ["L", "M", "l", "m"],
options: ["XS", "S", "M", "L", "xs", "s", "m", "l"],
description: "Size variant of the card",
},
onClick: { action: "clicked" },
@@ -186,6 +186,44 @@ export const SizeMedium = {
},
};
export const SizeSmall = {
args: {
title: "Consensus clusters",
description:
"Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council.",
backgroundColor: "bg-[var(--color-surface-default-brand-lime)]",
expanded: false,
size: "S",
icon: (
<Image
src="assets/Icon_Sociocracy.svg"
alt="Sociocracy"
width={56}
height={56}
/>
),
},
};
export const SizeExtraSmall = {
args: {
title: "Consensus clusters",
description:
"Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council.",
backgroundColor: "bg-[var(--color-surface-default-brand-lime)]",
expanded: false,
size: "XS",
icon: (
<Image
src="assets/Icon_Sociocracy.svg"
alt="Sociocracy"
width={8}
height={8}
/>
),
},
};
export const ExpandedMedium = {
args: {
title: "Mutual Aid Mondays",