Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities / colors.less
diff options
context:
space:
mode:
Commit586599108f3b2bde4b739c2b186e9bb705ad0278 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-06-27 22:59:33 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-06-27 22:59:33 +0800
Files80ae53353ce97b6562d1bdb45d42f5cbdaf7874e /src/utilities/colors.less
Spectre-Dark-Gruvbox-586599108f3b2bde4b739c2b186e9bb705ad0278.tar
Spectre-Dark-Gruvbox-586599108f3b2bde4b739c2b186e9bb705ad0278.tar.gz
Spectre-Dark-Gruvbox-586599108f3b2bde4b739c2b186e9bb705ad0278.zip
Parent58b19730a3bcda67ecd6b77abffd8133f2850905 (diff)
Add Colors utilities #205
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..6a2691a
--- /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);
+}
+.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);
+}