Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
fix: Update sign-up buttons in footer
Browse files Browse the repository at this point in the history
This will update the buttons in the "Get started today" footer to use
the semantic-token-style class names and colors for the "primary" and
"primary-accent" buttons.
  • Loading branch information
zstix committed May 9, 2022
1 parent ef6b1e3 commit e99fba6
Showing 1 changed file with 35 additions and 9 deletions.
44 changes: 35 additions & 9 deletions src/components/GetStartedFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ const GetStartedFooter = () => {
return (
<div
css={css`
--nr-green: #1ce783;
--nr-black: #1d252c;
--nr1--color--accent: #1ce783;
--nr1--color--text--primary: #293338;
--nr1--color--background--button--primary--enabled: #293338;
--nr1--color--background--button--primary--hover: #000;
--nr1--color--text--buttton--primary: #fafbfb;
--nr1--color--background--button--primary-accent--enabled: #1CE78;
--nr1--color--background--button--primary-accent--hover: #00ce7c;
--nr1--color--text--buttton--primary-accent: #000;
width: 100%;
height: 120px;
Expand All @@ -22,10 +30,10 @@ const GetStartedFooter = () => {
font-size: 33px;
background-color: var(--nr-green);
background-color: var(--nr1--color--accent);
> h3 {
color: var(--nr-black);
color: var(--nr1--color--text--primary);
font-family: Söhne-Buch;
font-size: 44px;
Expand Down Expand Up @@ -91,8 +99,17 @@ const GetStartedFooter = () => {
as={ExternalLink}
href={SIGNUP_LINK}
css={css`
background-color: var(--nr-black);
color: var(--nr-green);
background-color: var(
--nr1--color--background--button--primary--enabled
);
color: var(--nr1--color--text--buttton--primary);
&:hover {
background-color: var(
--nr1--color--background--button--primary--hover
);
color: var(--nr1--color--text--buttton--primary);
}
`}
>
Sign Up
Expand All @@ -101,9 +118,18 @@ const GetStartedFooter = () => {
as={ExternalLink}
href={DEMO_LINK}
css={css`
background-color: var(--nr-green);
color: var(--nr-black);
border: 1px solid var(--nr-black);
background-color: var(
--nr1--color--background--button--primary-accent--enabled
);
color: var(--nr1--color--text--buttton--primary-accent);
border: 1px solid var(--nr1--color--text--buttton--primary-accent);
&:hover {
background-color: var(
--nr1--color--background--button--primary-accent--hover
);
color: var(--nr1--color--text--buttton--primary-accent);
}
`}
>
Get Demo
Expand Down

0 comments on commit e99fba6

Please sign in to comment.