Commit 5f5bf35b authored by tom's avatar tom

button ghost

parent 672e3dbc
...@@ -106,9 +106,8 @@ const variantSimple = defineStyle((props) => { ...@@ -106,9 +106,8 @@ const variantSimple = defineStyle((props) => {
}; };
}); });
const variantSubtle = defineStyle((props) => { const variantGhost = defineStyle((props) => {
const { colorScheme: c } = props; const { colorScheme: c } = props;
const activeBg = mode(`${ c }.50`, 'gray.800')(props); const activeBg = mode(`${ c }.50`, 'gray.800')(props);
return { return {
...@@ -128,10 +127,23 @@ const variantSubtle = defineStyle((props) => { ...@@ -128,10 +127,23 @@ const variantSubtle = defineStyle((props) => {
}; };
}); });
const variantSubtle = defineStyle((props) => {
const { colorScheme: c } = props;
return {
bg: `${ c }.100`,
color: `${ c }.600`,
_hover: {
color: 'blue.400',
},
};
});
const variants = { const variants = {
solid: variantSolid, solid: variantSolid,
outline: variantOutline, outline: variantOutline,
simple: variantSimple, simple: variantSimple,
ghost: variantGhost,
subtle: variantSubtle, subtle: variantSubtle,
}; };
......
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