fix: Fix password reset page appearance in light mode
This commit is contained in:
parent
bf001f96d6
commit
67d5619ccb
3 changed files with 3 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ mod data;
|
||||||
|
|
||||||
use std::{sync::Arc, time::SystemTime};
|
use std::{sync::Arc, time::SystemTime};
|
||||||
|
|
||||||
use conduwuit::{Err, Result, info, utils};
|
use conduwuit::{Err, Result, utils};
|
||||||
use data::{Data, ResetTokenInfo};
|
use data::{Data, ResetTokenInfo};
|
||||||
use ruma::OwnedUserId;
|
use ruma::OwnedUserId;
|
||||||
|
|
||||||
|
|
@ -85,7 +85,6 @@ impl Service {
|
||||||
|
|
||||||
self.db.save_token(&token, &info);
|
self.db.save_token(&token, &info);
|
||||||
|
|
||||||
info!(?info.user, "Issued a password reset token");
|
|
||||||
Ok(ValidResetToken { token, info })
|
Ok(ValidResetToken { token, info })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ input, button {
|
||||||
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
color: var(--text-color);
|
color: white;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: calc(var(--avatar-size) - 2px);
|
line-height: calc(var(--avatar-size) - 2px);
|
||||||
|
|
||||||
color: oklch(from var(--c1) var(--name-lightness) c h);
|
color: oklch(from var(--c1) calc(l + 0.2) c h);
|
||||||
background-color: var(--c1);
|
background-color: var(--c1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue