]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/header/suggestion.component.scss
Inject server config in HTML
[github/Chocobozzz/PeerTube.git] / client / src / app / header / suggestion.component.scss
index 1de2f43bd8610d08b8b8ef586d044901684a3795..9163de0b197c7829b0cc8070994dcf56d611f642 100644 (file)
@@ -2,31 +2,33 @@
 
 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));
 }