Skip to content

Commit

Permalink
fix: wrong monochrome logo color (#451)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Barkmann <p.barkmann@mytaxi.com>
  • Loading branch information
phllipo and Phillip Barkmann authored May 28, 2024
1 parent 0e6a5d6 commit 3a8fc69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Logo/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ interface LogoProps {
}

const monochromeCss = {
[applyPrefix('logo-free', 's')]: getSemanticValue('logo-now')
[applyPrefix('logo-free', 's')]: getSemanticValue('logo-subtitle'),
[applyPrefix('logo-now', 's')]: getSemanticValue('logo-subtitle')
};

const Logo: React.FC<LogoProps> = ({ monochrome, variant }: LogoProps) => {
Expand Down
7 changes: 7 additions & 0 deletions src/components/Logo/docs/Logo.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export const Business: Story = {
}
};

export const BusinessMonochrome: Story = {
args: {
variant: 'business',
monochrome: true
}
};

export const Monochrome: Story = {
args: {
monochrome: true
Expand Down

0 comments on commit 3a8fc69

Please sign in to comment.