X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fsuggestion.component.scss;h=41ca34d5a9b499e9023b21c82af19e4dbfbe7cbc;hb=9df52d660feb722404be00a50f3c8a612bec1c15;hp=1de2f43bd8610d08b8b8ef586d044901684a3795;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/suggestion.component.scss b/client/src/app/header/suggestion.component.scss index 1de2f43bd..41ca34d5a 100644 --- a/client/src/app/header/suggestion.component.scss +++ b/client/src/app/header/suggestion.component.scss @@ -1,32 +1,35 @@ -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; a { @include disable-default-a-behaviour; + width: 100%; - &, &:hover { - color: var(--mainForegroundColor); + &, + &:hover { + color: pvar(--mainForegroundColor); &.focus-visible { - background-color: var(--mainHoverColor); - color: var(--mainBackgroundColor); + background-color: pvar(--mainHoverColor); + color: pvar(--mainBackgroundColor); } } } .bg-gray { - background-color: var(--mainBackgroundColor); + background-color: pvar(--mainBackgroundColor); } .text-gray-light { - color: var(--mainForegroundColor); + color: pvar(--mainForegroundColor); } my-global-icon { + @include apply-svg-color(pvar(--mainForegroundColor)); + width: 17px; position: relative; top: -2px; margin: 5px; - - @include apply-svg-color(var(--mainForegroundColor)); }