Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add first set of seeds tokens #4

Merged
merged 3 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Button, Dialog } from "@bloom-housing/ui-seeds"
import { Field, Form, t } from "@bloom-housing/ui-components"
import { useForm } from "react-hook-form"
import { AuthContext, MessageContext } from "@bloom-housing/shared-helpers"
import { useRouter } from "next/router"

export interface CopyListingDialogProps {
isOpen: boolean
Expand Down
14 changes: 2 additions & 12 deletions sites/partners/src/layouts/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import React, { useContext } from "react"
import Head from "next/head"
import { useRouter } from "next/router"
import {
SiteHeader,
SiteFooter,
FooterNav,
FooterSection,
t,
MenuLink,
} from "@bloom-housing/ui-components"
import { AuthContext, ExygyFooter, MessageContext } from "@bloom-housing/shared-helpers"
import { SiteHeader, SiteFooter, FooterNav, t, MenuLink } from "@bloom-housing/ui-components"
import { AuthContext, MessageContext } from "@bloom-housing/shared-helpers"
import { Toast } from "@bloom-housing/ui-seeds"

const Layout = (props) => {
Expand Down Expand Up @@ -74,9 +67,6 @@ const Layout = (props) => {
</main>
<SiteFooter>
<FooterNav copyright={`© ${currentYear} • All Rights Reserved`} />
<FooterSection className="bg-black" small>
<ExygyFooter />
</FooterSection>
</SiteFooter>
</div>
</div>
Expand Down
36 changes: 36 additions & 0 deletions sites/public/public/static/fonts/Montserrat.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* latin */
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(./montserrat-latin-400.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
U+FFFD;
}

/* latin */
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(./montserrat-latin-600.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
U+FFFD;
}

/* latin */
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(./montserrat-latin-700.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
U+FFFD;
}

Binary file not shown.
Binary file not shown.
Binary file not shown.
26 changes: 25 additions & 1 deletion sites/public/styles/overrides.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
@import "../public/static/fonts/Montserrat.css";

:root {
// Seeds token overrides

--seeds-font-alt-sans: "Montserrat", "Open Sans", "Helvetica", "Arial", "Verdana", "sans-serif";
--seeds-font-sans: "Montserrat", "Open Sans", "Helvetica", "Arial", "Verdana", "sans-serif";
--seeds-font-serif: "Montserrat", "Droid Serif", "Georgia", "Times", "serif";
--seeds-color-primary-darker: #0b221f;
--seeds-color-primary-dark: #1a5049;
--seeds-color-primary: #297e73;
--seeds-color-primary-light: #59c9ba;
--seeds-color-primary-lighter: #b5e7e0;

// Seeds component & class token overrides
.seeds-button {
--button-border-radius-sm: var(--seeds-rounded-3xl);
--button-border-radius-md: var(--seeds-rounded-3xl);
}

.text-heading-4xl {
font-weight: var(--seeds-font-weight-semibold);
}

// UIC and miscellaneous overrides
.seeds-button {
-webkit-font-smoothing: antialiased; // restore macOS styling that had been unset
}
Expand All @@ -17,7 +41,7 @@
color: var(--seeds-text-color-dark);
text-transform: uppercase;
font-weight: bold;
letter-spacing: .025rem;
letter-spacing: 0.025rem;
}
}
}
Expand Down