From 7b5f947c02c03f8585a11a0d5bc7fe7f64365723 Mon Sep 17 00:00:00 2001 From: lorcan-codes <126797224+lorcan-codes@users.noreply.github.com> Date: Fri, 4 Aug 2023 21:45:48 +0500 Subject: [PATCH] Fix header and footer links after changes && tokens improvements (#1156) --- .../website/src/components/Footer/Footer.tsx | 12 +++++----- .../Layout/Navbar/MenuItemWithDropdown.tsx | 2 +- .../components/Layout/Navbar/NavBarLink.tsx | 3 ++- .../Layout/Navbar/NavbarHeading.tsx | 1 + .../src/components/LinkList/LinkList.tsx | 4 ++-- .../website/src/pages/(components)/Navbar.tsx | 5 ++++ .../@slug/(components)/RoadmapPost.tsx | 2 +- .../website/src/style/algolia/overrides.css | 2 +- workspaces/website/src/style/global-styles.ts | 2 +- workspaces/website/src/style/tokens.ts | 24 ++++++++----------- 10 files changed, 30 insertions(+), 27 deletions(-) diff --git a/workspaces/website/src/components/Footer/Footer.tsx b/workspaces/website/src/components/Footer/Footer.tsx index 4a827ccc99d..7523167cbe1 100644 --- a/workspaces/website/src/components/Footer/Footer.tsx +++ b/workspaces/website/src/components/Footer/Footer.tsx @@ -51,8 +51,7 @@ type RootProps = { const Root = ({ children, seo, ...rest }: RootProps) => { return ( - - + { opacity="1" /> - + {seo?.footerText} @@ -115,7 +114,7 @@ const Root = ({ children, seo, ...rest }: RootProps) => { size="small" fontWeight="normal" variant="unstyled" - color="footer-link-fg" + color="fg-default-light" _hover={{ color: "fg-default-hover", }} @@ -133,7 +132,6 @@ const Root = ({ children, seo, ...rest }: RootProps) => { - ); }; @@ -200,7 +198,7 @@ const Column = ({ title, children, color, sx }: ColumnProps) => { "& > *": { paddingBlock: "0.5rem", }, - color: "footer-link-fg", + color: "fg-default-light", }} > {children} @@ -225,6 +223,8 @@ const FooterLink = ({ children, href, isExternal }: FooterLinkProps) => { justifyContent="flex-start" textDecoration="none" gap="4px" + color="fg-default-light" + fontWeight={400} _hover={{ color: "fg-default-hover", }} diff --git a/workspaces/website/src/components/Layout/Navbar/MenuItemWithDropdown.tsx b/workspaces/website/src/components/Layout/Navbar/MenuItemWithDropdown.tsx index 3accf7c9975..1793d53f98e 100644 --- a/workspaces/website/src/components/Layout/Navbar/MenuItemWithDropdown.tsx +++ b/workspaces/website/src/components/Layout/Navbar/MenuItemWithDropdown.tsx @@ -26,7 +26,7 @@ export const MenuItemWithDropdown = ({ children, label }: Props) => ( <>