fix(Phonetic): fix phonetic color in dark mode (#98)

This commit is contained in:
CLDXiang
2021-03-08 22:11:20 +08:00
committed by GitHub
parent f46343d389
commit 81fe3f985e

View File

@@ -7,9 +7,9 @@ export type PhoneticProps = {
const Phonetic: React.FC<PhoneticProps> = ({ usphone, ukphone }) => {
return (
<div className="pt-1 text-sm font-normal text-gray-600 text-center space-x-5">
<div className="pt-1 text-sm font-normal text-gray-600 dark:text-gray-400 transition-colors duration-300 text-center space-x-5">
{usphone.length > 1 && <span>{`US: [${usphone}]`}</span>}
{ukphone.length > 1 && <span>{`UK:[${ukphone}]`}</span>}
{ukphone.length > 1 && <span>{`UK: [${ukphone}]`}</span>}
</div>
)
}