Commit f76cf185 by G

the variant for the base button

parent 92cef8ce
import { VariantProps, createRestyleComponent, createVariant } from "@shopify/restyle";
import Box from "@components/bases/Box";
import { type VariantProps, createRestyleComponent, createVariant } from "@shopify/restyle";
import type { Theme } from "@themes/Theme";
export const cardVariants = createVariant<Theme, "cardVariants">({
......@@ -8,6 +9,20 @@ export const cardVariants = createVariant<Theme, "cardVariants">({
phone: "s",
tablet: "m",
},
backgroundColor: "secondary",
backgroundColor: "white",
},
});
export const buttonVariants = createVariant<Theme, "buttonVariants">({
themeKey: "buttonVariants",
defaults: {
backgroundColor: "primary",
color: "secondary",
height: 50,
borderRadius: 10,
margin: {
phone: "s",
tablet: "m",
},
},
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment