MDL-64494 theme_boost: accessible theme colours
[moodle.git] / theme / boost / scss / moodle / core.scss
index 9084b28..c2d84ff 100644 (file)
@@ -2470,3 +2470,9 @@ $picker-emojis-per-row: 7 !default;
         margin-top: $spacer;
     }
 }
+
+@each $color, $value in $theme-colors {
+    .alert-#{$color} a {
+        color: darken(theme-color-level($color, $alert-color-level), 10%);
+    }
+}