feat(uti): Compiled CSS
[csit.git] / resources / tools / dash / app / pal / static / sass / bootstrap / helpers / _colored-links.scss
diff --git a/resources/tools/dash/app/pal/static/sass/bootstrap/helpers/_colored-links.scss b/resources/tools/dash/app/pal/static/sass/bootstrap/helpers/_colored-links.scss
new file mode 100644 (file)
index 0000000..1cb4182
--- /dev/null
@@ -0,0 +1,12 @@
+@each $color, $value in $theme-colors {
+  .link-#{$color} {
+    color: $value !important; // stylelint-disable-line declaration-no-important
+
+    @if $link-shade-percentage != 0 {
+      &:hover,
+      &:focus {
+        color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage)) !important; // stylelint-disable-line declaration-no-important
+      }
+    }
+  }
+}