/scss/partials/_danger.scss

https://github.com/ajanthanm/Buttons · Sass · 42 lines · 34 code · 1 blank · 7 comment · 15 complexity · f91ac6834b2295f733e65465983cda52 MD5 · raw file

  1. //////////////////////////////////////////////////////////
  2. // BUILD TYPES (don't edit this!) ///////////////////////
  3. //////////////////////////////////////////////////////////
  4. // Purpose of this file is to set global flags for which
  5. // types we'll include in our final css build or not.
  6. $unicorn-btn-build-glow: false;
  7. $unicorn-btn-build-dropdown: false;
  8. $unicorn-btn-build-rounded: false;
  9. $unicorn-btn-build-pill: false;
  10. $unicorn-btn-build-circle: false;
  11. $unicorn-btn-build-flat: false;
  12. $unicorn-btn-build-3d: false;
  13. $unicorn-btn-build-border: false;
  14. // For all types provided by user we mark true
  15. @each $unicorn-btn-type in $unicorn-btn-types {
  16. @if $unicorn-btn-type == 'glow' {
  17. $unicorn-btn-build-glow: true;
  18. }
  19. @else if $unicorn-btn-type == 'dropdown' {
  20. $unicorn-btn-build-dropdown: true;
  21. }
  22. @else if $unicorn-btn-type == 'rounded' {
  23. $unicorn-btn-build-rounded: true;
  24. }
  25. @else if $unicorn-btn-type == 'pill' {
  26. $unicorn-btn-build-pill: true;
  27. }
  28. @else if $unicorn-btn-type == 'circle' {
  29. $unicorn-btn-build-circle: true;
  30. }
  31. @else if $unicorn-btn-type == 'flat' {
  32. $unicorn-btn-build-flat: true;
  33. }
  34. @else if $unicorn-btn-type == 'border' {
  35. $unicorn-btn-build-border: true;
  36. }
  37. @else if $unicorn-btn-type == '3d' {
  38. $unicorn-btn-build-3d: true;
  39. }
  40. }
  41. //@debug "$unicorn-btn-build-glow is #{$unicorn-btn-build-glow}";