Bladeren bron

Merge pull request #11463 from grafana/tabbed-close-btn-hover

Fix for tabbed-view btn in light theme
Daniel Lee 7 jaren geleden
bovenliggende
commit
ebbbf170f1
2 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. 1 2
      public/sass/_variables.light.scss
  2. 1 1
      public/sass/components/_tabbed_view.scss

+ 1 - 2
public/sass/_variables.light.scss

@@ -59,9 +59,8 @@ $critical: #ec2128;
 $body-bg: $gray-7;
 $body-bg: $gray-7;
 $page-bg: $gray-7;
 $page-bg: $gray-7;
 $body-color: $gray-1;
 $body-color: $gray-1;
-//$text-color: $dark-4;
 $text-color: $gray-1;
 $text-color: $gray-1;
-$text-color-strong: $white;
+$text-color-strong: $dark-2;
 $text-color-weak: $gray-2;
 $text-color-weak: $gray-2;
 $text-color-faint: $gray-4;
 $text-color-faint: $gray-4;
 $text-color-emphasis: $dark-5;
 $text-color-emphasis: $dark-5;

+ 1 - 1
public/sass/components/_tabbed_view.scss

@@ -43,7 +43,7 @@
     font-size: 120%;
     font-size: 120%;
   }
   }
   &:hover {
   &:hover {
-    color: $white;
+    color: $text-color-strong;
   }
   }
 }
 }