Fix Telegram application theme contrast
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m52s
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m52s
This commit is contained in:
@@ -187,7 +187,7 @@ export function ModeratorApplyApp() {
|
||||
const style = useMemo(
|
||||
() =>
|
||||
({
|
||||
"--tg-bg": theme.bg_color ?? (theme.secondary_bg_color ? "#0e1621" : "#ffffff"),
|
||||
"--tg-bg": theme.bg_color ?? "#ffffff",
|
||||
"--tg-secondary-bg": theme.secondary_bg_color ?? "#f4f4f5",
|
||||
"--tg-text": theme.text_color ?? "#000000",
|
||||
"--tg-hint": theme.hint_color ?? "#707579",
|
||||
@@ -206,7 +206,8 @@ export function ModeratorApplyApp() {
|
||||
}, [status]);
|
||||
|
||||
return (
|
||||
<div className="tg-apply-card" style={style}>
|
||||
<main className="tg-apply" style={style}>
|
||||
<div className="tg-apply-card">
|
||||
{status === "loading" && <p className="tg-apply-hint">Loading…</p>}
|
||||
{status === "outside" && (
|
||||
<div className="tg-apply-body">
|
||||
@@ -273,5 +274,6 @@ export function ModeratorApplyApp() {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user