fomantic-ui 2.9.3-beta.56 → 2.9.3-beta.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +138 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +2 -2
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +7 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +2 -2
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/emoji.css +1 -1
  42. package/dist/components/emoji.min.css +1 -1
  43. package/dist/components/feed.css +1 -1
  44. package/dist/components/feed.min.css +1 -1
  45. package/dist/components/flag.css +1 -1
  46. package/dist/components/flag.min.css +1 -1
  47. package/dist/components/flyout.css +1 -1
  48. package/dist/components/flyout.js +1 -1
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +1 -1
  51. package/dist/components/form.css +1 -1
  52. package/dist/components/form.js +1 -1
  53. package/dist/components/form.min.css +1 -1
  54. package/dist/components/form.min.js +1 -1
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +1 -1
  58. package/dist/components/header.min.css +1 -1
  59. package/dist/components/icon.css +1 -1
  60. package/dist/components/icon.min.css +1 -1
  61. package/dist/components/image.css +1 -1
  62. package/dist/components/image.min.css +1 -1
  63. package/dist/components/input.css +1 -1
  64. package/dist/components/input.min.css +1 -1
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -1
  68. package/dist/components/label.min.css +1 -1
  69. package/dist/components/list.css +1 -1
  70. package/dist/components/list.min.css +1 -1
  71. package/dist/components/loader.css +1 -1
  72. package/dist/components/loader.min.css +1 -1
  73. package/dist/components/menu.css +1 -1
  74. package/dist/components/menu.min.css +1 -1
  75. package/dist/components/message.css +1 -1
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +1 -1
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +1 -1
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +1 -1
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +1 -1
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +1 -1
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +1 -1
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +1 -1
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +1 -1
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +1 -1
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +1 -1
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +1 -1
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +1 -1
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +1 -1
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +1 -1
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +1 -1
  127. package/dist/components/state.js +1 -1
  128. package/dist/components/state.min.js +1 -1
  129. package/dist/components/statistic.css +1 -1
  130. package/dist/components/statistic.min.css +1 -1
  131. package/dist/components/step.css +1 -1
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +1 -1
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +1 -1
  137. package/dist/components/tab.css +1 -1
  138. package/dist/components/tab.js +1 -1
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +1 -1
  141. package/dist/components/table.css +1 -1
  142. package/dist/components/table.min.css +1 -1
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +1 -1
  146. package/dist/components/toast.js +1 -1
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +1 -1
  149. package/dist/components/transition.css +1 -1
  150. package/dist/components/transition.js +1 -1
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +1 -1
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +232 -53
  156. package/dist/semantic.js +26 -26
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +1 -1
  159. package/package.json +2 -2
  160. package/src/definitions/modules/calendar.less +29 -0
  161. package/src/definitions/modules/dropdown.less +10 -0
  162. package/src/definitions/modules/popup.less +2 -2
  163. package/src/themes/default/collections/table.variables +8 -8
  164. package/src/themes/default/elements/button.variables +7 -7
  165. package/src/themes/default/elements/label.variables +1 -1
  166. package/src/themes/default/globals/site.variables +339 -339
  167. package/src/themes/default/globals/variation.variables +1 -0
  168. package/src/themes/default/modules/popup.variables +1 -1
  169. package/src/themes/default/modules/toast.variables +5 -5
  170. package/src/themes/default/views/item.variables +5 -5
  171. package/src/themes/flat/collections/form.variables +4 -4
  172. package/src/themes/flat/globals/site.variables +1 -1
  173. package/src/themes/material/globals/site.variables +1 -1
@@ -189,8 +189,8 @@
189
189
 
190
190
  /* Input Text Color */
191
191
  @inputColor: @textColor;
192
- @inputPlaceholderColor: lighten(@inputColor, 75);
193
- @inputPlaceholderFocusColor: lighten(@inputColor, 45);
192
+ @inputPlaceholderColor: if(iscolor(@inputColor), lighten(@inputColor, 75), @inputColor);
193
+ @inputPlaceholderFocusColor: if(iscolor(@inputColor), lighten(@inputColor, 45), @inputColor);
194
194
 
195
195
  /* Line Height Default For Inputs in Browser (Descenders are 17px at 14px base em) */
196
196
  @inputLineHeight: unit((17 / 14), em);
@@ -246,7 +246,7 @@
246
246
 
247
247
  @linkColor: #4183c4;
248
248
  @linkUnderline: none;
249
- @linkHoverColor: darken(saturate(@linkColor, 20), 15, relative);
249
+ @linkHoverColor: if(iscolor(@linkColor), darken(saturate(@linkColor, 20), 15, relative), @linkColor);
250
250
  @linkHoverUnderline: @linkUnderline;
251
251
 
252
252
  /* -------------------
@@ -394,21 +394,21 @@
394
394
  @blackBackground: #f4f4f4;
395
395
 
396
396
  /* --- Colored Headers --- */
397
- @primaryHeaderColor: darken(@primaryTextColor, 5);
398
- @secondaryHeaderColor: darken(@secondaryTextColor, 5);
399
- @redHeaderColor: darken(@redTextColor, 5);
400
- @oliveHeaderColor: darken(@oliveTextColor, 5);
401
- @greenHeaderColor: darken(@greenTextColor, 5);
402
- @yellowHeaderColor: darken(@yellowTextColor, 5);
403
- @blueHeaderColor: darken(@blueTextColor, 5);
404
- @tealHeaderColor: darken(@tealTextColor, 5);
405
- @pinkHeaderColor: darken(@pinkTextColor, 5);
406
- @violetHeaderColor: darken(@violetTextColor, 5);
407
- @purpleHeaderColor: darken(@purpleTextColor, 5);
408
- @orangeHeaderColor: darken(@orangeTextColor, 5);
409
- @brownHeaderColor: darken(@brownTextColor, 5);
410
- @greyHeaderColor: darken(@greyTextColor, 5);
411
- @blackHeaderColor: darken(@blackTextColor, 5);
397
+ @primaryHeaderColor: if(iscolor(@primaryTextColor), darken(@primaryTextColor, 5), @primaryTextColor);
398
+ @secondaryHeaderColor: if(iscolor(@secondaryTextColor), darken(@secondaryTextColor, 5), @secondaryTextColor);
399
+ @redHeaderColor: if(iscolor(@redTextColor), darken(@redTextColor, 5), @redTextColor);
400
+ @oliveHeaderColor: if(iscolor(@oliveTextColor), darken(@oliveTextColor, 5), @oliveTextColor);
401
+ @greenHeaderColor: if(iscolor(@greenTextColor), darken(@greenTextColor, 5), @greenTextColor);
402
+ @yellowHeaderColor: if(iscolor(@yellowTextColor), darken(@yellowTextColor, 5), @yellowTextColor);
403
+ @blueHeaderColor: if(iscolor(@blueTextColor), darken(@blueTextColor, 5), @blueTextColor);
404
+ @tealHeaderColor: if(iscolor(@tealTextColor), darken(@tealTextColor, 5), @tealTextColor);
405
+ @pinkHeaderColor: if(iscolor(@pinkTextColor), darken(@pinkTextColor, 5), @pinkTextColor);
406
+ @violetHeaderColor: if(iscolor(@violetTextColor), darken(@violetTextColor, 5), @violetTextColor);
407
+ @purpleHeaderColor: if(iscolor(@purpleTextColor), darken(@purpleTextColor, 5), @purpleTextColor);
408
+ @orangeHeaderColor: if(iscolor(@orangeTextColor), darken(@orangeTextColor, 5), @orangeTextColor);
409
+ @brownHeaderColor: if(iscolor(@brownTextColor), darken(@brownTextColor, 5), @brownTextColor);
410
+ @greyHeaderColor: if(iscolor(@greyTextColor), darken(@greyTextColor, 5), @greyTextColor);
411
+ @blackHeaderColor: if(iscolor(@blackTextColor), darken(@blackTextColor, 5), @blackTextColor);
412
412
 
413
413
  /* --- Colored Text --- */
414
414
  @primaryTextColor: @invertedTextColor;
@@ -479,37 +479,37 @@
479
479
  @blackBorderColor: @blackTextColor;
480
480
 
481
481
  /* --- Shadows --- */
