Sha256: 91ff75179bc9e47d32b7fa24bd2564763f56a57ab6508f42ff00c91a8e06ac37

Contents?: true

Size: 904 Bytes

Versions: 2

Compression:

Stored size: 904 Bytes

Contents

@import "colors";
@import "opacity";

$shadow_none: 0 0 0 0 transparent;

/*
DEPRECATED - DO NOT USE! 
This targed to be removed in release v4.0.0.
[https://github.com/powerhome/playbook/issues/550]
*/
$shadow_shallow: 0 1px 1px 0 $shadow_light;
$shadow_default: 0 1px 5px 0 $shadow_light;
/* END DEPRECATED */

$shadow_deep: 0 4px 10px 0 rgba($shadow_light, 0.16);
$shadow_deeper: 0 12px 28px 0 rgba($shadow_light, 0.18);
$shadow_deepest: 0 30px 38px 4px $shadow_light, 0 2px 14px 4px rgba($shadow_light, 0.1);
$box_shadows: (
  shadow_none: $shadow_none,
  shadow_shallow: $shadow_shallow,
  shadow_default: $shadow_default,
  shadow_deep: $shadow_deep,
  shadow_deeper: $shadow_deeper,
  shadow_deepest: $shadow_deepest
);

:export {
  @mixin export_shadows($shadows_list) {
    @each $name, $settings in $shadows_list {
      #{$name}: $settings;
    }
  }
  @include export_shadows($box_shadows);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-3.5.0 app/pb_kits/playbook/tokens/_shadows.scss
playbook_ui-3.4.0 app/pb_kits/playbook/tokens/_shadows.scss