style: add dark theme color scheme (#7118)

hen the user's browser does not support `light-dark`, fall back to the light theme color scheme.
This commit is contained in:
qupig
2024-12-19 05:37:53 +08:00
committed by GitHub
parent db311e6ff5
commit 318c582043
5 changed files with 17 additions and 2 deletions

View File

@@ -30,10 +30,11 @@ body {
.login-form > .field > .password {
background-color: rgb(244, 247, 252);
background-color: light-dark(rgb(244, 247, 252), #222);
border-radius: 5px;
border: 1px solid #ddd;
border: 1px solid light-dark(#ddd, #333);
box-sizing: border-box;
color: black;
flex: 1;
padding: 16px;
}