Commit ee99031c authored by tom's avatar tom

subtle button variant

parent 03ccb3bf
......@@ -106,10 +106,30 @@ const variantSimple = defineStyle((props) => {
};
});
const variantSubtle = defineStyle((props) => {
const { colorScheme: c } = props;
return {
bg: 'transparent',
color: mode(`${ c }.700`, 'gray.400')(props),
_active: {
color: mode(`${ c }.700`, 'gray.50')(props),
bg: mode(`${ c }.50`, 'gray.800')(props),
_hover: {
color: mode(`${ c }.700`, 'gray.50')(props),
},
},
_hover: {
color: `${ c }.400`,
},
};
});
const variants = {
solid: variantSolid,
outline: variantOutline,
simple: variantSimple,
subtle: variantSubtle,
};
const baseStyle = defineStyle({
......
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