mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
refactor: unify theme (#1303)
This commit is contained in:
@@ -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?: {
|
||||
|
||||
Reference in New Issue
Block a user