refactor: add dark mode for login page

This commit is contained in:
moonrailgun 2023-12-09 00:49:51 +08:00
parent e1638de5e8
commit 73bc9e0b3c

View File

@ -24,7 +24,7 @@ export const Login: React.FC = React.memo(() => {
const { allowRegister } = useGlobalConfig(); const { allowRegister } = useGlobalConfig();
return ( return (
<div className="w-full h-full flex justify-center items-center"> <div className="w-full h-full flex justify-center items-center dark:bg-gray-900">
<div className="w-80 -translate-y-1/4"> <div className="w-80 -translate-y-1/4">
<div className="text-center"> <div className="text-center">
<img className="w-24 h-24" src="/icon.svg" /> <img className="w-24 h-24" src="/icon.svg" />