Skip to content

Commit

Permalink
use mute icon for muting
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Oct 25, 2024
1 parent 58998f6 commit b01817f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css } from '@emotion/react';
import { from, palette } from '@guardian/source/foundations';
import { SvgAudio } from '@guardian/source/react-components';
import { SvgAudio, SvgAudioMute } from '@guardian/source/react-components';
import { buttonBaseCss } from '../styles';

type ButtonProps = React.ComponentPropsWithoutRef<'button'>;
Expand Down Expand Up @@ -63,7 +63,7 @@ Volume.Mute = ({
...props
}: { isMuted: boolean } & Omit<ButtonProps, 'children'>) => (
<Control aria-label="Mute" {...props}>
<SvgAudio
<SvgAudioMute
theme={{
fill: isMuted ? palette.brandAlt[400] : palette.neutral[46],
}}
Expand Down

0 comments on commit b01817f

Please sign in to comment.