482
- @primaryRibbonShadow: darken(@primaryColor, 10);
483
- @secondaryRibbonShadow: darken(@secondaryColor, 10);
484
- @redRibbonShadow: darken(@red, 10);
485
- @orangeRibbonShadow: darken(@orange, 10);
486
- @yellowRibbonShadow: darken(@yellow, 10);
487
- @oliveRibbonShadow: darken(@olive, 10);
488
- @greenRibbonShadow: darken(@green, 10);
489
- @tealRibbonShadow: darken(@teal, 10);
490
- @blueRibbonShadow: darken(@blue, 10);
491
- @violetRibbonShadow: darken(@violet, 10);
492
- @purpleRibbonShadow: darken(@purple, 10);
493
- @pinkRibbonShadow: darken(@pink, 10);
494
- @brownRibbonShadow: darken(@brown, 10);
495
- @greyRibbonShadow: darken(@grey, 10);
496
- @blackRibbonShadow: darken(@black, 10);
497
-
498
- @primaryInvertedRibbonShadow: darken(@lightPrimaryColor, 10);
499
- @secondaryInvertedRibbonShadow: darken(@lightSecondaryColor, 10);
500
- @redInvertedRibbonShadow: darken(@lightRed, 10);
501
- @orangeInvertedRibbonShadow: darken(@lightOrange, 10);
502
- @yellowInvertedRibbonShadow: darken(@lightYellow, 10);
503
- @oliveInvertedRibbonShadow: darken(@lightOlive, 10);
504
- @greenInvertedRibbonShadow: darken(@lightGreen, 10);
505
- @tealInvertedRibbonShadow: darken(@lightTeal, 10);
506
- @blueInvertedRibbonShadow: darken(@lightBlue, 10);
507
- @violetInvertedRibbonShadow: darken(@lightViolet, 10);
508
- @purpleInvertedRibbonShadow: darken(@lightPurple, 10);
509
- @pinkInvertedRibbonShadow: darken(@lightPink, 10);
510
- @brownInvertedRibbonShadow: darken(@lightBrown, 10);
511
- @greyInvertedRibbonShadow: lighten(@lightGrey, 5);
512
- @blackInvertedRibbonShadow: lighten(@lightBlack, 5);
482
+ @primaryRibbonShadow: if(iscolor(@primaryColor), darken(@primaryColor, 10), @primaryColor);
483
+ @secondaryRibbonShadow: if(iscolor(@secondaryColor), darken(@secondaryColor, 10), @secondaryColor);
484
+ @redRibbonShadow: if(iscolor(@red), darken(@red, 10), @red);
485
+ @orangeRibbonShadow: if(iscolor(@orange), darken(@orange, 10), @orange);
486
+ @yellowRibbonShadow: if(iscolor(@yellow), darken(@yellow, 10), @yellow);
487
+ @oliveRibbonShadow: if(iscolor(@olive), darken(@olive, 10), @olive);
488
+ @greenRibbonShadow: if(iscolor(@green), darken(@green, 10), @green);
489
+ @tealRibbonShadow: if(iscolor(@teal), darken(@teal, 10), @teal);
490
+ @blueRibbonShadow: if(iscolor(@blue), darken(@blue, 10), @blue);
491
+ @violetRibbonShadow: if(iscolor(@violet), darken(@violet, 10), @violet);
492
+ @purpleRibbonShadow: if(iscolor(@purple), darken(@purple, 10), @purple);
493
+ @pinkRibbonShadow: if(iscolor(@pink), darken(@pink, 10), @pink);
494
+ @brownRibbonShadow: if(iscolor(@brown), darken(@brown, 10), @brown);
495
+ @greyRibbonShadow: if(iscolor(@grey), darken(@grey, 10), @grey);
496
+ @blackRibbonShadow: if(iscolor(@black), darken(@black, 10), @black);
497
+
498
+ @primaryInvertedRibbonShadow: if(iscolor(@lightPrimaryColor), darken(@lightPrimaryColor, 10), @lightPrimaryColor);
499
+ @secondaryInvertedRibbonShadow: if(iscolor(@lightSecondaryColor), darken(@lightSecondaryColor, 10), @lightSecondaryColor);
500
+ @redInvertedRibbonShadow: if(iscolor(@lightRed), darken(@lightRed, 10), @lightRed);
501
+ @orangeInvertedRibbonShadow: if(iscolor(@lightOrange), darken(@lightOrange, 10), @lightOrange);
502
+ @yellowInvertedRibbonShadow: if(iscolor(@lightYellow), darken(@lightYellow, 10), @lightYellow);
503
+ @oliveInvertedRibbonShadow: if(iscolor(@lightOlive), darken(@lightOlive, 10), @lightOlive);
504
+ @greenInvertedRibbonShadow: if(iscolor(@lightGreen), darken(@lightGreen, 10), @lightGreen);
505
+ @tealInvertedRibbonShadow: if(iscolor(@lightTeal), darken(@lightTeal, 10), @lightTeal);
506
+ @blueInvertedRibbonShadow: if(iscolor(@lightBlue), darken(@lightBlue, 10), @lightBlue);
507
+ @violetInvertedRibbonShadow: if(iscolor(@lightViolet), darken(@lightViolet, 10), @lightViolet);
508
+ @purpleInvertedRibbonShadow: if(iscolor(@lightPurple), darken(@lightPurple, 10), @lightPurple);
509
+ @pinkInvertedRibbonShadow: if(iscolor(@lightPink), darken(@lightPink, 10), @lightPink);
510
+ @brownInvertedRibbonShadow: if(iscolor(@lightBrown), darken(@lightBrown, 10), @lightBrown);
511
+ @greyInvertedRibbonShadow: if(iscolor(@lightGrey), lighten(@lightGrey, 5), @lightGrey);
512
+ @blackInvertedRibbonShadow: if(iscolor(@lightBlack), lighten(@lightBlack, 5), @lightBlack);
513
513
 
514
514
  @textShadow: none;
515
515
  @invertedTextShadow: @textShadow;
@@ -1076,341 +1076,341 @@
1076
1076
  0 2px 10px 0 rgba(34, 36, 38, 0.25);
1077
1077
 
1078
1078
  /* --- Colors --- */
1079
- @primaryColorHover: saturate(darken(@primaryColor, 5), 10, relative);
1080
- @secondaryColorHover: saturate(lighten(@secondaryColor, 5), 10, relative);
1081
- @lightPrimaryColorHover: saturate(darken(@lightPrimaryColor, 10), 10, relative);
1082
- @lightSecondaryColorHover: saturate(lighten(@lightSecondaryColor, 10), 10, relative);
1083
-
1084
- @redHover: saturate(darken(@red, 5), 10, relative);
1085
- @orangeHover: saturate(darken(@orange, 5), 10, relative);
1086
- @yellowHover: saturate(darken(@yellow, 5), 10, relative);
1087
- @oliveHover: saturate(darken(@olive, 5), 10, relative);
1088
- @greenHover: saturate(darken(@green, 5), 10, relative);
1089
- @tealHover: saturate(darken(@teal, 5), 10, relative);
1090
- @blueHover: saturate(darken(@blue, 5), 10, relative);
1091
- @violetHover: saturate(darken(@violet, 5), 10, relative);
1092
- @purpleHover: saturate(darken(@purple, 5), 10, relative);
1093
- @pinkHover: saturate(darken(@pink, 5), 10, relative);
1094
- @brownHover: saturate(darken(@brown, 5), 10, relative);
1095
-
1096
- @lightRedHover: saturate(darken(@lightRed, 10), 10, relative);
1097
- @lightOrangeHover: saturate(darken(@lightOrange, 10), 10, relative);
1098
- @lightYellowHover: saturate(darken(@lightYellow, 10), 10, relative);
1099
- @lightOliveHover: saturate(darken(@lightOlive, 10), 10, relative);
1100
- @lightGreenHover: saturate(darken(@lightGreen, 10), 10, relative);
1101
- @lightTealHover: saturate(darken(@lightTeal, 10), 10, relative);
1102
- @lightBlueHover: saturate(darken(@lightBlue, 10), 10, relative);
1103
- @lightVioletHover: saturate(darken(@lightViolet, 10), 10, relative);
1104
- @lightPurpleHover: saturate(darken(@lightPurple, 10), 10, relative);
1105
- @lightPinkHover: saturate(darken(@lightPink, 10), 10, relative);
1106
- @lightBrownHover: saturate(darken(@lightBrown, 10), 10, relative);
1107
- @lightGreyHover: saturate(darken(@lightGrey, 10), 10, relative);
1108
- @lightBlackHover: saturate(darken(@fullBlack, 10), 10, relative);
1079
+ @primaryColorHover: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 5), 10, relative), @primaryColor);
1080
+ @secondaryColorHover: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 5), 10, relative), @secondaryColor);
1081
+ @lightPrimaryColorHover: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 10), 10, relative), @lightPrimaryColor);
1082
+ @lightSecondaryColorHover: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 10), 10, relative), @lightSecondaryColor);
1083
+
1084
+ @redHover: if(iscolor(@red), saturate(darken(@red, 5), 10, relative), @red);
1085
+ @orangeHover: if(iscolor(@orange), saturate(darken(@orange, 5), 10, relative), @orange);
1086
+ @yellowHover: if(iscolor(@yellow), saturate(darken(@yellow, 5), 10, relative), @yellow);
1087
+ @oliveHover: if(iscolor(@olive), saturate(darken(@olive, 5), 10, relative), @olive);
1088
+ @greenHover: if(iscolor(@green), saturate(darken(@green, 5), 10, relative), @green);
1089
+ @tealHover: if(iscolor(@teal), saturate(darken(@teal, 5), 10, relative), @teal);
1090
+ @blueHover: if(iscolor(@blue), saturate(darken(@blue, 5), 10, relative), @blue);
1091
+ @violetHover: if(iscolor(@violet), saturate(darken(@violet, 5), 10, relative), @violet);
1092
+ @purpleHover: if(iscolor(@purple), saturate(darken(@purple, 5), 10, relative), @purple);
1093
+ @pinkHover: if(iscolor(@pink), saturate(darken(@pink, 5), 10, relative), @pink);
1094
+ @brownHover: if(iscolor(@brown), saturate(darken(@brown, 5), 10, relative), @brown);
1095
+
1096
+ @lightRedHover: if(iscolor(@lightRed), saturate(darken(@lightRed, 10), 10, relative), @lightRed);
1097
+ @lightOrangeHover: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 10), 10, relative), @lightOrange);
1098
+ @lightYellowHover: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 10), 10, relative), @lightYellow);
1099
+ @lightOliveHover: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 10), 10, relative), @lightOlive);
1100
+ @lightGreenHover: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 10), 10, relative), @lightGreen);
1101
+ @lightTealHover: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 10), 10, relative), @lightTeal);
1102
+ @lightBlueHover: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 10), 10, relative), @lightBlue);
1103
+ @lightVioletHover: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 10), 10, relative), @lightViolet);
1104
+ @lightPurpleHover: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 10), 10, relative), @lightPurple);
1105
+ @lightPinkHover: if(iscolor(@lightPink), saturate(darken(@lightPink, 10), 10, relative), @lightPink);
1106
+ @lightBrownHover: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 10), 10, relative), @lightBrown);
1107
+ @lightGreyHover: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 10), 10, relative), @lightGrey);
1108
+ @lightBlackHover: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 10), 10, relative), @fullBlack);
1109
1109
 
