From 4cc49af959bb5e1caae4678fd1c51046998f8042 Mon Sep 17 00:00:00 2001 From: Wessel Kroos Date: Sat, 26 Oct 2024 22:13:47 +0200 Subject: [PATCH] Fix like icon stroke thickness --- src/styles/content.scss | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/src/styles/content.scss b/src/styles/content.scss index 714269d..3208dc5 100644 --- a/src/styles/content.scss +++ b/src/styles/content.scss @@ -1063,30 +1063,19 @@ html[data-ambientlight-enabled] { } /* Like button icon (gets an incorrect theme after switching device themes 2 times) */ - @mixin like-btn { - segmented-like-dislike-button-view-model, - ytd-segmented-like-dislike-button-renderer { - lottie-component path { - &[fill="rgb(255,255,255)"], - &[stroke="rgb(255,255,255)"], - &[fill="rgb(0,0,0)"], - &[stroke="rgb(0,0,0)"] - { - @content; - } + segmented-like-dislike-button-view-model, + ytd-segmented-like-dislike-button-renderer { + lottie-component path { + &[fill="rgb(255,255,255)"], + &[stroke="rgb(255,255,255)"], + &[fill="rgb(0,0,0)"], + &[stroke="rgb(0,0,0)"] + { + fill: inherit; + stroke: inherit; } } } - @include like-btn() { - stroke: rgba(0,0,0); - fill: rgba(0,0,0); - } - &[dark] { - @include like-btn() { - stroke: rgba(255,255,255); - fill: rgba(255,255,255); - } - } /* Cosmetics - Rich metadata */