Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities / colors.less
diff options
context:
space:
mode:
1 files changed, 45 insertions, 0 deletions
-rw-r--r--src/utilities/colors.less45
diff --git a/src/utilities/colors.less b/src/utilities/colors.less
new file mode 100644
index 0000000..64f7689
--- /dev/null
+++ b/src/utilities/colors.less
@@ -0,0 +1,45 @@
+// Text colors
+.text-primary {
+ .text-color-variant(@primary-color);
+}
+.text-secondary {
+ .text-color-variant(@secondary-color-dark);
+}
+.text-gray {
+ .text-color-variant(@gray-color);
+}
+.text-light {
+ .text-color-variant(@light-color);
+}
+.text-success {
+ .text-color-variant(@control-color-success);
+}
+.text-warning {
+ .text-color-variant(@control-color-warning);
+}
+.text-error {
+ .text-color-variant(@control-color-error);
+}
+
+// Background colors
+.bg-primary {
+ .bg-color-variant(@primary-color);
+}
+.bg-secondary {
+ .bg-color-variant(@secondary-color);
+}
+.bg-dark {
+ .bg-color-variant(@dark-color);
+}
+.bg-gray {
+ .bg-color-variant(@bg-color);
+}
+.bg-success {
+ .bg-color-variant(@control-color-success);
+}
+.bg-warning {
+ .bg-color-variant(@control-color-warning);
+}
+.bg-error {
+ .bg-color-variant(@control-color-error);
+}