1110
1110
  /* --- Emotive --- */
1111
- @positiveColorHover: saturate(darken(@positiveColor, 5), 10, relative);
1112
- @negativeColorHover: saturate(darken(@negativeColor, 5), 10, relative);
1111
+ @positiveColorHover: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 5), 10, relative), @positiveColor);
1112
+ @negativeColorHover: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 5), 10, relative), @negativeColor);
1113
1113
 
1114
1114
  /* --- Brand --- */
1115
- @facebookHoverColor: saturate(darken(@facebookColor, 5), 10, relative);
1116
- @twitterHoverColor: saturate(darken(@twitterColor, 5), 10, relative);
1117
- @googlePlusHoverColor: saturate(darken(@googlePlusColor, 5), 10, relative);
1118
- @linkedInHoverColor: saturate(darken(@linkedInColor, 5), 10, relative);
1119
- @youtubeHoverColor: saturate(darken(@youtubeColor, 5), 10, relative);
1120
- @instagramHoverColor: saturate(darken(@instagramColor, 5), 10, relative);
1121
- @pinterestHoverColor: saturate(darken(@pinterestColor, 5), 10, relative);
1122
- @vkHoverColor: saturate(darken(@vkColor, 5), 10, relative);
1123
- @telegramHoverColor: saturate(darken(@telegramColor, 5), 10, relative);
1124
- @whatsAppHoverColor: saturate(darken(@whatsAppColor, 5), 10, relative);
1115
+ @facebookHoverColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 5), 10, relative), @facebookColor);
1116
+ @twitterHoverColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 5), 10, relative), @twitterColor);
1117
+ @googlePlusHoverColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 5), 10, relative), @googlePlusColor);
1118
+ @linkedInHoverColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 5), 10, relative), @linkedInColor);
1119
+ @youtubeHoverColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 5), 10, relative), @youtubeColor);
1120
+ @instagramHoverColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 5), 10, relative), @instagramColor);
1121
+ @pinterestHoverColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 5), 10, relative), @pinterestColor);
1122
+ @vkHoverColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 5), 10, relative), @vkColor);
1123
+ @telegramHoverColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 5), 10, relative), @telegramColor);
1124
+ @whatsAppHoverColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 5), 10, relative), @whatsAppColor);
1125
1125
 
1126
1126
  /* --- Dark Tones --- */
1127
- @fullBlackHover: lighten(@fullBlack, 5);
1128
- @blackHover: lighten(@black, 5);
1129
- @greyHover: lighten(@grey, 5);
1127
+ @fullBlackHover: if(iscolor(@fullBlack), lighten(@fullBlack, 5), @fullBlack);
1128
+ @blackHover: if(iscolor(@black), lighten(@black, 5), @black);
1129
+ @greyHover: if(iscolor(@grey), lighten(@grey, 5), @grey);
1130
1130
 
1131
1131
  /* --- Light Tones --- */
1132
- @whiteHover: darken(@white, 5);
1133
- @offWhiteHover: darken(@offWhite, 5);
1134
- @darkWhiteHover: darken(@darkWhite, 5);
1132
+ @whiteHover: if(iscolor(@white), darken(@white, 5), @white);
1133
+ @offWhiteHover: if(iscolor(@offWhite), darken(@offWhite, 5), @offWhite);
1134
+ @darkWhiteHover: if(iscolor(@darkWhite), darken(@darkWhite, 5), @darkWhite);
1135
1135
 
1136
1136
  /* -------------------
1137
1137
  Focus
1138
1138
  -------------------- */
1139
1139
 
1140
1140
  /* --- Colors --- */
1141
- @primaryColorFocus: saturate(darken(@primaryColor, 8), 20, relative);
1142
- @secondaryColorFocus: saturate(lighten(@secondaryColor, 8), 20, relative);
1143
- @lightPrimaryColorFocus: saturate(darken(@lightPrimaryColor, 8), 20, relative);
1144
- @lightSecondaryColorFocus: saturate(lighten(@lightSecondaryColor, 8), 20, relative);
1145
-
1146
- @redFocus: saturate(darken(@red, 8), 20, relative);
1147
- @orangeFocus: saturate(darken(@orange, 8), 20, relative);
1148
- @yellowFocus: saturate(darken(@yellow, 8), 20, relative);
1149
- @oliveFocus: saturate(darken(@olive, 8), 20, relative);
1150
- @greenFocus: saturate(darken(@green, 8), 20, relative);
1151
- @tealFocus: saturate(darken(@teal, 8), 20, relative);
1152
- @blueFocus: saturate(darken(@blue, 8), 20, relative);
1153
- @violetFocus: saturate(darken(@violet, 8), 20, relative);
1154
- @purpleFocus: saturate(darken(@purple, 8), 20, relative);
1155
- @pinkFocus: saturate(darken(@pink, 8), 20, relative);
1156
- @brownFocus: saturate(darken(@brown, 8), 20, relative);
1157
-
1158
- @lightRedFocus: saturate(darken(@lightRed, 8), 20, relative);
1159
- @lightOrangeFocus: saturate(darken(@lightOrange, 8), 20, relative);
1160
- @lightYellowFocus: saturate(darken(@lightYellow, 8), 20, relative);
1161
- @lightOliveFocus: saturate(darken(@lightOlive, 8), 20, relative);
1162
- @lightGreenFocus: saturate(darken(@lightGreen, 8), 20, relative);
1163
- @lightTealFocus: saturate(darken(@lightTeal, 8), 20, relative);
1164
- @lightBlueFocus: saturate(darken(@lightBlue, 8), 20, relative);
1165
- @lightVioletFocus: saturate(darken(@lightViolet, 8), 20, relative);
1166
- @lightPurpleFocus: saturate(darken(@lightPurple, 8), 20, relative);
1167
- @lightPinkFocus: saturate(darken(@lightPink, 8), 20, relative);
1168
- @lightBrownFocus: saturate(darken(@lightBrown, 8), 20, relative);
1169
- @lightGreyFocus: saturate(darken(@lightGrey, 8), 20, relative);
1170
- @lightBlackFocus: saturate(darken(@fullBlack, 8), 20, relative);
1141
+ @primaryColorFocus: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 8), 20, relative), @primaryColor);
1142
+ @secondaryColorFocus: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 8), 20, relative), @secondaryColor);
1143
+ @lightPrimaryColorFocus: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 8), 20, relative), @lightPrimaryColor);
1144
+ @lightSecondaryColorFocus: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 8), 20, relative), @lightSecondaryColor);
1145
+
1146
+ @redFocus: if(iscolor(@red), saturate(darken(@red, 8), 20, relative), @red);
1147
+ @orangeFocus: if(iscolor(@orange), saturate(darken(@orange, 8), 20, relative), @orange);
1148
+ @yellowFocus: if(iscolor(@yellow), saturate(darken(@yellow, 8), 20, relative), @yellow);
1149
+ @oliveFocus: if(iscolor(@olive), saturate(darken(@olive, 8), 20, relative), @olive);
1150
+ @greenFocus: if(iscolor(@green), saturate(darken(@green, 8), 20, relative), @green);
1151
+ @tealFocus: if(iscolor(@teal), saturate(darken(@teal, 8), 20, relative), @teal);
1152
+ @blueFocus: if(iscolor(@blue), saturate(darken(@blue, 8), 20, relative), @blue);
1153
+ @violetFocus: if(iscolor(@violet), saturate(darken(@violet, 8), 20, relative), @violet);
1154
+ @purpleFocus: if(iscolor(@purple), saturate(darken(@purple, 8), 20, relative), @purple);
1155
+ @pinkFocus: if(iscolor(@pink), saturate(darken(@pink, 8), 20, relative), @pink);
1156
+ @brownFocus: if(iscolor(@brown), saturate(darken(@brown, 8), 20, relative), @brown);
1157
+
1158
+ @lightRedFocus: if(iscolor(@lightRed), saturate(darken(@lightRed, 8), 20, relative), @lightRed);
1159
+ @lightOrangeFocus: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 8), 20, relative), @lightOrange);
1160
+ @lightYellowFocus: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 8), 20, relative), @lightYellow);
1161
+ @lightOliveFocus: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 8), 20, relative), @lightOlive);
1162
+ @lightGreenFocus: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 8), 20, relative), @lightGreen);
1163
+ @lightTealFocus: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 8), 20, relative), @lightTeal);
1164
+ @lightBlueFocus: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 8), 20, relative), @lightBlue);
1165
+ @lightVioletFocus: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 8), 20, relative), @lightViolet);
1166
+ @lightPurpleFocus: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 8), 20, relative), @lightPurple);
1167
+ @lightPinkFocus: if(iscolor(@lightPink), saturate(darken(@lightPink, 8), 20, relative), @lightPink);
1168
+ @lightBrownFocus: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 8), 20, relative), @lightBrown);
1169
+ @lightGreyFocus: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 8), 20, relative), @lightGrey);
1170
+ @lightBlackFocus: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 8), 20, relative), @fullBlack);
1171
1171
 
