// MAIN Extended GENERATOR

// If $map does not exists before including `x` will throw an error
@mixin xsass(
) {
  @if not global-variable-exists(susy) {
    @error "Create a `$susy: (column: 12, gutters: 1/4 ... )` map before `@including xsass()`";
  }
  @if not global-variable-exists(breakpoints) {
    @error "Create a `$breakpoints: (small: 40em, medium: 64em ... )` map before `@including xsass()`";
  }
  @if not global-variable-exists(colors) {
    @error "Create a `$colors: ( main: (base: #fff, dark: #000 ... ))` map before `@including xsass()`";
  }

  // Media Generator
  @include extender-media-generator() {
    @include displayGenerator;
    @include flexGenerator;
    @include gridGenerator;
  }

}
