Skip to content

Commit

Permalink
define color once, then inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Oct 16, 2023
1 parent e19484f commit cbd0e24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ function Footer({ t }: Props) {

// render the footer with the localized navigation buttons
return <>
<div data-container="footer" className='py-6'>
<div data-container="footer" className='py-6 color-fg-default color-bg-default color-border-default'>
<nav className="footer-nav d-flex flex-justify-center">
{/* <div className='footer-logo hide-sm mr-6 mb-1 d-inline-flex'><img alt='PBSLogo' src={PBSLogo}></img></div> */}
{(prevSection || nextSection) && <>
<ButtonGroup>
<Button size="large"
className='btn-nav btn-footer pb-5 pt-5
color-fg-default color-bg-default color-border-default'
color-fg-inherit color-bg-inherit color-border-inherit'
onClick={() => navigate(`/${prevSlug}`)}
leadingIcon={prevSection? ArrowLeftIcon: ArrowUpIcon}
>
Expand All @@ -65,8 +65,8 @@ function Footer({ t }: Props) {
}
</Button>
<Button size="large"
className='btn-nav btn-footer pb-5 pt-5
color-fg-default color-bg-default color-border-default'
className='btn-nav btn-footer pb-5 pt-5
color-fg-inherit color-bg-inherit color-border-inherit'
sx={{color:'fg.default', backgroundColor: 'canvas.default'}}
onClick={() => navigate(`/${nextSlug}`)}
trailingIcon={nextSection? ArrowRightIcon: ArrowUpIcon}
Expand All @@ -85,7 +85,7 @@ function Footer({ t }: Props) {
{(!prevSection && !nextSection) && <>
<Button size="large"
className='btn-nav btn-footer
color-fg-default color-bg-default color-border-default'
color-fg-inherit color-bg-inherit color-border-inherit'
onClick={() => navigate(`/${prevSlug}`)}
leadingIcon={ArrowUpIcon}
>
Expand Down

0 comments on commit cbd0e24

Please sign in to comment.