1172
1172
  /* --- Emotive --- */
1173
- @positiveColorFocus: saturate(darken(@positiveColor, 8), 20, relative);
1174
- @negativeColorFocus: saturate(darken(@negativeColor, 8), 20, relative);
1173
+ @positiveColorFocus: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 8), 20, relative), @positiveColor);
1174
+ @negativeColorFocus: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 8), 20, relative), @negativeColor);
1175
1175
 
1176
1176
  /* --- Brand --- */
1177
- @facebookFocusColor: saturate(darken(@facebookColor, 8), 20, relative);
1178
- @twitterFocusColor: saturate(darken(@twitterColor, 8), 20, relative);
1179
- @googlePlusFocusColor: saturate(darken(@googlePlusColor, 8), 20, relative);
1180
- @linkedInFocusColor: saturate(darken(@linkedInColor, 8), 20, relative);
1181
- @youtubeFocusColor: saturate(darken(@youtubeColor, 8), 20, relative);
1182
- @instagramFocusColor: saturate(darken(@instagramColor, 8), 20, relative);
1183
- @pinterestFocusColor: saturate(darken(@pinterestColor, 8), 20, relative);
1184
- @vkFocusColor: saturate(darken(@vkColor, 8), 20, relative);
1185
- @telegramFocusColor: saturate(darken(@telegramColor, 8), 20, relative);
1186
- @whatsAppFocusColor: saturate(darken(@whatsAppColor, 8), 20, relative);
1177
+ @facebookFocusColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 8), 20, relative), @facebookColor);
1178
+ @twitterFocusColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 8), 20, relative), @twitterColor);
1179
+ @googlePlusFocusColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 8), 20, relative), @googlePlusColor);
1180
+ @linkedInFocusColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 8), 20, relative), @linkedInColor);
1181
+ @youtubeFocusColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 8), 20, relative), @youtubeColor);
1182
+ @instagramFocusColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 8), 20, relative), @instagramColor);
1183
+ @pinterestFocusColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 8), 20, relative), @pinterestColor);
1184
+ @vkFocusColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 8), 20, relative), @vkColor);
1185
+ @telegramFocusColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 8), 20, relative), @telegramColor);
1186
+ @whatsAppFocusColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 8), 20, relative), @whatsAppColor);
1187
1187
 
1188
1188
  /* --- Dark Tones --- */
1189
- @fullBlackFocus: lighten(@fullBlack, 8);
1190
- @blackFocus: lighten(@black, 8);
1191
- @greyFocus: lighten(@grey, 8);
1189
+ @fullBlackFocus: if(iscolor(@fullBlack), lighten(@fullBlack, 8), @fullBlack);
1190
+ @blackFocus: if(iscolor(@black), lighten(@black, 8), @black);
1191
+ @greyFocus: if(iscolor(@grey), lighten(@grey, 8), @grey);
1192
1192
 
1193
1193
  /* --- Light Tones --- */
1194
- @whiteFocus: darken(@white, 8);
1195
- @offWhiteFocus: darken(@offWhite, 8);
1196
- @darkWhiteFocus: darken(@darkWhite, 8);
1194
+ @whiteFocus: if(iscolor(@white), darken(@white, 8), @white);
1195
+ @offWhiteFocus: if(iscolor(@offWhite), darken(@offWhite, 8), @offWhite);
1196
+ @darkWhiteFocus: if(iscolor(@darkWhite), darken(@darkWhite, 8), @darkWhite);
1197
1197
 
1198
1198
  /* -------------------
1199
1199
  Down (:active)
1200
1200
  -------------------- */
1201
1201
 
1202
1202
  /* --- Colors --- */
1203
- @primaryColorDown: darken(@primaryColor, 10);
1204
- @secondaryColorDown: lighten(@secondaryColor, 10);
1205
- @lightPrimaryColorDown: darken(@lightPrimaryColor, 10);
1206
- @lightSecondaryColorDown: lighten(@lightSecondaryColor, 10);
1207
-
1208
- @redDown: darken(@red, 10);
1209
- @orangeDown: darken(@orange, 10);
1210
- @yellowDown: darken(@yellow, 10);
1211
- @oliveDown: darken(@olive, 10);
1212
- @greenDown: darken(@green, 10);
1213
- @tealDown: darken(@teal, 10);
1214
- @blueDown: darken(@blue, 10);
1215
- @violetDown: darken(@violet, 10);
1216
- @purpleDown: darken(@purple, 10);
1217
- @pinkDown: darken(@pink, 10);
1218
- @brownDown: darken(@brown, 10);
1219
-
1220
- @lightRedDown: darken(@lightRed, 10);
1221
- @lightOrangeDown: darken(@lightOrange, 10);
1222
- @lightYellowDown: darken(@lightYellow, 10);
1223
- @lightOliveDown: darken(@lightOlive, 10);
1224
- @lightGreenDown: darken(@lightGreen, 10);
1225
- @lightTealDown: darken(@lightTeal, 10);
1226
- @lightBlueDown: darken(@lightBlue, 10);
1227
- @lightVioletDown: darken(@lightViolet, 10);
1228
- @lightPurpleDown: darken(@lightPurple, 10);
1229
- @lightPinkDown: darken(@lightPink, 10);
1230
- @lightBrownDown: darken(@lightBrown, 10);
1231
- @lightGreyDown: darken(@lightGrey, 10);
1232
- @lightBlackDown: darken(@fullBlack, 10);
1203
+ @primaryColorDown: if(iscolor(@primaryColor), darken(@primaryColor, 10), @primaryColor);
1204
+ @secondaryColorDown: if(iscolor(@secondaryColor), lighten(@secondaryColor, 10), @secondaryColor);
1205
+ @lightPrimaryColorDown: if(iscolor(@lightPrimaryColor), darken(@lightPrimaryColor, 10), @lightPrimaryColor);
1206
+ @lightSecondaryColorDown: if(iscolor(@lightSecondaryColor), lighten(@lightSecondaryColor, 10), @lightSecondaryColor);
1207
+
1208
+ @redDown: if(iscolor(@red), darken(@red, 10), @red);
1209
+ @orangeDown: if(iscolor(@orange), darken(@orange, 10), @orange);
1210
+ @yellowDown: if(iscolor(@yellow), darken(@yellow, 10), @yellow);
1211
+ @oliveDown: if(iscolor(@olive), darken(@olive, 10), @olive);
1212
+ @greenDown: if(iscolor(@green), darken(@green, 10), @green);
1213
+ @tealDown: if(iscolor(@teal), darken(@teal, 10), @teal);
1214
+ @blueDown: if(iscolor(@blue), darken(@blue, 10), @blue);
1215
+ @violetDown: if(iscolor(@violet), darken(@violet, 10), @violet);
1216
+ @purpleDown: if(iscolor(@purple), darken(@purple, 10), @purple);
1217
+ @pinkDown: if(iscolor(@pink), darken(@pink, 10), @pink);
1218
+ @brownDown: if(iscolor(@brown), darken(@brown, 10), @brown);
1219
+
1220
+ @lightRedDown: if(iscolor(@lightRed), darken(@lightRed, 10), @lightRed);
1221
+ @lightOrangeDown: if(iscolor(@lightOrange), darken(@lightOrange, 10), @lightOrange);
1222
+ @lightYellowDown: if(iscolor(@lightYellow), darken(@lightYellow, 10), @lightYellow);
1223
+ @lightOliveDown: if(iscolor(@lightOlive), darken(@lightOlive, 10), @lightOlive);
1224
+ @lightGreenDown: if(iscolor(@lightGreen), darken(@lightGreen, 10), @lightGreen);
1225
+ @lightTealDown: if(iscolor(@lightTeal), darken(@lightTeal, 10), @lightTeal);
1226
+ @lightBlueDown: if(iscolor(@lightBlue), darken(@lightBlue, 10), @lightBlue);
1227
+ @lightVioletDown: if(iscolor(@lightViolet), darken(@lightViolet, 10), @lightViolet);
1228
+ @lightPurpleDown: if(iscolor(@lightPurple), darken(@lightPurple, 10), @lightPurple);
1229
+ @lightPinkDown: if(iscolor(@lightPink), darken(@lightPink, 10), @lightPink);
1230
+ @lightBrownDown: if(iscolor(@lightBrown), darken(@lightBrown, 10), @lightBrown);
1231
+ @lightGreyDown: if(iscolor(@lightGrey), darken(@lightGrey, 10), @lightGrey);
1232
+ @lightBlackDown: if(iscolor(@fullBlack), darken(@fullBlack, 10), @fullBlack);
1233
1233
 
1234
1234
  /* --- Emotive --- */
1235
- @positiveColorDown: darken(@positiveColor, 10);
1236
- @negativeColorDown: darken(@negativeColor, 10);
1235
+ @positiveColorDown: if(iscolor(@positiveColor), darken(@positiveColor, 10), @positiveColor);
1236
+ @negativeColorDown: if(iscolor(@negativeColor), darken(@negativeColor, 10), @negativeColor);
1237
1237
 
