sync
[roojs1] / scss / startbootstrap-sb-admin-2 / utilities / _background.scss
diff --git a/scss/startbootstrap-sb-admin-2/utilities/_background.scss b/scss/startbootstrap-sb-admin-2/utilities/_background.scss
new file mode 100644 (file)
index 0000000..b4ceff1
--- /dev/null
@@ -0,0 +1,17 @@
+// Background Gradient Utilities
+
+@each $color, $value in $theme-colors {
+  .bg-gradient-#{$color} {
+    background-color: $value;
+    background-image: linear-gradient(180deg, $value 10%, darken($value, 15%) 100%);
+    background-size: cover;
+  }
+}
+
+// Grayscale Background Utilities
+
+@each $level, $value in $grays {
+  .bg-gray-#{$level} {
+    background-color: $value !important;
+  }
+}