mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Fix password reset page appearance in light mode
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user