ayaka417 3 лет назад
Родитель
Сommit
c77e2b50e9

+ 1 - 1
packages/app/src/styles/theme/_hsl-reboot-bootstrap-theme-colors.scss

@@ -73,7 +73,7 @@ $hsl-colors: (
 
 @each $color, $value in $hsl-colors {
   .alert-#{$color} {
-    $alert-color: hsl.contrast($value,0%,90%);
+    $alert-color: rgba(white,90%);
     $alert-bg-color: hsl.darken($value, calc($alert-bg-level + 0.95) * $theme-color-interval);
     $alert-border-color: hsl.darken($value, $alert-border-level * $theme-color-interval);
 

+ 0 - 3
packages/preset-themes/src/styles/christmas.scss

@@ -202,7 +202,4 @@
     }
   }
 
-  .alert-primary {
-    color: white !important;
-  }
 }

+ 0 - 10
packages/preset-themes/src/styles/hufflepuff.scss

@@ -180,13 +180,6 @@
       }
     }
   }
-  .alert-primary {
-    color: white !important;
-  }
-
-  .alert-secondary {
-    color: white !important;
-  }
 }
 
 :root[data-theme='dark'] {
@@ -371,7 +364,4 @@
       border-color: var(--accentcolor) !important;
     }
   }
-  .alert-primary {
-    color: white !important;
-  }
 }

+ 0 - 6
packages/preset-themes/src/styles/spring.scss

@@ -189,10 +189,4 @@
       }
     }
   }
-  .alert-primary {
-    color: white !important;
-  }
-  .alert-secondary {
-    color: white !important;
-  }
 }

+ 0 - 4
packages/preset-themes/src/styles/wood.scss

@@ -192,8 +192,4 @@
       @include page-editor-mode-manager.btn-page-editor-mode-manager(#{hsl.darken(var(--primary), 30%)}, #{hsl.lighten(var(--primary), 15%)}, #{hsl.lighten(var(--primary), 25%)});
     }
   }
-
-  .alert-primary {
-    color: white !important;
-  }
 }