update
This commit is contained in:
@@ -14,7 +14,7 @@ export type ThemeProps = {
|
||||
mutedForegroundColor?: string;
|
||||
borderColor?: string;
|
||||
radius?: "none" | "sm" | "md" | "lg" | "xl";
|
||||
buttonRadius?: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
||||
buttonRadius?: "none" | "sm" | "md" | "lg" | "xl";
|
||||
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
||||
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
||||
};
|
||||
@@ -33,7 +33,6 @@ const buttonRadiusMap: Record<NonNullable<ThemeProps["buttonRadius"]>, string> =
|
||||
md: "0.5rem",
|
||||
lg: "0.75rem",
|
||||
xl: "1rem",
|
||||
full: "9999px",
|
||||
};
|
||||
|
||||
const shadowMap: Record<NonNullable<ThemeProps["shadow"]>, string> = {
|
||||
|
||||
@@ -68,7 +68,6 @@ export const Root: RootConfig<{
|
||||
{ label: "Medium", value: "md" },
|
||||
{ label: "Large", value: "lg" },
|
||||
{ label: "Extra large", value: "xl" },
|
||||
{ label: "Full (pill)", value: "full" },
|
||||
],
|
||||
},
|
||||
shadow: {
|
||||
|
||||
Reference in New Issue
Block a user