Feat(Theme): Support dark mode
This commit is contained in:
36
src/assets/css/pages/sign/sign-in.style.ts
Normal file
36
src/assets/css/pages/sign/sign-in.style.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { createStyles } from 'antd-style'
|
||||
|
||||
export default createStyles(({ token }) => ({
|
||||
title: {
|
||||
marginBottom: token.marginMD,
|
||||
transform: `translateY(-${token.sizeSM}px)`
|
||||
},
|
||||
|
||||
primary: {
|
||||
fontSize: token.fontSizeHeading3,
|
||||
fontWeight: 'bolder',
|
||||
color: token.colorPrimary
|
||||
},
|
||||
|
||||
secondary: {
|
||||
fontSize: token.fontSize
|
||||
},
|
||||
|
||||
form: {
|
||||
width: 300,
|
||||
fontSize: token.fontSize
|
||||
},
|
||||
|
||||
addition: {
|
||||
justifyContent: 'space-between',
|
||||
marginBottom: token.margin,
|
||||
|
||||
a: {
|
||||
flex: '0 0 auto'
|
||||
}
|
||||
},
|
||||
|
||||
footer: {
|
||||
textAlign: 'center'
|
||||
}
|
||||
}))
|
||||
Reference in New Issue
Block a user