Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities / colors.less
diff options
context:
space:
mode:
Commitc9e625c9dd8f1628c58b10bb165961eae068002f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:30:05 +0800
Committer
 GitHub <noreply@github.com>
2017-08-15 16:30:05 +0800
Files9031e1df36c23e49deecad79df2a272b0d076270 /src/utilities/colors.less
Spectre-Dark-Gruvbox-0.2.15.tar
Spectre-Dark-Gruvbox-0.2.15.tar.gz
Spectre-Dark-Gruvbox-0.2.15.zip
Parent846353cb40512404c5b8d27084a6fbe7b4a47d23 (diff)
Parentd6b5a13424cb56db116483f79d6253205e26757c (diff)
Merge pull request #249 from picturepan2/0.2.15 v0.2.15
0.2.15
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);
+}