mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
@@ -55,8 +55,8 @@ export const getLightTheme = (
|
||||
h5: '20px',
|
||||
h6: '18px',
|
||||
base: '16px',
|
||||
xs: '14px',
|
||||
sm: '12px',
|
||||
sm: '14px',
|
||||
xs: '12px',
|
||||
|
||||
family: `Avenir Next, Poppins, ${basicFontFamily}`,
|
||||
numberFamily: `Roboto Mono, ${basicFontFamily}`,
|
||||
|
||||
@@ -213,7 +213,7 @@ export const StyledButton = styled('button', {
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
...getButtonColors(theme, type, {
|
||||
...getButtonColors(theme, type, disabled, {
|
||||
hoverBackground,
|
||||
hoverColor,
|
||||
hoverStyle,
|
||||
|
||||
@@ -66,7 +66,9 @@ export const getButtonColors = (
|
||||
borderColor: theme.colors.primaryColor,
|
||||
},
|
||||
':hover': {
|
||||
borderColor: theme.colors.primaryColor,
|
||||
borderColor: disabled
|
||||
? theme.colors.hoverBackground
|
||||
: theme.colors.primaryColor,
|
||||
},
|
||||
};
|
||||
case 'warning':
|
||||
|
||||
@@ -10,7 +10,7 @@ const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
|
||||
padding: '4px 12px',
|
||||
backgroundColor: theme.colors.tooltipBackground,
|
||||
color: '#fff',
|
||||
fontSize: theme.font.xs,
|
||||
fontSize: theme.font.sm,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user