phase 1 complete
This commit is contained in:
@@ -3,7 +3,7 @@ import clsx from "clsx";
|
||||
import Button from "../button/Button";
|
||||
|
||||
type CardVariant = "surface" | "panel" | "frosted" | "borderless" | "gradient";
|
||||
type CardPadding = "none" | "sm" | "md" | "lg";
|
||||
type CardPadding = "none" | "xs" | "sm" | "md" | "lg";
|
||||
type CardShadow = "none" | "sm" | "md";
|
||||
|
||||
interface CardProps {
|
||||
@@ -37,6 +37,7 @@ export const Card: React.FC<CardProps> = ({
|
||||
|
||||
const paddingClasses: Record<CardPadding, string> = {
|
||||
none: "p-0",
|
||||
xs: "p-3",
|
||||
sm: "p-4 sm:p-5",
|
||||
md: "p-5 sm:p-6",
|
||||
lg: "p-6 sm:p-8",
|
||||
|
||||
Reference in New Issue
Block a user