refactor: fix light mode color issues

This commit is contained in:
moonrailgun 2024-09-22 00:13:57 +08:00
parent d1820416f4
commit fb75a8b654
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import React from 'react';
export const Code: React.FC<React.PropsWithChildren> = React.memo((props) => { export const Code: React.FC<React.PropsWithChildren> = React.memo((props) => {
return ( return (
<span className="rounded-sm border border-zinc-800 bg-zinc-900 px-1 py-0.5"> <span className="rounded-sm border border-zinc-200 bg-zinc-100 px-1 py-0.5 dark:border-zinc-800 dark:bg-zinc-900">
{props.children} {props.children}
</span> </span>
); );

View File

@ -13,7 +13,7 @@ export const DefaultNotFound: React.FC = React.memo(() => {
return ( return (
<div className="flex h-full w-full items-center justify-center"> <div className="flex h-full w-full items-center justify-center">
<Card className="min-w-[320px] bg-zinc-900"> <Card className="min-w-[320px] bg-zinc-50 dark:bg-zinc-900">
<CardHeader> <CardHeader>
<div className="text-center"> <div className="text-center">
<img className="m-auto h-24 w-24" src="/icon.svg" /> <img className="m-auto h-24 w-24" src="/icon.svg" />