ingrammicro / puzzle-tokens

Batch create, manage and update Sketch styles and symbols using SCSS/LESS
GNU General Public License v3.0
92 stars 17 forks source link

When border-style is "none", apply no border style #31

Closed bigmediumjosh closed 4 years ago

bigmediumjosh commented 4 years ago

...and remove any existing border style if -pt-border-update is true.

Thanks for all you do! Enjoying the plugin...

MaxBazarov commented 4 years ago

if (updateBorder) sStyle.borders.pop();

If we want to remove all borders then probably it's better to use sStyle.borders = [] ?

MaxBazarov commented 4 years ago

Good! Thanks for your code.