1238
1238
  /* --- Brand --- */
1239
- @facebookDownColor: darken(@facebookColor, 10);
1240
- @twitterDownColor: darken(@twitterColor, 10);
1241
- @googlePlusDownColor: darken(@googlePlusColor, 10);
1242
- @linkedInDownColor: darken(@linkedInColor, 10);
1243
- @youtubeDownColor: darken(@youtubeColor, 10);
1244
- @instagramDownColor: darken(@instagramColor, 10);
1245
- @pinterestDownColor: darken(@pinterestColor, 10);
1246
- @vkDownColor: darken(@vkColor, 10);
1247
- @telegramDownColor: darken(@telegramColor, 10);
1248
- @whatsAppDownColor: darken(@whatsAppColor, 10);
1239
+ @facebookDownColor: if(iscolor(@facebookColor), darken(@facebookColor, 10), @facebookColor);
1240
+ @twitterDownColor: if(iscolor(@twitterColor), darken(@twitterColor, 10), @twitterColor);
1241
+ @googlePlusDownColor: if(iscolor(@googlePlusColor), darken(@googlePlusColor, 10), @googlePlusColor);
1242
+ @linkedInDownColor: if(iscolor(@linkedInColor), darken(@linkedInColor, 10), @linkedInColor);
1243
+ @youtubeDownColor: if(iscolor(@youtubeColor), darken(@youtubeColor, 10), @youtubeColor);
1244
+ @instagramDownColor: if(iscolor(@instagramColor), darken(@instagramColor, 10), @instagramColor);
1245
+ @pinterestDownColor: if(iscolor(@pinterestColor), darken(@pinterestColor, 10), @pinterestColor);
1246
+ @vkDownColor: if(iscolor(@vkColor), darken(@vkColor, 10), @vkColor);
1247
+ @telegramDownColor: if(iscolor(@telegramColor), darken(@telegramColor, 10), @telegramColor);
1248
+ @whatsAppDownColor: if(iscolor(@whatsAppColor), darken(@whatsAppColor, 10), @whatsAppColor);
1249
1249
 
1250
1250
  /* --- Dark Tones --- */
1251
- @fullBlackDown: lighten(@fullBlack, 10);
1252
- @blackDown: lighten(@black, 10);
1253
- @greyDown: lighten(@grey, 10);
1251
+ @fullBlackDown: if(iscolor(@fullBlack), lighten(@fullBlack, 10), @fullBlack);
1252
+ @blackDown: if(iscolor(@black), lighten(@black, 10), @black);
1253
+ @greyDown: if(iscolor(@grey), lighten(@grey, 10), @grey);
1254
1254
 
1255
1255
  /* --- Light Tones --- */
1256
- @whiteDown: darken(@white, 10);
1257
- @offWhiteDown: darken(@offWhite, 10);
1258
- @darkWhiteDown: darken(@darkWhite, 10);
1256
+ @whiteDown: if(iscolor(@white), darken(@white, 10), @white);
1257
+ @offWhiteDown: if(iscolor(@offWhite), darken(@offWhite, 10), @offWhite);
1258
+ @darkWhiteDown: if(iscolor(@darkWhite), darken(@darkWhite, 10), @darkWhite);
1259
1259
 
1260
1260
  /* -------------------
1261
1261
  Active
1262
1262
  -------------------- */
1263
1263
 
1264
1264
  /* --- Colors --- */
1265
- @primaryColorActive: saturate(darken(@primaryColor, 5), 15, relative);
1266
- @secondaryColorActive: saturate(lighten(@secondaryColor, 5), 15, relative);
1267
- @lightPrimaryColorActive: saturate(darken(@lightPrimaryColor, 5), 15, relative);
1268
- @lightSecondaryColorActive: saturate(lighten(@lightSecondaryColor, 5), 15, relative);
1269
-
1270
- @redActive: saturate(darken(@red, 5), 15, relative);
1271
- @orangeActive: saturate(darken(@orange, 5), 15, relative);
1272
- @yellowActive: saturate(darken(@yellow, 5), 15, relative);
1273
- @oliveActive: saturate(darken(@olive, 5), 15, relative);
1274
- @greenActive: saturate(darken(@green, 5), 15, relative);
1275
- @tealActive: saturate(darken(@teal, 5), 15, relative);
1276
- @blueActive: saturate(darken(@blue, 5), 15, relative);
1277
- @violetActive: saturate(darken(@violet, 5), 15, relative);
1278
- @purpleActive: saturate(darken(@purple, 5), 15, relative);
1279
- @pinkActive: saturate(darken(@pink, 5), 15, relative);
1280
- @brownActive: saturate(darken(@brown, 5), 15, relative);
1281
-
1282
- @lightRedActive: saturate(darken(@lightRed, 5), 15, relative);
1283
- @lightOrangeActive: saturate(darken(@lightOrange, 5), 15, relative);
1284
- @lightYellowActive: saturate(darken(@lightYellow, 5), 15, relative);
1285
- @lightOliveActive: saturate(darken(@lightOlive, 5), 15, relative);
1286
- @lightGreenActive: saturate(darken(@lightGreen, 5), 15, relative);
1287
- @lightTealActive: saturate(darken(@lightTeal, 5), 15, relative);
1288
- @lightBlueActive: saturate(darken(@lightBlue, 5), 15, relative);
1289
- @lightVioletActive: saturate(darken(@lightViolet, 5), 15, relative);
1290
- @lightPurpleActive: saturate(darken(@lightPurple, 5), 15, relative);
1291
- @lightPinkActive: saturate(darken(@lightPink, 5), 15, relative);
1292
- @lightBrownActive: saturate(darken(@lightBrown, 5), 15, relative);
1293
- @lightGreyActive: saturate(darken(@lightGrey, 5), 15, relative);
1294
- @lightBlackActive: saturate(darken(@fullBlack, 5), 15, relative);
1265
+ @primaryColorActive: if(iscolor(@primaryColor), saturate(darken(@primaryColor, 5), 15, relative), @primaryColor);
1266
+ @secondaryColorActive: if(iscolor(@secondaryColor), saturate(lighten(@secondaryColor, 5), 15, relative), @secondaryColor);
1267
+ @lightPrimaryColorActive: if(iscolor(@lightPrimaryColor), saturate(darken(@lightPrimaryColor, 5), 15, relative), @lightPrimaryColor);
1268
+ @lightSecondaryColorActive: if(iscolor(@lightSecondaryColor), saturate(lighten(@lightSecondaryColor, 5), 15, relative), @lightSecondaryColor);
1269
+
1270
+ @redActive: if(iscolor(@red), saturate(darken(@red, 5), 15, relative), @red);
1271
+ @orangeActive: if(iscolor(@orange), saturate(darken(@orange, 5), 15, relative), @orange);
1272
+ @yellowActive: if(iscolor(@yellow), saturate(darken(@yellow, 5), 15, relative), @yellow);
1273
+ @oliveActive: if(iscolor(@olive), saturate(darken(@olive, 5), 15, relative), @olive);
1274
+ @greenActive: if(iscolor(@green), saturate(darken(@green, 5), 15, relative), @green);
1275
+ @tealActive: if(iscolor(@teal), saturate(darken(@teal, 5), 15, relative), @teal);
1276
+ @blueActive: if(iscolor(@blue), saturate(darken(@blue, 5), 15, relative), @blue);
1277
+ @violetActive: if(iscolor(@violet), saturate(darken(@violet, 5), 15, relative), @violet);
1278
+ @purpleActive: if(iscolor(@purple), saturate(darken(@purple, 5), 15, relative), @purple);
1279
+ @pinkActive: if(iscolor(@pink), saturate(darken(@pink, 5), 15, relative), @pink);
1280
+ @brownActive: if(iscolor(@brown), saturate(darken(@brown, 5), 15, relative), @brown);
1281
+
1282
+ @lightRedActive: if(iscolor(@lightRed), saturate(darken(@lightRed, 5), 15, relative), @lightRed);
1283
+ @lightOrangeActive: if(iscolor(@lightOrange), saturate(darken(@lightOrange, 5), 15, relative), @lightOrange);
1284
+ @lightYellowActive: if(iscolor(@lightYellow), saturate(darken(@lightYellow, 5), 15, relative), @lightYellow);
1285
+ @lightOliveActive: if(iscolor(@lightOlive), saturate(darken(@lightOlive, 5), 15, relative), @lightOlive);
1286
+ @lightGreenActive: if(iscolor(@lightGreen), saturate(darken(@lightGreen, 5), 15, relative), @lightGreen);
1287
+ @lightTealActive: if(iscolor(@lightTeal), saturate(darken(@lightTeal, 5), 15, relative), @lightTeal);
1288
+ @lightBlueActive: if(iscolor(@lightBlue), saturate(darken(@lightBlue, 5), 15, relative), @lightBlue);
1289
+ @lightVioletActive: if(iscolor(@lightViolet), saturate(darken(@lightViolet, 5), 15, relative), @lightViolet);
1290
+ @lightPurpleActive: if(iscolor(@lightPurple), saturate(darken(@lightPurple, 5), 15, relative), @lightPurple);
1291
+ @lightPinkActive: if(iscolor(@lightPink), saturate(darken(@lightPink, 5), 15, relative), @lightPink);
1292
+ @lightBrownActive: if(iscolor(@lightBrown), saturate(darken(@lightBrown, 5), 15, relative), @lightBrown);
1293
+ @lightGreyActive: if(iscolor(@lightGrey), saturate(darken(@lightGrey, 5), 15, relative), @lightGrey);
1294
+ @lightBlackActive: if(iscolor(@fullBlack), saturate(darken(@fullBlack, 5), 15, relative), @fullBlack);
1295
1295
 
