zurb / foundation-apps

The first front-end framework created for developing fully responsive web apps.
http://foundation.zurb.com/apps
MIT License
1.58k stars 216 forks source link

Deprecation Warning in default _modal.scss #744

Open hbroer opened 8 years ago

hbroer commented 8 years ago
[15:00:18] DEPRECATION WARNING on line 70 of _modal.scss:
The result of `0px != 0` will be `true` in future releases of Sass.
Unitless numbers will no longer be equal to the same numbers with units.

Maybe can befixed this way:

  @if null == index((0, 0px, none), $border) {
    border: $border;
  }
  @if null == index((0, 0px), $radius) {
    border-radius: $radius;
  }

or by setting default value to

$modal-radius: 0 !default;