Sha256: 1719e630934abfc11d951130fbca750c7d6b94e4eeeb5d0b9840137e61a6a0ff

Contents?: true

Size: 368 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-2.7.1 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-2.7.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-2.6.0 app/pb_kits/playbook/tokens/_positioning.scss
playbook_ui-2.5.0 app/pb_kits/playbook/tokens/_positioning.scss