1296
1296
  /* --- Emotive --- */
1297
- @positiveColorActive: saturate(darken(@positiveColor, 5), 15, relative);
1298
- @negativeColorActive: saturate(darken(@negativeColor, 5), 15, relative);
1297
+ @positiveColorActive: if(iscolor(@positiveColor), saturate(darken(@positiveColor, 5), 15, relative), @positiveColor);
1298
+ @negativeColorActive: if(iscolor(@negativeColor), saturate(darken(@negativeColor, 5), 15, relative), @negativeColor);
1299
1299
 
1300
1300
  /* --- Brand --- */
1301
- @facebookActiveColor: saturate(darken(@facebookColor, 5), 15, relative);
1302
- @twitterActiveColor: saturate(darken(@twitterColor, 5), 15, relative);
1303
- @googlePlusActiveColor: saturate(darken(@googlePlusColor, 5), 15, relative);
1304
- @linkedInActiveColor: saturate(darken(@linkedInColor, 5), 15, relative);
1305
- @youtubeActiveColor: saturate(darken(@youtubeColor, 5), 15, relative);
1306
- @instagramActiveColor: saturate(darken(@instagramColor, 5), 15, relative);
1307
- @pinterestActiveColor: saturate(darken(@pinterestColor, 5), 15, relative);
1308
- @vkActiveColor: saturate(darken(@vkColor, 5), 15, relative);
1309
- @telegramActiveColor: saturate(darken(@telegramColor, 5), 15, relative);
1310
- @whatsAppActiveColor: saturate(darken(@whatsAppColor, 5), 15, relative);
1301
+ @facebookActiveColor: if(iscolor(@facebookColor), saturate(darken(@facebookColor, 5), 15, relative), @facebookColor);
1302
+ @twitterActiveColor: if(iscolor(@twitterColor), saturate(darken(@twitterColor, 5), 15, relative), @twitterColor);
1303
+ @googlePlusActiveColor: if(iscolor(@googlePlusColor), saturate(darken(@googlePlusColor, 5), 15, relative), @googlePlusColor);
1304
+ @linkedInActiveColor: if(iscolor(@linkedInColor), saturate(darken(@linkedInColor, 5), 15, relative), @linkedInColor);
1305
+ @youtubeActiveColor: if(iscolor(@youtubeColor), saturate(darken(@youtubeColor, 5), 15, relative), @youtubeColor);
1306
+ @instagramActiveColor: if(iscolor(@instagramColor), saturate(darken(@instagramColor, 5), 15, relative), @instagramColor);
1307
+ @pinterestActiveColor: if(iscolor(@pinterestColor), saturate(darken(@pinterestColor, 5), 15, relative), @pinterestColor);
1308
+ @vkActiveColor: if(iscolor(@vkColor), saturate(darken(@vkColor, 5), 15, relative), @vkColor);
1309
+ @telegramActiveColor: if(iscolor(@telegramColor), saturate(darken(@telegramColor, 5), 15, relative), @telegramColor);
1310
+ @whatsAppActiveColor: if(iscolor(@whatsAppColor), saturate(darken(@whatsAppColor, 5), 15, relative), @whatsAppColor);
1311
1311
 
1312
1312
  /* --- Dark Tones --- */
1313
- @fullBlackActive: darken(@fullBlack, 5);
1314
- @blackActive: darken(@black, 5);
1315
- @greyActive: darken(@grey, 5);
1313
+ @fullBlackActive: if(iscolor(@fullBlack), darken(@fullBlack, 5), @fullBlack);
1314
+ @blackActive: if(iscolor(@black), darken(@black, 5), @black);
1315
+ @greyActive: if(iscolor(@grey), darken(@grey, 5), @grey);
1316
1316
 
1317
1317
  /* --- Light Tones --- */
1318
- @whiteActive: darken(@white, 5);
1319
- @offWhiteActive: darken(@offWhite, 5);
1320
- @darkWhiteActive: darken(@darkWhite, 5);
1318
+ @whiteActive: if(iscolor(@white), darken(@white, 5), @white);
1319
+ @offWhiteActive: if(iscolor(@offWhite), darken(@offWhite, 5), @offWhite);
1320
+ @darkWhiteActive: if(iscolor(@darkWhite), darken(@darkWhite, 5), @darkWhite);
1321
1321
 
1322
1322
  /* --- Tertiary --- */
