From 7acf6ac38c7960258390aa08fbbfefd525bdc322 Mon Sep 17 00:00:00 2001 From: unix Date: Tue, 7 Apr 2020 18:10:13 +0800 Subject: [PATCH] fix(text): fix redundant default color --- components/text/child.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/text/child.tsx b/components/text/child.tsx index 50957e3..b886cd8 100644 --- a/components/text/child.tsx +++ b/components/text/child.tsx @@ -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,