Skip to content

Commit

Permalink
feat: ✨ 登录页修改
Browse files Browse the repository at this point in the history
  • Loading branch information
G committed Dec 18, 2023
1 parent 6c97c4d commit 12f1295
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/admin/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function App() {
colorSuccess: '#22C55E',
colorWarning: '#FFAB00',
colorError: '#FF5630',
colorLink: '#00A76F',
colorLink: preset,
},
}}
customToken={{
Expand Down
5 changes: 5 additions & 0 deletions apps/admin/src/views/login/index.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ const useStyles = createStyles(({ token }) => ({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
position: 'relative',
// eslint-disable-next-line global-require
background: `linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)) center center / cover no-repeat, url(${overlay})`,
'.logo': {
width: '100%',
padding: token.paddingSM,
position: 'absolute',
top: 0,
left: 0,
},
},
}));
Expand Down

0 comments on commit 12f1295

Please sign in to comment.