1323
- @primaryTertiaryColor: saturate(@primaryColor, 20%);
1324
- @primaryTertiaryColorHover: desaturate(@primaryColorHover, 20%);
1325
- @primaryTertiaryColorFocus: desaturate(@primaryColorFocus, 20%);
1326
- @primaryTertiaryColorActive: saturate(@primaryColorActive, 20%);
1327
- @secondaryTertiaryColor: saturate(@secondaryColor, 20%);
1328
- @secondaryTertiaryColorHover: desaturate(@secondaryColorHover, 20%);
1329
- @secondaryTertiaryColorFocus: desaturate(@secondaryColorFocus, 20%);
1330
- @secondaryTertiaryColorActive: saturate(@secondaryColorActive, 20%);
1331
- @redTertiaryColor: saturate(@red, 20%);
1332
- @redTertiaryColorHover: desaturate(@redHover, 20%);
1333
- @redTertiaryColorFocus: desaturate(@redFocus, 20%);
1334
- @redTertiaryColorActive: saturate(@redActive, 20%);
1335
- @orangeTertiaryColor: saturate(@orange, 20%);
1336
- @orangeTertiaryColorHover: desaturate(@orangeHover, 20%);
1337
- @orangeTertiaryColorFocus: desaturate(@orangeFocus, 20%);
1338
- @orangeTertiaryColorActive: saturate(@orangeActive, 20%);
1339
- @yellowTertiaryColor: saturate(@yellow, 20%);
1340
- @yellowTertiaryColorHover: desaturate(@yellowHover, 20%);
1341
- @yellowTertiaryColorFocus: desaturate(@yellowFocus, 20%);
1342
- @yellowTertiaryColorActive: saturate(@yellowActive, 20%);
1343
- @oliveTertiaryColor: saturate(@olive, 20%);
1344
- @oliveTertiaryColorHover: desaturate(@oliveHover, 20%);
1345
- @oliveTertiaryColorFocus: desaturate(@oliveFocus, 20%);
1346
- @oliveTertiaryColorActive: saturate(@oliveActive, 20%);
1347
- @greenTertiaryColor: saturate(@green, 20%);
1348
- @greenTertiaryColorHover: desaturate(@greenHover, 20%);
1349
- @greenTertiaryColorFocus: desaturate(@greenFocus, 20%);
1350
- @greenTertiaryColorActive: saturate(@greenActive, 20%);
1351
- @tealTertiaryColor: saturate(@teal, 20%);
1352
- @tealTertiaryColorHover: desaturate(@tealHover, 20%);
1353
- @tealTertiaryColorFocus: desaturate(@tealFocus, 20%);
1354
- @tealTertiaryColorActive: saturate(@tealActive, 20%);
1355
- @blueTertiaryColor: saturate(@blue, 20%);
1356
- @blueTertiaryColorHover: desaturate(@blueHover, 20%);
1357
- @blueTertiaryColorFocus: desaturate(@blueFocus, 20%);
1358
- @blueTertiaryColorActive: saturate(@blueActive, 20%);
1359
- @violetTertiaryColor: saturate(@violet, 20%);
1360
- @violetTertiaryColorHover: desaturate(@violetHover, 20%);
1361
- @violetTertiaryColorFocus: desaturate(@violetFocus, 20%);
1362
- @violetTertiaryColorActive: saturate(@violetActive, 20%);
1363
- @purpleTertiaryColor: saturate(@purple, 20%);
1364
- @purpleTertiaryColorHover: desaturate(@purpleHover, 20%);
1365
- @purpleTertiaryColorFocus: desaturate(@purpleFocus, 20%);
1366
- @purpleTertiaryColorActive: saturate(@purpleActive, 20%);
1367
- @pinkTertiaryColor: saturate(@pink, 20%);
1368
- @pinkTertiaryColorHover: desaturate(@pinkHover, 20%);
1369
- @pinkTertiaryColorFocus: desaturate(@pinkFocus, 20%);
1370
- @pinkTertiaryColorActive: saturate(@pinkActive, 20%);
1371
- @brownTertiaryColor: saturate(@brown, 20%);
1372
- @brownTertiaryColorHover: desaturate(@brownHover, 20%);
1373
- @brownTertiaryColorFocus: desaturate(@brownFocus, 20%);
1374
- @brownTertiaryColorActive: saturate(@brownActive, 20%);
1375
- @greyTertiaryColor: darken(@grey, 5%);
1376
- @greyTertiaryColorHover: lighten(@greyHover, 5%);
1377
- @greyTertiaryColorFocus: lighten(@greyFocus, 8%);
1378
- @greyTertiaryColorActive: darken(@greyActive, 5%);
1379
- @blackTertiaryColor: lighten(@black, 20%);
1380
- @blackTertiaryColorHover: lighten(@blackHover, 40%);
1381
- @blackTertiaryColorFocus: lighten(@blackFocus, 40%);
1382
- @blackTertiaryColorActive: lighten(@blackActive, 20%);
1323
+ @primaryTertiaryColor: if(iscolor(@primaryColor), saturate(@primaryColor, 20%), @primaryColor);
1324
+ @primaryTertiaryColorHover: if(iscolor(@primaryColorHover), desaturate(@primaryColorHover, 20%), @primaryColorHover);
1325
+ @primaryTertiaryColorFocus: if(iscolor(@primaryColorFocus), desaturate(@primaryColorFocus, 20%), @primaryColorFocus);
1326
+ @primaryTertiaryColorActive: if(iscolor(@primaryColorActive), saturate(@primaryColorActive, 20%), @primaryColorActive);
1327
+ @secondaryTertiaryColor: if(iscolor(@secondaryColor), saturate(@secondaryColor, 20%), @secondaryColor);
1328
+ @secondaryTertiaryColorHover: if(iscolor(@secondaryColorHover), desaturate(@secondaryColorHover, 20%), @secondaryColorHover);
1329
+ @secondaryTertiaryColorFocus: if(iscolor(@secondaryColorFocus), desaturate(@secondaryColorFocus, 20%), @secondaryColorFocus);
1330
+ @secondaryTertiaryColorActive: if(iscolor(@secondaryColorActive), saturate(@secondaryColorActive, 20%), @secondaryColorActive);
1331
+ @redTertiaryColor: if(iscolor(@red), saturate(@red, 20%), @red);
1332
+ @redTertiaryColorHover: if(iscolor(@redHover), desaturate(@redHover, 20%), @redHover);
1333
+ @redTertiaryColorFocus: if(iscolor(@redFocus), desaturate(@redFocus, 20%), @redFocus);
1334
+ @redTertiaryColorActive: if(iscolor(@redActive), saturate(@redActive, 20%), @redActive);
1335
+ @orangeTertiaryColor: if(iscolor(@orange), saturate(@orange, 20%), @orange);
1336
+ @orangeTertiaryColorHover: if(iscolor(@orangeHover), desaturate(@orangeHover, 20%), @orangeHover);
1337
+ @orangeTertiaryColorFocus: if(iscolor(@orangeFocus), desaturate(@orangeFocus, 20%), @orangeFocus);
1338
+ @orangeTertiaryColorActive: if(iscolor(@orangeActive), saturate(@orangeActive, 20%), @orangeActive);
1339
+ @yellowTertiaryColor: if(iscolor(@yellow), saturate(@yellow, 20%), @yellow);
1340
+ @yellowTertiaryColorHover: if(iscolor(@yellowHover), desaturate(@yellowHover, 20%), @yellowHover);
1341
+ @yellowTertiaryColorFocus: if(iscolor(@yellowFocus), desaturate(@yellowFocus, 20%), @yellowFocus);
1342
+ @yellowTertiaryColorActive: if(iscolor(@yellowActive), saturate(@yellowActive, 20%), @yellowActive);
1343
+ @oliveTertiaryColor: if(iscolor(@olive), saturate(@olive, 20%), @olive);
1344
+ @oliveTertiaryColorHover: if(iscolor(@oliveHover), desaturate(@oliveHover, 20%), @oliveHover);
1345
+ @oliveTertiaryColorFocus: if(iscolor(@oliveFocus), desaturate(@oliveFocus, 20%), @oliveFocus);
1346
+ @oliveTertiaryColorActive: if(iscolor(@oliveActive), saturate(@oliveActive, 20%), @oliveActive);
1347
+ @greenTertiaryColor: if(iscolor(@green), saturate(@green, 20%), @green);
1348
+ @greenTertiaryColorHover: if(iscolor(@greenHover), desaturate(@greenHover, 20%), @greenHover);
1349
+ @greenTertiaryColorFocus: if(iscolor(@greenFocus), desaturate(@greenFocus, 20%), @greenFocus);
1350
+ @greenTertiaryColorActive: if(iscolor(@greenActive), saturate(@greenActive, 20%), @greenActive);
1351
+ @tealTertiaryColor: if(iscolor(@teal), saturate(@teal, 20%), @teal);
1352
+ @tealTertiaryColorHover: if(iscolor(@tealHover), desaturate(@tealHover, 20%), @tealHover);
1353
+ @tealTertiaryColorFocus: if(iscolor(@tealFocus), desaturate(@tealFocus, 20%), @tealFocus);
1354
+ @tealTertiaryColorActive: if(iscolor(@tealActive), saturate(@tealActive, 20%), @tealActive);
1355
+ @blueTertiaryColor: if(iscolor(@blue), saturate(@blue, 20%), @blue);
1356
+ @blueTertiaryColorHover: if(iscolor(@blueHover), desaturate(@blueHover, 20%), @blueHover);
1357
+ @blueTertiaryColorFocus: if(iscolor(@blueFocus), desaturate(@blueFocus, 20%), @blueFocus);
1358
+ @blueTertiaryColorActive: if(iscolor(@blueActive), saturate(@blueActive, 20%), @blueActive);
1359
+ @violetTertiaryColor: if(iscolor(@violet), saturate(@violet, 20%), @violet);
1360
+ @violetTertiaryColorHover: if(iscolor(@violetHover), desaturate(@violetHover, 20%), @violetHover);
1361
+ @violetTertiaryColorFocus: if(iscolor(@violetFocus), desaturate(@violetFocus, 20%), @violetFocus);
1362
+ @violetTertiaryColorActive: if(iscolor(@violetActive), saturate(@violetActive, 20%), @violetActive);
1363
+ @purpleTertiaryColor: if(iscolor(@purple), saturate(@purple, 20%), @purple);
1364
+ @purpleTertiaryColorHover: if(iscolor(@purpleHover), desaturate(@purpleHover, 20%), @purpleHover);
1365
+ @purpleTertiaryColorFocus: if(iscolor(@purpleFocus), desaturate(@purpleFocus, 20%), @purpleFocus);
1366
+ @purpleTertiaryColorActive: if(iscolor(@purpleActive), saturate(@purpleActive, 20%), @purpleActive);
1367
+ @pinkTertiaryColor: if(iscolor(@pink), saturate(@pink, 20%), @pink);
1368
+ @pinkTertiaryColorHover: if(iscolor(@pinkHover), desaturate(@pinkHover, 20%), @pinkHover);
1369
+ @pinkTertiaryColorFocus: if(iscolor(@pinkFocus), desaturate(@pinkFocus, 20%), @pinkFocus);
1370
+ @pinkTertiaryColorActive: if(iscolor(@pinkActive), saturate(@pinkActive, 20%), @pinkActive);
1371
+ @brownTertiaryColor: if(iscolor(@brown), saturate(@brown, 20%), @brown);
1372
+ @brownTertiaryColorHover: if(iscolor(@brownHover), desaturate(@brownHover, 20%), @brownHover);
1373
+ @brownTertiaryColorFocus: if(iscolor(@brownFocus), desaturate(@brownFocus, 20%), @brownFocus);
1374
+ @brownTertiaryColorActive: if(iscolor(@brownActive), saturate(@brownActive, 20%), @brownActive);
1375
+ @greyTertiaryColor: if(iscolor(@grey), darken(@grey, 5%), @grey);
1376
+ @greyTertiaryColorHover: if(iscolor(@greyHover), lighten(@greyHover, 5%), @greyHover);
1377
+ @greyTertiaryColorFocus: if(iscolor(@greyFocus), lighten(@greyFocus, 8%), @greyFocus);
1378
+ @greyTertiaryColorActive: if(iscolor(@greyActive), darken(@greyActive, 5%), @greyActive);
1379
+ @blackTertiaryColor: if(iscolor(@black), lighten(@black, 20%), @black);
1380
+ @blackTertiaryColorHover: if(iscolor(@blackHover), lighten(@blackHover, 40%), @blackHover);
1381
+ @blackTertiaryColorFocus: if(iscolor(@blackFocus), lighten(@blackFocus, 40%), @blackFocus);
1382
+ @blackTertiaryColorActive: if(iscolor(@blackActive), lighten(@blackActive, 20%), @blackActive);
1383
1383
 
1384
1384
  /* --- Bright --- */
