fix(text): fix redundant default color

This commit is contained in:
unix
2020-04-07 18:10:13 +08:00
parent 183e40ff5d
commit 7acf6ac38c

View File

@@ -31,7 +31,7 @@ const defaultProps = {
const getTypeColor = (type: NormalTypes, palette: ZeitUIThemesPalette) => {
const colors: { [key in NormalTypes]: string} = {
default: palette.foreground,
default: 'inherit',
secondary: palette.secondary,
success: palette.success,
warning: palette.warning,