Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:dark mode text color issue in friendlink page #878

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/FriendLinks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const FriendLinks: React.FC = () => {
<Layout>
<div className="flex w-full flex-1 flex-col items-center px-4 pt-20">
<div className="flex w-full max-w-md flex-grow flex-col items-center">
<div className="mt-5 text-center text-lg font-bold">友情链接</div>
<div className="mt-5 text-center text-lg font-bold dark:text-gray-50">友情链接</div>
<div className="links flex w-full flex-col items-center gap-y-8 py-5">
{links.map((link, index) => (
<a
Expand All @@ -40,7 +40,7 @@ export const FriendLinks: React.FC = () => {
href={link.href}
target="_blank"
rel="noopener noreferrer"
className="linkItem flex w-full items-center overflow-hidden"
className="linkItem flex w-full items-center overflow-hidden dark:text-gray-50"
>
<div className="mr-3 flex h-8 w-8 flex-shrink-0 items-center justify-center bg-gray-200">
<img src={link.imgSrc} alt={link.title} className="h-full w-full object-cover" />
Expand Down