Skip to content

Commit

Permalink
update buttons to be violet
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewheeler committed Dec 3, 2024
1 parent d672c09 commit 194960b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/app/components/LinkButton/LinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import Link, { LinkProps } from 'next/link';

const BUTTON_STYLES = {
primary: {
button: 'usa-button bg-[#224a58] hover:bg-green',
button:
'usa-button bg-violet-warm-60 hover:bg-violet-warm-50 active:bg-violet-warm-70',
text: 'text-white',
},
secondary: {
Expand Down Expand Up @@ -33,7 +34,7 @@ export function LinkButton({
if (disabled) {
return (
<div
className="usa-button usa-button--disabled self-end justify-self-start bg-[#224a58]"
className="usa-button border-violet-warm-60 self-end justify-self-start"
aria-disabled="true"
role="link"
aria-label={ariaLabel}
Expand Down
2 changes: 1 addition & 1 deletion src/app/engage-with-us/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function Left() {
</Form>
<Button
type="submit"
className="hover:bg-green mt-6 inline-flex h-11 items-center justify-start gap-2.5 rounded bg-[#224a58] px-5 py-3 text-right text-base font-bold text-white"
className="bg-violet-warm-60 hover:bg-violet-warm-50 active:bg-violet-warm-70 mt-6 inline-flex h-11 items-center justify-start gap-2.5 rounded px-5 py-3 text-right text-base font-bold text-white"
>
Send inquiry
</Button>
Expand Down
5 changes: 5 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const config: Config = {
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
'violet-warm': {
50: '#b04abd',
60: '#864381',
70: '#5c395a',
},
},
},
},
Expand Down

0 comments on commit 194960b

Please sign in to comment.