Feat: dark mode for independent pages (#17045)

This commit is contained in:
KVOJJJin 2025-03-31 10:28:19 +08:00 • committed by GitHub
commit e008faf729
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 66 additions and 110 deletions

View file

@ -1,19 +1,27 @@
import React from 'react'
import style from '../signin/page.module.css'
import InitPasswordPopup from './InitPasswordPopup'
import classNames from '@/utils/classnames'
import cn from '@/utils/classnames'
const Install = () => {
return (
<div className={classNames(
<div className={cn(
'bg-background-body',
style.background,
'flex w-full min-h-screen',
'flex min-h-screen w-full',
'p-4 lg:p-8',
'gap-x-20',
'justify-center lg:justify-start',
)}>
<div className="m-auto block w-96">
<InitPasswordPopup />
<div className={
cn(
'flex w-full shrink-0 flex-col rounded-2xl bg-background-section-burn shadow',
'space-between',
)
}>
<div className="m-auto block w-96">
<InitPasswordPopup />
</div>
</div>
</div>
)