refactor: unify theme (#1303)

This commit is contained in:
Himself65
2023-03-04 01:36:20 -06:00
committed by GitHub
parent fe0d78b2d6
commit 4e9f0c97a1
43 changed files with 779 additions and 543 deletions

View File

@@ -1,4 +1,5 @@
import { AffineTheme } from '../../styles';
import { Theme } from '@mui/material';
import {
ButtonProps,
SIZE_DEFAULT,
@@ -38,7 +39,7 @@ export const getSize = (
};
export const getButtonColors = (
theme: AffineTheme,
theme: Theme,
type: ButtonProps['type'],
disabled: boolean,
extend?: {