Skip to content

Commit

Permalink
fix(Footer): items inherit outside colors
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVorop committed Oct 19, 2023
1 parent b0dd89f commit 95ff755
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import styled from 'styled-components';
import { gray0 } from '@taskany/colors';
import { gray0, gray9 } from '@taskany/colors';

import { SheepLogo } from './SheepLogo/SheepLogo';
import { Text } from './Text/Text';
Expand All @@ -14,9 +14,10 @@ const StyledFooter = styled.footer`

const StyledFooterMenu = styled.div`
display: flex;
color: ${gray9};
`;

export const FooterItem = styled(Text)`
export const FooterItem = styled(Text).attrs({ color: 'inherit' })`
padding: 0px 10px;
`;
interface FooterProps extends React.HTMLAttributes<HTMLDivElement> {
Expand Down

0 comments on commit 95ff755

Please sign in to comment.