mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-04 22:09:04 +08:00
fix(Phonetic): fix phonetic color in dark mode (#98)
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user