1385
- @primaryBright: screen(@lightPrimaryColor, @blendingBaseColor);
1386
- @secondaryBright: screen(@lightSecondaryColor, @blendingBaseColor);
1387
- @redBright: screen(@lightRed, @blendingBaseColor);
1388
- @orangeBright: screen(@lightOrange, @blendingBaseColor);
1389
- @yellowBright: screen(@lightYellow, @blendingBaseColor);
1390
- @oliveBright: screen(@lightOlive, @blendingBaseColor);
1391
- @greenBright: screen(@lightGreen, @blendingBaseColor);
1392
- @tealBright: screen(@lightTeal, @blendingBaseColor);
1393
- @blueBright: screen(@lightBlue, @blendingBaseColor);
1394
- @violetBright: screen(@lightViolet, @blendingBaseColor);
1395
- @purpleBright: screen(@lightPurple, @blendingBaseColor);
1396
- @pinkBright: screen(@lightPink, @blendingBaseColor);
1397
- @brownBright: screen(@lightBrown, @blendingBaseColor);
1385
+ @primaryBright: if(iscolor(@lightPrimaryColor), screen(@lightPrimaryColor, @blendingBaseColor), @lightPrimaryColor);
1386
+ @secondaryBright: if(iscolor(@lightSecondaryColor), screen(@lightSecondaryColor, @blendingBaseColor), @lightSecondaryColor);
1387
+ @redBright: if(iscolor(@lightRed), screen(@lightRed, @blendingBaseColor), @lightRed);
1388
+ @orangeBright: if(iscolor(@lightOrange), screen(@lightOrange, @blendingBaseColor), @lightOrange);
1389
+ @yellowBright: if(iscolor(@lightYellow), screen(@lightYellow, @blendingBaseColor), @lightYellow);
1390
+ @oliveBright: if(iscolor(@lightOlive), screen(@lightOlive, @blendingBaseColor), @lightOlive);
1391
+ @greenBright: if(iscolor(@lightGreen), screen(@lightGreen, @blendingBaseColor), @lightGreen);
1392
+ @tealBright: if(iscolor(@lightTeal), screen(@lightTeal, @blendingBaseColor), @lightTeal);
1393
+ @blueBright: if(iscolor(@lightBlue), screen(@lightBlue, @blendingBaseColor), @lightBlue);
1394
+ @violetBright: if(iscolor(@lightViolet), screen(@lightViolet, @blendingBaseColor), @lightViolet);
1395
+ @purpleBright: if(iscolor(@lightPurple), screen(@lightPurple, @blendingBaseColor), @lightPurple);
1396
+ @pinkBright: if(iscolor(@lightPink), screen(@lightPink, @blendingBaseColor), @lightPink);
1397
+ @brownBright: if(iscolor(@lightBrown), screen(@lightBrown, @blendingBaseColor), @lightBrown);
1398
1398
  @greyBright: @lightGrey;
1399
1399
  @blackBright: @lightBlack;
1400
1400
 
1401
- @primaryBrightHover: screen(@lightPrimaryColorHover, @blendingBaseColor);
1402
- @secondaryBrightHover: screen(@lightSecondaryColorHover, @blendingBaseColor);
1403
- @redBrightHover: screen(@lightRedHover, @blendingBaseColor);
1404
- @orangeBrightHover: screen(@lightOrangeHover, @blendingBaseColor);
1405
- @yellowBrightHover: screen(@lightYellowHover, @blendingBaseColor);
1406
- @oliveBrightHover: screen(@lightOliveHover, @blendingBaseColor);
1407
- @greenBrightHover: screen(@lightGreenHover, @blendingBaseColor);
1408
- @tealBrightHover: screen(@lightTealHover, @blendingBaseColor);
1409
- @blueBrightHover: screen(@lightBlueHover, @blendingBaseColor);
1410
- @violetBrightHover: screen(@lightVioletHover, @blendingBaseColor);
1411
- @purpleBrightHover: screen(@lightPurpleHover, @blendingBaseColor);
1412
- @pinkBrightHover: screen(@lightPinkHover, @blendingBaseColor);
1413
- @brownBrightHover: screen(@lightBrownHover, @blendingBaseColor);
1401
+ @primaryBrightHover: if(iscolor(@lightPrimaryColorHover), screen(@lightPrimaryColorHover, @blendingBaseColor), @lightPrimaryColorHover);
1402
+ @secondaryBrightHover: if(iscolor(@lightSecondaryColorHover), screen(@lightSecondaryColorHover, @blendingBaseColor), @lightSecondaryColorHover);
1403
+ @redBrightHover: if(iscolor(@lightRedHover), screen(@lightRedHover, @blendingBaseColor), @lightRedHover);
1404
+ @orangeBrightHover: if(iscolor(@lightOrangeHover), screen(@lightOrangeHover, @blendingBaseColor), @lightOrangeHover);
1405
+ @yellowBrightHover: if(iscolor(@lightYellowHover), screen(@lightYellowHover, @blendingBaseColor), @lightYellowHover);
1406
+ @oliveBrightHover: if(iscolor(@lightOliveHover), screen(@lightOliveHover, @blendingBaseColor), @lightOliveHover);
1407
+ @greenBrightHover: if(iscolor(@lightGreenHover), screen(@lightGreenHover, @blendingBaseColor), @lightGreenHover);
1408
+ @tealBrightHover: if(iscolor(@lightTealHover), screen(@lightTealHover, @blendingBaseColor), @lightTealHover);
1409
+ @blueBrightHover: if(iscolor(@lightBlueHover), screen(@lightBlueHover, @blendingBaseColor), @lightBlueHover);
1410
+ @violetBrightHover: if(iscolor(@lightVioletHover), screen(@lightVioletHover, @blendingBaseColor), @lightVioletHover);
1411
+ @purpleBrightHover: if(iscolor(@lightPurpleHover), screen(@lightPurpleHover, @blendingBaseColor), @lightPurpleHover);
1412
+ @pinkBrightHover: if(iscolor(@lightPinkHover), screen(@lightPinkHover, @blendingBaseColor), @lightPinkHover);
1413
+ @brownBrightHover: if(iscolor(@lightBrownHover), screen(@lightBrownHover, @blendingBaseColor), @lightBrownHover);
1414
1414
  @greyBrightHover: @lightGreyHover;
1415
1415
  @blackBrightHover: @lightBlackHover;
1416
1416
 
@@ -1422,28 +1422,28 @@
1422
1422
  @formErrorColor: @negativeTextColor;
1423
1423
  @formErrorBorder: @negativeBorderColor;
1424
1424
  @formErrorBackground: @negativeBackgroundColor;
1425
- @formErrorLabelBackground: darken(@formErrorBorder, -8);
1425
+ @formErrorLabelBackground: if(iscolor(@formErrorBorder), darken(@formErrorBorder, -8), @formErrorBorder);
1426
1426
  @transparentFormErrorColor: @formErrorColor;
1427
1427
  @transparentFormErrorBackground: @formErrorBackground;
1428
1428
 
1429
1429
  @formInfoColor: @infoTextColor;
1430
1430
  @formInfoBorder: @infoBorderColor;
1431
1431
  @formInfoBackground: @infoBackgroundColor;
1432
- @formInfoLabelBackground: darken(@formInfoBorder, -8);
1432
+ @formInfoLabelBackground: if(iscolor(@formInfoBorder), darken(@formInfoBorder, -8), @formInfoBorder);
1433
1433
  @transparentFormInfoColor: @formInfoColor;
1434
1434
  @transparentFormInfoBackground: @formInfoBackground;
1435
1435
 
1436
1436
  @formSuccessColor: @positiveTextColor;
1437
1437
  @formSuccessBorder: @positiveBorderColor;
1438
1438
  @formSuccessBackground: @positiveBackgroundColor;
1439
- @formSuccessLabelBackground: darken(@formSuccessBorder, -8);
1439
+ @formSuccessLabelBackground: if(iscolor(@formSuccessBorder), darken(@formSuccessBorder, -8), @formSuccessBorder);
1440
1440
  @transparentFormSuccessColor: @formSuccessColor;
1441
1441
  @transparentFormSuccessBackground: @formSuccessBackground;
1442
1442
 
1443
1443
  @formWarningColor: @warningTextColor;
1444
1444
  @formWarningBorder: @warningBorderColor;
1445
1445
  @formWarningBackground: @warningBackgroundColor;
1446
- @formWarningLabelBackground: darken(@formWarningBorder, -8);
1446
+ @formWarningLabelBackground: if(iscolor(@formWarningBorder), darken(@formWarningBorder, -8), @formWarningBorder);
1447
1447
  @transparentFormWarningColor: @formWarningColor;
1448
1448
  @transparentFormWarningBackground: @formWarningBackground;
1449
1449
 
@@ -1525,14 +1525,14 @@
1525
1525
  @inputWarningFocusBoxShadow: none;
1526
1526
 
1527
1527
  /* Placeholder state */
1528
- @inputErrorPlaceholderColor: lighten(@formErrorColor, 40);
1529
- @inputErrorPlaceholderFocusColor: lighten(@formErrorColor, 30);
1528
+ @inputErrorPlaceholderColor: if(iscolor(@formErrorColor), lighten(@formErrorColor, 40), @formErrorColor);
1529
+ @inputErrorPlaceholderFocusColor: if(iscolor(@formErrorColor), lighten(@formErrorColor, 30), @formErrorColor);
1530
1530
 
1531
- @inputInfoPlaceholderColor: lighten(@formInfoColor, 40);
1532
- @inputInfoPlaceholderFocusColor: lighten(@formInfoColor, 30);
1531
+ @inputInfoPlaceholderColor: if(iscolor(@formInfoColor), lighten(@formInfoColor, 40), @formInfoColor);
1532
+ @inputInfoPlaceholderFocusColor: if(iscolor(@formInfoColor), lighten(@formInfoColor, 30), @formInfoColor);
1533
1533
 
1534
- @inputSuccessPlaceholderColor: lighten(@formSuccessColor, 40);
1535
- @inputSuccessPlaceholderFocusColor: lighten(@formSuccessColor, 30);
1534
+ @inputSuccessPlaceholderColor: if(iscolor(@formSuccessColor), lighten(@formSuccessColor, 40), @formSuccessColor);
1535
+ @inputSuccessPlaceholderFocusColor: if(iscolor(@formSuccessColor), lighten(@formSuccessColor, 30), @formSuccessColor);
1536
1536
 
1537
- @inputWarningPlaceholderColor: lighten(@formWarningColor, 40);
1538
- @inputWarningPlaceholderFocusColor: lighten(@formWarningColor, 30);
1537
+ @inputWarningPlaceholderColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 40), @formWarningColor);
1538
+ @inputWarningPlaceholderFocusColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 30), @formWarningColor);