From 8846d7024702e7715163ad0f10c3c8307fddf5e5 Mon Sep 17 00:00:00 2001 From: D3SOX Date: Sat, 1 Jun 2024 18:18:16 +0200 Subject: [PATCH] fix(audioPlaybackSpeed): copy hover color behavior --- src/plugins/audioPlaybackSpeed/components/SpeedIcon.tsx | 2 +- src/plugins/audioPlaybackSpeed/styles.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/audioPlaybackSpeed/components/SpeedIcon.tsx b/src/plugins/audioPlaybackSpeed/components/SpeedIcon.tsx index a59cbb094..c6d4a907d 100644 --- a/src/plugins/audioPlaybackSpeed/components/SpeedIcon.tsx +++ b/src/plugins/audioPlaybackSpeed/components/SpeedIcon.tsx @@ -10,7 +10,7 @@ function SpeedIcon() { xmlns="http://www.w3.org/2000/svg" width="24" height="24" - fill="#e8eaed" + fill="currentColor" viewBox="0 -960 960 960" > diff --git a/src/plugins/audioPlaybackSpeed/styles.css b/src/plugins/audioPlaybackSpeed/styles.css index 98fff293e..8ad784aea 100644 --- a/src/plugins/audioPlaybackSpeed/styles.css +++ b/src/plugins/audioPlaybackSpeed/styles.css @@ -2,4 +2,9 @@ background-color: transparent; height: 100%; z-index: 2; + color: var(--interactive-normal); +} + +.vc-audio-playback-speed-icon:hover{ + color: var(--interactive-active); }