Przeglądaj źródła

set svg color for .dropdown-item

Yuki Takei 5 lat temu
rodzic
commit
3b68b6e17d

+ 9 - 0
src/client/styles/scss/theme/_apply-colors.scss

@@ -92,10 +92,19 @@ pre:not(.hljs):not(.CodeMirror-line) {
 
 .dropdown-item {
   color: $color-global;
+
+  svg {
+    fill: $color-global;
+  }
+
   &:active,
   &.active {
     color: $color-dropdown-link-active;
     background-color: $bgcolor-dropdown-link-active;
+
+    svg {
+      fill: $color-dropdown-link-active;
+    }
   }
   &:hover {
     background-color: $light;

+ 0 - 3
src/client/styles/scss/theme/_reboot-bootstrap-theme-colors.scss

@@ -90,9 +90,6 @@ $theme-colors: map-merge($theme-colors, $colors);
       color: $value;
     }
   }
-  .dropdown-item {
-    @include button-outline-svg-icon-variant($color-global, $color-hover: $color-global);
-  }
 }
 
 @each $theme-color, $color in $theme-colors {