kassner@w:~/workspace/magento2$ bin/magento setup:static-content:deploy
Requested languages: en_US
=== frontend -> Magento/luma ->
....
Compilation from source:
frontend/Magento/luma/en_US/css/email-inline.less
variable @modal-slide-header__padding-vertical is undefined in file /home/kassner/workspace/magento2/var/view_preprocessed/css/frontend/Magento/luma/en_US/css/source/_theme.less in _theme.less on line 254, column 37
252| // Modal popup
253| @modal-action-close__font-size: @font-size__base;
254| @modal-slide-action-close__padding: @modal-slide-header__padding-vertical @modal-popup__padding;
255|
256| // Checkout tooltip icon
257| @checkout-tooltip-icon__font-size: 21px;>
Just remove/comment out the line 254 and the command exits with no errors.
Tested version: 2.0.0-rc
Had a white screen of death after commenting out that line. Cleared var/ and things appear to be working mostly except for the product pages.

Please delete again the var/* content
and make a
bin/magento setup:upgradebin/magento setup:static-content:deployOn catalog product page, /mage/gallery/gallery.css can't be created, same problem:
Compilation from source:
frontend/Magento/luma/en_US/mage/gallery/gallery.less
variable @modal-slide-header__padding-vertical is undefined in file /var/www/magento2/var/view_preprocessed/css/frontend/Magento/luma/en_US/css/source/_theme.less in _theme.less on line 254, column 37
252| // Modal popup
253| @modal-action-close__font-size: @font-size__base;
254| @modal-slide-action-close__padding: @modal-slide-header__padding-vertical @modal-popup__padding;
255|
256| // Checkout tooltip icon
257| @checkout-tooltip-icon__font-size: 21px;
If you click base image, or add multiple images to product, styling is broken, most likely because of this.
Hi, @kassner!
Internal ticket MAGETWO-45071
Hi, I am having the same issue. Do you have a quick fix to solve this? I tried to do:
My fix for the problem with the frontend product gallery: https://mage2.pro/t/188
My universal fix for all the 芦variable @modal-slide-header__padding-vertical is undefined禄 problems: https://mage2.pro/t/193
@kassner Internal ticket MAGETWO-45071 is closed and delivered to mainline. Please, let us know if you still have an issue.
I am getting error with setup:static-content:deploy
Compilation from source:
frontend/Magento/blank/en_US/css/styles-m.less
.lib-magento-reset is undefined in /var/www/project/var/view_preprocessed/css/frontend/Magento/blank/en_US/css/source/_reset.less>
Most helpful comment
I am getting error with setup:static-content:deploy