}
variant={"text"}
@@ -45,67 +45,72 @@ const ApplicationFormLayout = (props: ApplicationFormLayoutProps) => {
return (
<>
-
-
-
- {props.listingName}
-
-
-
-
-
-
-
-
-
-
-
- {props.backLink && getBackLink(props.backLink.url, props.backLink.onClickFxn)}
-
- {props.heading}
-
- {props.subheading && {props.subheading}
}
-
- {props.children}
- {props.conductor && (
-
-
-
- {props.conductor.canJumpForwardToReview() && (
-
-
-
- )}
+
+ <>
+
+
+ {props.listingName}
+
- )}
-
+
+
+
+
+
+
+ >
+
+
+ <>
+ {props.children}
+ {props.conductor && (
+
+
+
+ {props.conductor.canJumpForwardToReview() && (
+
+
+
+ )}
+
+ )}
+ >
+
>
)
}
diff --git a/sites/public/src/layouts/forms.module.scss b/sites/public/src/layouts/forms.module.scss
new file mode 100644
index 0000000000..3003bf6195
--- /dev/null
+++ b/sites/public/src/layouts/forms.module.scss
@@ -0,0 +1,14 @@
+.form-layout-container {
+ background-color: var(--seeds-bg-color-canvas);
+ border-top: 1px solid var(--seeds-border-color);
+}
+
+.form-layout {
+ margin-inline: auto;
+ max-width: 100%;
+ @media (min-width: theme("screens.sm")) {
+ margin-bottom: var(--seeds-s20);
+ margin-top: var(--seeds-s12);
+ max-width: var(--seeds-width-lg);
+ }
+}
diff --git a/sites/public/src/layouts/forms.tsx b/sites/public/src/layouts/forms.tsx
index 526b1cb940..84c885e561 100644
--- a/sites/public/src/layouts/forms.tsx
+++ b/sites/public/src/layouts/forms.tsx
@@ -1,21 +1,20 @@
import React from "react"
import Layout from "./application"
import { ApplicationTimeout } from "../components/applications/ApplicationTimeout"
+import styles from "./forms.module.scss"
interface FormLayoutProps {
children?: React.ReactNode
className?: string
}
const FormLayout = (props: FormLayoutProps) => {
- const classNames = [
- "md:mb-20 md:mt-12 mx-auto sm:max-w-lg max-w-full print:my-0 print:max-w-full",
- ]
+ const classNames = [styles["form-layout"]]
if (props.className) classNames.push(props.className)
return (
<>
-
diff --git a/sites/public/src/pages/account/account.module.scss b/sites/public/src/pages/account/account.module.scss
index f1431b1660..b4ed1e3580 100644
--- a/sites/public/src/pages/account/account.module.scss
+++ b/sites/public/src/pages/account/account.module.scss
@@ -24,6 +24,7 @@
.account-settings-label {
font-size: var(--seeds-font-size-sm);
font-weight: var(--seeds-font-weight-bold);
+ color: var(--seeds-input-text-label-color);
}
.application-no-results {
diff --git a/sites/public/src/pages/account/applications.tsx b/sites/public/src/pages/account/applications.tsx
index 793c8aa73a..ee5026e41c 100644
--- a/sites/public/src/pages/account/applications.tsx
+++ b/sites/public/src/pages/account/applications.tsx
@@ -2,12 +2,17 @@ import React, { useEffect, useState, Fragment, useContext } from "react"
import Head from "next/head"
import { t, LoadingOverlay } from "@bloom-housing/ui-components"
import { Button, Card, Heading } from "@bloom-housing/ui-seeds"
-import { PageView, pushGtmEvent, AuthContext, RequireLogin } from "@bloom-housing/shared-helpers"
+import {
+ PageView,
+ pushGtmEvent,
+ AuthContext,
+ RequireLogin,
+ BloomCard,
+} from "@bloom-housing/shared-helpers"
import Layout from "../../layouts/application"
import { StatusItemWrapper, AppWithListing } from "./StatusItemWrapper"
import { MetaTags } from "../../components/shared/MetaTags"
import { UserStatus } from "../../lib/constants"
-import { AccountCard } from "@bloom-housing/shared-helpers/src/views/accounts/AccountCard"
import styles from "../../pages/account/account.module.scss"
@@ -88,14 +93,12 @@ const Applications = () => {
-
-
+
<>
@@ -108,7 +111,7 @@ const Applications = () => {
{!applications && !loading && noApplicationsSection()}
>
-
+
diff --git a/sites/public/src/pages/account/dashboard.tsx b/sites/public/src/pages/account/dashboard.tsx
index e9087870e0..a1b1273f79 100644
--- a/sites/public/src/pages/account/dashboard.tsx
+++ b/sites/public/src/pages/account/dashboard.tsx
@@ -2,12 +2,17 @@ import React, { useEffect, useState, useContext } from "react"
import Head from "next/head"
import { NextRouter, withRouter } from "next/router"
import { t, SiteAlert, AlertBox } from "@bloom-housing/ui-components"
-import { PageView, pushGtmEvent, AuthContext, RequireLogin } from "@bloom-housing/shared-helpers"
+import {
+ PageView,
+ pushGtmEvent,
+ AuthContext,
+ RequireLogin,
+ BloomCard,
+} from "@bloom-housing/shared-helpers"
import Layout from "../../layouts/application"
import { MetaTags } from "../../components/shared/MetaTags"
import { UserStatus } from "../../lib/constants"
import { Button, Card, Grid } from "@bloom-housing/ui-seeds"
-import { AccountCard } from "@bloom-housing/shared-helpers/src/views/accounts/AccountCard"
import styles from "./account.module.scss"
@@ -59,11 +64,12 @@ function Dashboard(props: DashboardProps) {
-
-
+
-
-
+
diff --git a/sites/public/src/pages/account/edit.tsx b/sites/public/src/pages/account/edit.tsx
index a2831a469c..a247b206cd 100644
--- a/sites/public/src/pages/account/edit.tsx
+++ b/sites/public/src/pages/account/edit.tsx
@@ -19,10 +19,15 @@ import {
} from "@bloom-housing/ui-components"
import { Button, Card } from "@bloom-housing/ui-seeds"
import Link from "next/link"
-import { PageView, pushGtmEvent, AuthContext, RequireLogin } from "@bloom-housing/shared-helpers"
+import {
+ PageView,
+ pushGtmEvent,
+ AuthContext,
+ RequireLogin,
+ BloomCard,
+} from "@bloom-housing/shared-helpers"
import { UserStatus } from "../../lib/constants"
import FormsLayout from "../../layouts/forms"
-import { AccountCard } from "@bloom-housing/shared-helpers/src/views/accounts/AccountCard"
import styles from "./account.module.scss"
@@ -150,28 +155,27 @@ const Edit = () => {
return (
-
<>
- {nameAlert && (
- setNameAlert(null)}
- className="my-0"
- inverted
- closeable
- >
- {nameAlert.message}
-
- )}
+
+ {nameAlert && (
+ setNameAlert(null)}
+ className="mb-4"
+ inverted
+ closeable
+ >
+ {nameAlert.message}
+
+ )}
- {dobAlert && (
- setDobAlert(null)}
- className="my-0"
- inverted
- closeable
- >
- {dobAlert.message}
-
- )}
+
+ {dobAlert && (
+ setDobAlert(null)}
+ className="mb-4"
+ inverted
+ closeable
+ >
+ {dobAlert.message}
+
+ )}
- {emailAlert && (
- setEmailAlert(null)}
- inverted
- closeable
- >
- {emailAlert.message}
-
- )}
+
+ {emailAlert && (
+ setEmailAlert(null)}
+ inverted
+ closeable
+ className={"mb-4"}
+ >
+ {emailAlert.message}
+
+ )}
- {passwordAlert && (
- setPasswordAlert(null)}
- className="my-0"
- inverted
- closeable
- >
- {passwordAlert.message}
-
- )}
+
+ {passwordAlert && (
+ setPasswordAlert(null)}
+ className="mb-4"
+ inverted
+ closeable
+ >
+ {passwordAlert.message}
+
+ )}
>
-
+
)
diff --git a/sites/public/src/pages/applications/financial/income.tsx b/sites/public/src/pages/applications/financial/income.tsx
index ea72245968..b056a75241 100644
--- a/sites/public/src/pages/applications/financial/income.tsx
+++ b/sites/public/src/pages/applications/financial/income.tsx
@@ -177,7 +177,7 @@ const ApplicationIncome = () => {
name="income"
type="currency"
label={t("application.financial.income.prompt")}
- caps={true}
+ labelClassName={"text__caps-spaced"}
validation={{ required: true, min: 0.01 }}
error={errors.income}
register={register}
diff --git a/sites/public/src/pages/create-account.tsx b/sites/public/src/pages/create-account.tsx
index 2c18f6790e..860eddf428 100644
--- a/sites/public/src/pages/create-account.tsx
+++ b/sites/public/src/pages/create-account.tsx
@@ -17,10 +17,9 @@ import dayjs from "dayjs"
import customParseFormat from "dayjs/plugin/customParseFormat"
dayjs.extend(customParseFormat)
import { useRouter } from "next/router"
-import { PageView, pushGtmEvent, AuthContext } from "@bloom-housing/shared-helpers"
+import { PageView, pushGtmEvent, AuthContext, BloomCard } from "@bloom-housing/shared-helpers"
import { UserStatus } from "../lib/constants"
import FormsLayout from "../layouts/forms"
-import { AccountCard } from "@bloom-housing/shared-helpers/src/views/accounts/AccountCard"
import accountCardStyles from "./account/account.module.scss"
import styles from "../../styles/create-account.module.scss"
import signUpBenefitsStyles from "../../styles/sign-up-benefits.module.scss"
@@ -91,13 +90,7 @@ export default () => {
diff --git a/sites/public/src/pages/reset-password.tsx b/sites/public/src/pages/reset-password.tsx
index 51227c2bc4..fe1c8a95f7 100644
--- a/sites/public/src/pages/reset-password.tsx
+++ b/sites/public/src/pages/reset-password.tsx
@@ -4,15 +4,14 @@ import { useForm } from "react-hook-form"
import {
Field,
Form,
- FormCard,
- Icon,
t,
AlertBox,
SiteAlert,
setSiteAlertMessage,
} from "@bloom-housing/ui-components"
import { Button } from "@bloom-housing/ui-seeds"
-import { PageView, pushGtmEvent, AuthContext } from "@bloom-housing/shared-helpers"
+import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card"
+import { PageView, pushGtmEvent, AuthContext, BloomCard } from "@bloom-housing/shared-helpers"
import { UserStatus } from "../lib/constants"
import FormsLayout from "../layouts/forms"
@@ -67,53 +66,49 @@ const ResetPassword = () => {
return (
-
-
-
-
{t("authentication.forgotPassword.changePassword")}
-
- {requestError && (
- setRequestError(undefined)} type="alert">
- {requestError}
-
- )}
-
-
-
+
+
+ >
+
)
}
diff --git a/sites/public/styles/create-account.module.scss b/sites/public/styles/create-account.module.scss
index 8eeb43315f..ebfa1a3103 100644
--- a/sites/public/styles/create-account.module.scss
+++ b/sites/public/styles/create-account.module.scss
@@ -1,26 +1,26 @@
.create-account-header {
- color: var(--seeds-color-gray-750);
- font-size: var(--seeds-font-size-sm);
- font-weight: var(--seeds-font-weight-bold);
- display: block;
+ color: var(--seeds-input-text-label-color);
+ font-size: var(--seeds-font-size-sm);
+ font-weight: var(--seeds-font-weight-bold);
+ display: block;
}
.create-account-field {
- color: var(--seeds-color-gray-750);
- font-size: var(--seeds-font-size-sm);
- display: block;
- margin-top: var(--bloom-s3);
+ color: var(--seeds-input-text-label-color);
+ font-size: var(--seeds-font-size-sm);
+ display: block;
+ margin-top: var(--bloom-s3);
}
.create-account-input {
- border-radius: var(--bloom-rounded-lg);
- margin-top: var(--bloom-s2);
+ border-radius: var(--bloom-rounded-lg);
+ margin-top: var(--bloom-s2);
}
.create-account-gap {
- margin-bottom: var(--bloom-s4);
+ margin-bottom: var(--bloom-s4);
}
.create-account-label {
- margin-bottom: var(--bloom-s1);
-}
\ No newline at end of file
+ margin-bottom: var(--bloom-s1);
+}
diff --git a/sites/public/styles/overrides.scss b/sites/public/styles/overrides.scss
index 71842a4cc4..d4664d0f81 100644
--- a/sites/public/styles/overrides.scss
+++ b/sites/public/styles/overrides.scss
@@ -2,10 +2,11 @@
.seeds-button {
-webkit-font-smoothing: antialiased; // restore macOS styling that had been unset
}
-
+
--text-caps-spaced-letter-spacing: var(--bloom-letter-spacing-tight);
--text-caps-spaced-font-weight: 700;
.text__caps-spaced {
text-transform: none;
+ color: var(--seeds-input-text-label-color);
}
}
diff --git a/sites/public/styles/sign-in.module.scss b/sites/public/styles/sign-in.module.scss
deleted file mode 100644
index b97924f850..0000000000
--- a/sites/public/styles/sign-in.module.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-.forgot-password {
- float: right;
- font-size: var(--seeds-font-size-sm);
- text-decoration-line: underline;
- color: var(--seeds-color-blue-900);
-}
\ No newline at end of file
diff --git a/sites/public/styles/sign-up-benefits.module.scss b/sites/public/styles/sign-up-benefits.module.scss
index 8a46239e97..65f9c60f69 100644
--- a/sites/public/styles/sign-up-benefits.module.scss
+++ b/sites/public/styles/sign-up-benefits.module.scss
@@ -1,54 +1,53 @@
.benefits-form-layout {
- @media (min-width: theme("screens.sm")) {
- max-width: var(--seeds-width-lg);
- }
- @media (min-width: theme("screens.md")) {
- max-width: 100%;
- }
+ @media (min-width: theme("screens.sm")) {
+ max-width: var(--seeds-width-lg);
}
- .benefits-container {
- display: flex;
- flex-direction: column;
- justify-content: center;
-
- @media (min-width: theme("screens.md")) {
- flex-direction: row;
- margin-left: var(--seeds-s20);
- }
+ @media (min-width: theme("screens.md")) {
+ max-width: 100%;
}
-
- .benefits-display-hide {
- display: block;
-
- @media (min-width: theme("screens.md")) {
- display: none;
- }
+}
+.benefits-container {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+
+ @media (min-width: theme("screens.md")) {
+ flex-direction: row;
+ margin-left: var(--seeds-s20);
}
-
- .benefits-hide-display {
+}
+
+.benefits-display-hide {
+ display: block;
+
+ @media (min-width: theme("screens.md")) {
display: none;
-
- @media (min-width: theme("screens.md")) {
- display: flex;
- }
}
-
- .benefits-form-container {
+}
+
+.benefits-hide-display {
+ display: none;
+
+ @media (min-width: theme("screens.md")) {
+ display: flex;
+ }
+}
+
+.benefits-form-container {
+ width: 100%;
+ justify-content: center;
+
+ @media (min-width: theme("screens.md")) {
+ max-width: var(--seeds-width-lg);
+ }
+}
+
+.benefits-desktop-container {
+ @media (min-width: theme("screens.md")) {
+ display: flex;
+ flex-direction: column;
+ padding: var(--seeds-s8);
+ max-width: var(--seeds-width-lg);
width: 100%;
- justify-content: center;
-
- @media (min-width: theme("screens.md")) {
- max-width: var(--seeds-width-lg);
- width: max-content;
- }
}
-
- .benefits-desktop-container {
- @media (min-width: theme("screens.md")) {
- display: flex;
- flex-direction: column;
- padding: var(--seeds-s8);
- max-width: var(--seeds-width-lg);
- width: 100%;
- }
- }
\ No newline at end of file
+}
diff --git a/sites/public/tailwind.config.js b/sites/public/tailwind.config.js
index 51aa076671..cf9d186a96 100644
--- a/sites/public/tailwind.config.js
+++ b/sites/public/tailwind.config.js
@@ -17,6 +17,7 @@ module.exports = {
"./src/**/*.tsx",
"../../node_modules/@bloom-housing/shared-helpers/src/views/**/*.tsx",
"../../node_modules/@bloom-housing/ui-components/src/**/*.tsx",
+ "../../node_modules/@bloom-housing/shared-helpers/src/views/**/*.tsx",
],
safelist: [/grid-cols-/],
},