2025-12-18 22:31:19 +01:00
|
|
|
import { CSSProperties } from "react";
|
|
|
|
|
|
2025-12-25 19:04:45 +01:00
|
|
|
// Import shared tokens and styles to avoid duplication
|
|
|
|
|
// Note: We can't directly import tokens from shared.ts as it's not exported,
|
|
|
|
|
// so we'll use the shared style objects where possible
|
|
|
|
|
import {
|
|
|
|
|
layoutStyles,
|
|
|
|
|
cardStyles,
|
|
|
|
|
formStyles,
|
|
|
|
|
buttonStyles,
|
|
|
|
|
bannerStyles,
|
|
|
|
|
typographyStyles,
|
|
|
|
|
} from "./shared";
|
|
|
|
|
|
2025-12-18 22:31:19 +01:00
|
|
|
export const authFormStyles: Record<string, CSSProperties> = {
|
|
|
|
|
main: {
|
2025-12-26 18:49:00 +01:00
|
|
|
...layoutStyles.main,
|
2025-12-25 19:04:45 +01:00
|
|
|
...layoutStyles.contentCentered,
|
2025-12-18 22:31:19 +01:00
|
|
|
padding: "1rem",
|
|
|
|
|
},
|
|
|
|
|
container: {
|
|
|
|
|
width: "100%",
|
|
|
|
|
maxWidth: "420px",
|
|
|
|
|
},
|
|
|
|
|
card: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...cardStyles.card,
|
2025-12-18 22:31:19 +01:00
|
|
|
padding: "3rem 2.5rem",
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
textAlign: "center" as const,
|
|
|
|
|
marginBottom: "2.5rem",
|
|
|
|
|
},
|
|
|
|
|
title: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...typographyStyles.pageTitle,
|
2025-12-18 22:31:19 +01:00
|
|
|
fontSize: "2.5rem",
|
2025-12-25 19:04:45 +01:00
|
|
|
textAlign: "center" as const,
|
2025-12-18 22:31:19 +01:00
|
|
|
},
|
|
|
|
|
subtitle: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...typographyStyles.pageSubtitle,
|
|
|
|
|
textAlign: "center" as const,
|
2025-12-18 22:31:19 +01:00
|
|
|
},
|
|
|
|
|
form: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...formStyles.form,
|
2025-12-18 22:31:19 +01:00
|
|
|
gap: "1.5rem",
|
|
|
|
|
},
|
|
|
|
|
field: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...formStyles.field,
|
2025-12-18 22:31:19 +01:00
|
|
|
},
|
|
|
|
|
label: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...formStyles.label,
|
2025-12-18 22:31:19 +01:00
|
|
|
},
|
|
|
|
|
input: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...formStyles.input,
|
2025-12-18 22:31:19 +01:00
|
|
|
},
|
|
|
|
|
button: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...buttonStyles.primaryButton,
|
2025-12-18 22:31:19 +01:00
|
|
|
marginTop: "0.5rem",
|
|
|
|
|
},
|
|
|
|
|
error: {
|
2025-12-25 19:04:45 +01:00
|
|
|
...bannerStyles.errorBanner,
|
2025-12-18 22:31:19 +01:00
|
|
|
textAlign: "center" as const,
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
fontFamily: "'DM Sans', system-ui, sans-serif",
|
|
|
|
|
textAlign: "center" as const,
|
|
|
|
|
marginTop: "2rem",
|
|
|
|
|
color: "rgba(255, 255, 255, 0.5)",
|
|
|
|
|
fontSize: "0.875rem",
|
|
|
|
|
},
|
|
|
|
|
link: {
|
|
|
|
|
color: "#a78bfa",
|
|
|
|
|
textDecoration: "none",
|
|
|
|
|
fontWeight: 500,
|
|
|
|
|
},
|
|
|
|
|
};
|