Sha256: c5cf664d5baaf4d7f0c721d3a0e67919b5fbbd8b331fc8a4e794d8aee4fe0937

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

// z-index variables
$z-1: 100;
$z-2: 200;
$z-3: 300;
$z-4: 400;
$z-5: 500;
$z-6: 600;
$z-7: 700;
$z-8: 800;
$z-9: 900;
$z-10: 1000;

$z-layers: (
  "header": $z-10,
  "default": 0
);

@function z-index-for($layer) {
  @if not map-has-key($z-layers, $layer) {
    @error "No layer found for `#{$layer}` in $z-layers map.";
  }

  @return map-get($z-layers, $layer);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro_sg-3.0.2 sass-mixins/base-variables/_positioning.scss
nitro_sg-3.0.1 sass-mixins/base-variables/_positioning.scss