feat: modify workspace modal style & add workspace setting entry to worksapce card (#1498)

This commit is contained in:
Qi
2023-03-10 16:34:45 +08:00
committed by GitHub
parent 16cbf85bf4
commit d60120ddf1
28 changed files with 100 additions and 158 deletions
+4 -3
View File
@@ -68,9 +68,10 @@ export const StyledIconButton = styled('button', {
color: hoverColor ?? theme.colors.primaryColor,
'::after': {
background:
hoverBackground ?? darker
hoverBackground ||
(darker
? theme.colors.innerHoverBackground
: theme.colors.hoverBackground,
: theme.colors.hoverBackground),
},
...(hoverStyle ?? {}),
},
@@ -116,7 +117,7 @@ export const StyledTextButton = styled('button', {
shape = 'default',
// TODO: Implement type
// eslint-disable-next-line @typescript-eslint/no-unused-vars
type = 'default',
// type = 'default',
}) => {
const { fontSize, borderRadius, padding, height } = getSize(size);
console.log('size', size, height);
+1 -1
View File
@@ -104,7 +104,7 @@ export const getButtonColors = (
};
default:
return {
color: theme.colors.popoverColor,
color: theme.colors.textColor,
borderColor: theme.colors.borderColor,
':hover': {
borderColor: theme.colors.primaryColor,